The question https://help.openstreetmap.org/questions/21941/can-not-find-rdby-putgarden-denmark-ferry-route-with-navigator-from-mapfactor gave me the idea to query the DB for all nodes that are tagged barrier=... and do not have an access tag, so I can specifically check those in my area.

(How) can this be done in OverpassQL? Does OverpassQL or some other API have support for "not"-style operators? I couldn't find documentation stating this.

asked 29 Apr '13, 14:43

gormo's gravatar image

gormo
2.9k32660
accept rate: 13%

edited 29 Apr '13, 14:44


Looks like there's ["key"!="value"], or ["key"!~"value"] if you want to use regular expressions.

http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Negation

permanent link

answered 29 Apr '13, 15:16

neuhausr's gravatar image

neuhausr
7.3k869119
accept rate: 20%

1

Great, thanks!

Shame on my google fu...

(29 Apr '13, 15:47) gormo
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:

×355

question asked: 29 Apr '13, 14:43

question was seen: 2,749 times

last updated: 29 Apr '13, 15:47

powered by OSQA