In Overpass wizard one can say: type:node|way|relation What about type "closed-way"? What's the syntax? Thank you, RB

asked 22 Oct '17, 09:42

bapman's gravatar image

accept rate: 0%

edited 22 Oct '17, 16:34 - use the operator is_closed()

For example, this finds all closed ways with leisure=fitness_station

[out:csv(::count)][timeout:60]; ( way ["leisure"="fitness_station"] (if:is_closed()) ; ); out count;


For unclosed ways, add ! before is_closed, eg:

[bbox:{{bbox}}] ; way["area"="yes"](if:!is_closed()); out geom;

permanent link

answered 24 Aug, 08:52

Joseph%20E's gravatar image

Joseph E
accept rate: 16%

edited 24 Aug, 09:00

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]( "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: 22 Oct '17, 09:42

question was seen: 691 times

last updated: 24 Aug, 09:00

powered by OSQA