[OSM-talk] Overpass or XAPI API servers for 60, 000 node queries?

Ian Dees ian.dees at gmail.com
Mon Oct 7 19:23:49 UTC 2013


brycenesbitt wrote
> On Sun, Oct 6, 2013 at 11:41 AM, Paul Norman <

> penorman@

> > wrote:
> 
>> http://jxapi.openstreetmap.org/xapi/api/0.6/node[amenity=drinking_water]took
>> about 3 minutes total. 14.5MB result.
>>
> 
> Thanks, however no luck here:
> 
> # wget
> http://jxapi.openstreetmap.org/xapi/api/0.6/node[amenity=drinking_water]
> -O
> drinking_water_yes_d.osm
> --2013-10-06 16:54:28--
> http://jxapi.openstreetmap.org/xapi/api/0.6/node[amenity=drinking_water]
> Resolving jxapi.openstreetmap.org... 128.40.168.100
> Connecting to jxapi.openstreetmap.org|128.40.168.100|:80... connected.
> HTTP request sent, awaiting response... 500 INTERNAL SERVER ERROR
> 2013-10-06 16:57:28 ERROR 500: INTERNAL SERVER ERROR.
> 
> Also my followup queries required Overpass, I'd rather draw from one
> source.

Looks like the 500 there was because the query timed out. I've got a fairly
aggressive timeout (5 minutes) because people tend to send some pretty crazy
queries to jxapi.osm.org. I can bump that up though if I write some
scraper-defense code.

What followup queries do you have that require Overpass?



--
View this message in context: http://gis.19327.n5.nabble.com/Overpass-or-XAPI-API-servers-for-60-000-node-queries-tp5780374p5780564.html
Sent from the General Discussion mailing list archive at Nabble.com.



More information about the talk mailing list