Friday, 10 August 2018

openstreetmap - How to Determine to world map size in pixel given this data?


How to Determine the world map size in pixels given this data?



Map size of a particular area say, for example:


Makati city, Philippines with bounds:


Top-Right: 121.0281, 14.56497


Bottom-Left: 121.0144, 14.54637


Image size: width="4095px" height="4095px"


Scale: at zoom level 17 | 1:4,000


Now my question is... how can I know the size of the world map in pixels using these available data?


I'm still new to geographic information systems.... so please if possible make it understandable for a novice like me... :)



Answer



You have tagged your question with OpenStreetMap, so I am assuming you are interested in the data in OSM's zoom levels.



Please have a look at: Zoom Levels


Usually you would not look at the whole world, at the same zoom level, as you would a small city. Your example is at zoom level 17, which has a scale of 1:4000.


You would look at the world either at zoom level 1 or 2.


This is because, at higher zoom levels, a humungous number of tiles would be required. How many you ask? Look at this page: Tile Disk Usage


You will see that at zoom level 17, there are 17,179,869,184 tiles, out of which 429,535,936 have been seen so far. Each is 256 by 256 pixels. And that is a lot of pixels.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...