[OSM-dev] Overpass ql problem using around/radius

Roland Olbricht roland.olbricht at gmx.de
Tue Nov 18 18:06:29 UTC 2014


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

> 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




More information about the dev mailing list