[OSM-dev] Overpass ql problem using around/radius
Dave F.
davefox at madasafish.com
Wed Nov 19 14:48:06 UTC 2014
On 18/11/2014 18:06, Roland Olbricht wrote:
> Hi,
>
> thank you for the feedback. This is a perfectly valid enhancement of
> the software. Could you please open an issue at
> https://github.com/drolbr/Overpass-API
Will do.
As a related follow on question I notice the command line XAPI can use
'*' to represent 'all':
http://www.overpass-api.de/api/xapi?*[bbox=-2.7,51.234,-2.09,51.625]
Is there similar within Turbo/interpreter?
Cheers
Dave F.
>
>> With a bounding box, this works:
>>
>> [bbox:51.2911,-2.4750,51.4435,-2.2219];
>> (
>> node
>> ["leisure"="park"];
>> way
>> ["leisure"="park"];
>> relation
>> ["leisure"="park"];
>> );
>> out body;
>> >;
>> out skel qt;
>>
>> But if If substitute the first line for around: [around:15000,51.38138,
>> -2.35968];
>> it throws an error: *Error*: line 1: parse error: ']' expected - ','
>> found.
>>
>> Is this expected behaviour?
>
> Yes.
>
> There is no global "around" feature so far. This is for a couple of
> reasons. The most important is that "around" is currently painfully
> slow, in particular a lot slower than "bbox". I would like to improve
> the performance first to make this hypothetical feature run within an
> acceptable time for the user.
>
> Best regards,
>
> Roland
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
More information about the dev
mailing list