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

Hi I have a dumb question maybe because I don't really understand how the generation of tiles depending on the minLon,MinLat, MaxLon,MaxLat numbers?

How to calculate

/folderNumber(Zoom) /FolderNumber tileNumber

???

asked 06 Sep '13, 14:28

Gevork's gravatar image

Gevork
234121422
accept rate: 0%

Are you talking about in the context of something like "generate_tiles.py" or in some other context?

(06 Sep '13, 15:22) SomeoneElse ♦

I am talking overall.

(06 Sep '13, 16:41) Gevork

Er what? Perhaps it would help if you could explain what exactly it is that you are trying to do.

(06 Sep '13, 17:08) SomeoneElse ♦
1

I am trying in rhomobile(ruby mobile app framework) write a mechanism of tile caching for a given bbox

(06 Sep '13, 17:12) Gevork

Starting in the OSM wiki about Tiles ... there is a link to Slippy_map_tilenames

Tell us if you cannot a solution though.

permanent link

answered 06 Sep '13, 15:12

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

hi @Stephan75, I have saw those earlier, but the problem is I don't understand how much to cicle for each zoom to get next tile? -74.25909,40.477399,-73.700172,40.917577. Lets say 40.477399-40.917577 . For each zoom level loop how much should be the step value ? (0.001 ? 0.002? ) . I would be very greatfull if somebody will provide an example on perl or php ...

(06 Sep '13, 15:58) Gevork
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×710
×287

question asked: 06 Sep '13, 14:28

question was seen: 5,557 times

last updated: 06 Sep '13, 17:12

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