NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

1
1

I have troubles understanding the complete statment. I read the description on https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#The_block_statement_complete but I still do not get it.

Here, an example: http://overpass-turbo.eu/s/1c3K; my goal is to get a map of river and its tributaries. When I leave the complete block commented out, I receive the river mapped as relation and a couple of way segments that belong to its tributaries. Works just as expected, here, a picture:

alt text

However, when I am commenting out line 12 and using the complete block instead, I only receive the river relation .r which I started with. My set .add has no tributaries and the result looks like this:

alt text

Something I am doing wrong ;) I thought the complete block would iterate several times, thus, adding more and more segments of contributing rivers and streams. Thanks for some hints!

asked 14 Oct '21, 16:42

G%C3%A5seborg's gravatar image

Gåseborg
31171016
accept rate: 50%

edited 14 Oct '21, 16:43

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:

×228
×65

question asked: 14 Oct '21, 16:42

question was seen: 717 times

last updated: 14 Oct '21, 16:43

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum