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

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.5k870121
accept rate: 21%

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:

×483

question asked: 29 Apr '13, 14:43

question was seen: 4,859 times

last updated: 29 Apr '13, 15:47

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