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

How can I show nodes of a certain type such as http://overpass-turbo.eu/s/pt7 and at the same time show the boundary of its administrative level as shown in http://overpass-turbo.eu/s/pt5 For the administrative level, I only would like the outline, not a a filled polygonal. Thanks.

asked 02 Jun '17, 10:24

pander's gravatar image

pander
26225
accept rate: 0%


One way is to use the union operator in the Overpass language, grouping the queries before the out statement with parentheses.

For the queries you show, multiple out statements is probably easier:

{{geocodeArea:"Gemert-Bakel"}}->.searchArea;
rel(pivot.searchArea);
way(r);
out body geom;
node[natural=tree](area.searchArea);
out;

The way(r) line just retrieves the way members of the relation. It would probably be nicer to override the style for the relation but I'm not sure if that is possible.

permanent link

answered 02 Jun '17, 19:10

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

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:

×483

question asked: 02 Jun '17, 10:24

question was seen: 1,136 times

last updated: 02 Jun '17, 19:10

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