NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

My goal is to pull every single tile (by tile, I mean the rendered square images that are loaded as you scroll through the map) of the fully zoomed cycle map, and save them as a separate file onto my computer. I plan to use the height maps provided as a means to generate my own "Tactical" map for an opensource online game that I am developing. My basic plan is to do a basic

if color of top left pixel == "e7da81":
   set height to 86
elif color of top left pixel == "e7da82":
   set height to 87

(Ugly code? Yes, but it doesnt need to be quick; just functional.)

asked 06 Mar '13, 02:24

Akiva's gravatar image

accept rate: 0%

edited 06 Mar '13, 03:01

First of all, DON'T EVEN TRY TO DO THIS. Read the Tile Usage Policy.

Tile scraping imposes a very high load on servers and will result in your IP address being blocked. CycleMap is owned and run by a private individual who may have to meet server costs from his own income.

Second, if you want a large volume of tiles, you must generate your own, or pay someone for them.

If, as it appears from my reading of your question, you merely want tiles with contour lines, then it is fairly simple to generate your own (although for the whole world this will take a long time & lots of disk space). SRTM data can be downloaded and there are many tools for manipulating it.

Note that most tiled maps do not render more than a very small fraction of the most detailed tiles.

permanent link

answered 06 Mar '13, 09:26

SK53's gravatar image

SK53 ♦
accept rate: 22%


That was very helpful. Two follow up questions; How large do you suppose the repository of tiles would be? How much do you suppose is reasonable to pay the for a mass download?

(06 Mar '13, 16:49) Akiva

A quick look at this table will tell you how many tiles make up the world at each level: With 68 700 million tiles at level 18 in a naive implementation you need that many file handles in your system and anywhere from a few hundred bytes / tile. I think you want to think about alternatives.

(06 Mar '13, 17:13) SK53 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 06 Mar '13, 02:24

question was seen: 10,314 times

last updated: 06 Mar '13, 17:13

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum