[OpenStreetMap] #5018: what are the coordinates of a generated .PNG map
OpenStreetMap
trac at noreply.openstreetmap.org
Wed Oct 23 05:44:15 UTC 2013
#5018: what are the coordinates of a generated .PNG map
----------------------------+------------------------------------------
Reporter: james_7114737 | Owner: rails-dev@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: website | Version:
Resolution: | Keywords: static map image coordinates
----------------------------+------------------------------------------
Comment (by woodpeck):
If your application would do the calculations (which tiles required for
the static map in question) and then download these tiles and combine them
into an image itself, then you wouldn't need the custom rendering
capabilities of the web site and your application would be more resource
friendly. Your application would still have to abide by the aforementioned
tile usage policy, and take care not to run afoul of bulk downloading
rules. There are some "static map" scripts out there that already do the
maths, or you could check out
http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames for code about how
to get from coordinates to tile numbers.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/5018#comment:6>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list