Re: [OSM-talk] Downloading map images (update to MapOf)

2008-05-23 Thread Stefan Baebler
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

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Downloading map images (update to MapOf)

2008-05-18 Thread OJ W
of course:

http://dev.openstreetmap.org/~ojw/GetMap/layers_xml.php

apologies for the confusion over country names!



On Sun, May 18, 2008 at 5:56 AM, Stefan Baebler
[EMAIL PROTECTED] wrote:
 OJ W wrote:

 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?


 Ehm...

   slovenia = Array(
 tiles =http://www.freemap.sk/layers/allinone/?/;,
 description=Slovenian localisation of OSM,
 update=,
 license=CC-BY-SA 2.0,
 source=OpenStreetMap,
 hosted=OpenStreetMap Slovenia,
 format=png,
 slippy=http://informationfreeway.org/;
 ),

 I believe that would be _Slovakia_, not _Slovenia_. Also slippy map url
 seems wrong (should be http://www.freemap.sk/ ).

 It should be trivial to spit it out in xml for non-javascript clients,
 right?

 Stefan


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Downloading map images (update to MapOf)

2008-05-18 Thread Stefan Baebler
OJ W wrote:
 of course:
 http://dev.openstreetmap.org/~ojw/GetMap/layers_xml.php
Tnx, that was fast!

 apologies for the confusion over country names!
No offense taken, we're used to have our international snail mail 
occasionally routed via Bratislava (specially if it originates over the 
pond) :) It's amazing, but this still happens.

Stefan

 
 
 
 On Sun, May 18, 2008 at 5:56 AM, Stefan Baebler
 [EMAIL PROTECTED] wrote:
 OJ W wrote:
 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?

 Ehm...

   slovenia = Array(
 tiles =http://www.freemap.sk/layers/allinone/?/;,
 description=Slovenian localisation of OSM,
 update=,
 license=CC-BY-SA 2.0,
 source=OpenStreetMap,
 hosted=OpenStreetMap Slovenia,
 format=png,
 slippy=http://informationfreeway.org/;
 ),

 I believe that would be _Slovakia_, not _Slovenia_. Also slippy map url
 seems wrong (should be http://www.freemap.sk/ ).

 It should be trivial to spit it out in xml for non-javascript clients,
 right?

 Stefan

 


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] Downloading map images (update to MapOf)

2008-05-17 Thread OJ W
I've updated the MapOf application, that lets you download map
images for abitary areas:

http://dev.openstreetmap.org/~ojw/GetMap/

So new features are:
* Paste the URL of a slippy-map permalink instead of supplying
lat/long/zoom in separate fields
* More map layers
* Fixes the blank tile bug (blank land/sea tiles used to be shown as a
gap in the image)
* Option of adding attribution and licensing text to an image
* Support for tileservers that output JPEGs (e.g. openaerialmap)


It also means that we get this file:

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?

(this file will be on SVN in due course, along with the rest of the code)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Downloading map images (update to MapOf)

2008-05-17 Thread Stefan Baebler
OJ W wrote:
 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?
   
Ehm...

slovenia = Array(
  tiles =http://www.freemap.sk/layers/allinone/?/;,
  description=Slovenian localisation of OSM,
  update=,
  license=CC-BY-SA 2.0,
  source=OpenStreetMap,
  hosted=OpenStreetMap Slovenia,
  format=png,
  slippy=http://informationfreeway.org/;
  ),

I believe that would be _Slovakia_, not _Slovenia_. Also slippy map url 
seems wrong (should be http://www.freemap.sk/ ).

It should be trivial to spit it out in xml for non-javascript clients, 
right?

Stefan




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk