[OSM-talk] Downloading map images (update to MapOf)
Stefan Baebler
stefan.baebler at gmail.com
Fri May 23 07:40:23 BST 2008
OJ W wrote:
> http://dev.openstreetmap.org/~ojw/GetMap/layers_xml.php
>>> http://dev.openstreetmap.org/~ojw/GetMap/layers_source.php
>>> i.e. a list of free tileservers. Are there any layers we should
>>> add/remove from that list? Are the fields sufficient for other
>>> peoples' uses?
few minor improvements:
- Add trailing slash in the URL of osmarender tiles
<tag k="tiles" v="http://tah.openstreetmap.org/Tiles/tile"/>
to have it written uniformly
- minZoom (defaulting 1) & maxZoom levels (mapnik vs. osmarender tiles)
- bbox (if limited to not cover whole world, such as slovakia)
- slippy URLs could include layers parameter to go directly to that
layer in browser
Maybe adding lat, lon & zoom parameters would also go to specific
location...khm, but parameter namse can differ over sites, so it would
have to be sth like
http://www.openstreetmap.org/?lat={lat}&lon={lon}&zoom={zoom}&layers=0BFT
but that won't work if parameters are not known (url
http://www.openstreetmap.org/?lat=&lon=&zoom=&layers=0BFT shows nothing)
, so they'd need to be taken out or have all that info in an additional
parameter named slippyPermalink or so.
(eg i want my phone to send permalinks, not just coordinates, so that
recipient can go directly to my cycling/skiing/road map and see my
whereabouts).
Permalink URLs accepting degrees or some arbitrary openlayers units as
parameters is another issue, out of the scope here.
Is that stored in some db? It could be put in main db as nodes tagged
with config=slippy_map_layer and all other keys? Clients could then
fetch it from osmxapi ... that would be convinient, but abusing the main
DB and opening clients to abuse by editors :)
Probably having it in SVN is better than abusing the DB.
Stefan
More information about the talk
mailing list