[OSM-talk] Retrieving data using Osmxapi
80n
80n80n at gmail.com
Thu Mar 20 20:39:01 GMT 2008
I think the slashes are the source of problem.
See the note about request grammar in the limitations section of this page:
http://wiki.openstreetmap.org/index.php/Osmxapi#Limitations
80n
On Thu, Mar 20, 2008 at 7:39 PM, Maciek Kaliszewski <mkalkal at interia.pl>
wrote:
> How to retrieve data when key value contain space.
> <tag k='source' v='UMP-PL, ./UMP-Suwalki/src/inne.ulice.txt' />
>
> I've tried all combination of \ " '
>
> $ wget 'http://www.informationfreeway.org/api/0.5/node[source=UMP-PL<http://www.informationfreeway.org/api/0.5/node%5Bsource=UMP-PL>
> ,
> ./UMP-Suwalki/src/inne.ulice.txt]' -O data.osm
> Warning: wildcards not supported in HTTP.
> --20:37:41--
>
> http://www.informationfreeway.org/api/0.5/node[source=UMP-PL,%20./UMP-Suwalki/src/inne.ulice.txt]<http://www.informationfreeway.org/api/0.5/node%5Bsource=UMP-PL,%20./UMP-Suwalki/src/inne.ulice.txt%5D>
> => `data.osm'
> Resolving www.informationfreeway.org... 80.68.90.42
> Connecting to www.informationfreeway.org|80.68.90.42|:80... connected.
> HTTP request sent, awaiting response... 302 Found
> Location:
>
> http://osmxapi.hypercube.telascience.org/api/0.5/node%5bsource=UMP-PL,%20./UMP-Suwalki/src/inne.ulice.txt%5d
> [following]
> --20:37:41--
>
> http://osmxapi.hypercube.telascience.org/api/0.5/node%5bsource=UMP-PL,%20./UMP-Suwalki/src/inne.ulice.txt%5d
> => `data.osm'
> Resolving osmxapi.hypercube.telascience.org... 137.110.119.130
> Connecting to osmxapi.hypercube.telascience.org|137.110.119.130|:80...
> connected.
> HTTP request sent, awaiting response... 500 Internal Server Error
> 20:37:42 ERROR 500: Internal Server Error.
>
> Regards
> Maciek Kaliszewski
>
>
> ----------------------------------------------------------------------
> >A jak sobie radzi TWOJ klub pilkarski?
> Sprawdz >>> http://link.interia.pl/f1d65
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080320/f7cc7646/attachment.html>
More information about the talk
mailing list