how can I use radius with xapi in overpass-api?


asked 28 Jun '16, 13:33

OuedraogoMichel's gravatar image

accept rate: 0%

I'm afraid, XAPI doesn't support radius. XAPI is quite a dated query langugage and only covers a very small subset of what is otherwise possible with Overpass QL or XML.

For an example using around in Overpass QL ("Find all cinemas in Bonn which are at most 100m away from bus stops"), please take a look at the documentation on the OSM wiki: http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Relative_to_other_elements_.28around.29

BTW: To migrate your old XAPI queries to current Overpass QL, you can leverage the migration guide.

permanent link

answered 28 Jun '16, 13:40

mmd's gravatar image

accept rate: 37%

edited 28 Jun '16, 13:43

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 28 Jun '16, 13:33

question was seen: 1,763 times

last updated: 28 Jun '16, 13:43

powered by OSQA