[OSM-dev] XAPI
Simon Poole
simon at poole.ch
Mon Aug 7 16:08:29 UTC 2017
There are multiple reasons why this is not going to work, not the least
that there have been no public native XAPI servers available for a very
long time.
See http://wiki.openstreetmap.org/wiki/Xapi
But in any case extracting anything for the whole world from any API is
not a good idea, I would suggest downloading a planet dump and filtering
the objects out of it, or asking a friendly operator of a osm2pgsql
server with the whole planet imported to generate a list of schools for you.
The other thing to take in to account, that while we undoubtedly have a
lot of schools in OSM and in some areas will have 100% coverage this is
definitely not universal.
Simon
Am 07.08.2017 um 17:43 schrieb Fredy Yanez:
> Good afternoon,
>
>
> I'm working for a no profit and our goal is to measure internet
> connectivity for every school in the world. It would be very
> beneficial is we had access to every school within the database. To do
> this I've been trying to use XAPI and I'm having a few errors.
>
>
> For example when I try to use XAPI URLs:
> wget
> --timeout=0http://www.informationfreeway.org/api/0.6/node[amenity=schools]-O
> data.osm
> I get this link as a response:
>
> http://www.informationfreeway.org/noapi.html
>
>
> and in data.osm I get :
>
> /////////////////////////
>
> <!-- Avoid logging 404 errors when /api requests received -->
>
> No API
>
>
> ////////////////////////
>
>
> I was wondering what I'm doing wrong?
>
> My guess is that I'm not authenticating or something along those lines.
>
>
> What is the best way to solve this problem ?
>
>
> Thanks !
>
> Fredy
>
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20170807/c61a9626/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20170807/c61a9626/attachment.sig>
More information about the dev
mailing list