Hi,

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

thanks

asked 28 Jun '16, 13:33

OuedraogoMichel's gravatar image

OuedraogoMichel
14556
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

mmd
5.6k4988
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

By RSS:

Answers

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:

×8

question asked: 28 Jun '16, 13:33

question was seen: 1,136 times

last updated: 28 Jun '16, 13:43

powered by OSQA