Why not ask your question on the new OpenStreetMap Community Forum?

(prompted by this question and this question)

Imagine that I'd like a .osm file containing every sub-relation, way and node that's part of relation 50288. I could do an API call to:


But I don't really want the API taking the time to sort out that rather large result for me rather than processing time-critical requests for mappers.

Overpass looks like it can do things like this, but there doesn't seem to be an example of it on the wiki. Can anyone suggest an Overpass query that would return the same data as an API relation /full call? If not Overpass, is there anything else out there that can?

asked 01 Nov '12, 17:28

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

permanent link

answered 01 Nov '12, 19:10

Roland%20Olbricht's gravatar image

Roland Olbricht
accept rate: 35%

Excellent - thanks.

(01 Nov '12, 19:29) SomeoneElse ♦

If for any reasons you don't want to learn the overpass API syntax, or you use a tool that allready talk the API 0.6 syntax and don't want to/can't convert.

I wrote an API 0.6 to Overpass API converter that you can query here :

http://api.openstreetmap.fr/api/0.6/relation/RELATION ID/full

-> http://api.openstreetmap.fr/api/0.6/relation/50288/full

wiki doc : http://wiki.openstreetmap.org/wiki/Servers/api.openstreetmap.fr

permanent link

answered 01 Nov '12, 21:44

sly's gravatar image

accept rate: 25%

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: 01 Nov '12, 17:28

question was seen: 9,903 times

last updated: 01 Nov '12, 21:44

powered by OSQA