Skip to content

How to calculate the Grab Maps tile cost?

0

"Hello, I apologize for my poor English. I want to use the AWS location service, particularly to retrieve maps, and I noticed that they use OpenStreetMap. However, I'm still confused about the costs. I found information about tiles on the map like this.

https://docs.aws.amazon.com/location/latest/APIReference/API_GetMapTile.html

in the article they said "so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1)."

I found information about zoom levels in this link.

https://wiki.openstreetmap.org/wiki/Zoom_levels

If I want zoom level 16, it means I will get 4,294,967,296 tiles. According to the information, tile costs are charged per 1,000 tiles, with a charge of $0.40 per 1,000 tiles. But based on the data provided by OpenStreetMap, if we use zoom level 16, there will be 4,294,967,296 tiles. Then I used the AWS calculator:

https://calculator.aws/#/addService/LocationService

and the result assuming 1,000 hits per month with zoom level 16 is: Map tiles retrieved (Vector or Raster): 4,294,967,296,000 per month * 1,000 multiplier = 4,294,967,296,000,000 per month Pricing calculations: 4,294,967,296,000,000 Map tiles retrieved per month x 0.00004 USD = 171,798,691.84 USD per month Map tile retrieval cost (monthly): 171,798,691.84 USD

In my opinion, there seems to be an error in the calculation, and this doesn't even account for users scrolling to view other positions. Can you please clarify how it should be? Thank you all..."

Please note that I've translated your message as accurately as possible, but there may be some minor errors or inconsistencies due to language differences.

2 Answers
0

Hi, You will not pay for the tiles of the whole world on each request: you'll just pay for the tiles of the location that you view. So, usually, it not more than a few tens of tiles per user request.

You should read the various examples of https://aws.amazon.com/location/pricing/ to better understand how AWS locations is charged.

Hope it helps!

Didier

EXPERT
answered 3 years ago
0

Here's a helpful tool (https://docs.mapbox.com/playground/offline-estimator/) that demonstrates how map tiles are loaded when a user interacts with the map, such as zooming in/out or moving to different areas.

Click "show tile boundaries" in the top right corner of the map for better visualization of the tiles. The tool does display the estimated number of tiles required for different zoom levels.

For example, if you want to display a map on a mobile device screen at zoom level 16 for the initial load (without panning or zooming), it would likely only require 4-6 tiles.

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.