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

I want to select all buildings which don't have an address set. To find those, I want to seach for -addr:street=*, but this yields an unexpected token: <equals>.

How can I seach for this?

asked 08 Oct '17, 18:58

Pieter%20Vander%20Vennet's gravatar image

Pieter Vande...
2415813
accept rate: 50%


By now, I've found the answer: put key:subkey in double quotes. The search query thus becomes

    -"addr:street"=*
permanent link

answered 08 Oct '17, 18:59

Pieter%20Vander%20Vennet's gravatar image

Pieter Vande...
2415813
accept rate: 50%

Without the quotes it the colon is taken as the binary operator from the key:valuefragment syntax. (That syntax documented in the search dialog.)

(08 Oct '17, 20:18) dsh4

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:

×622
×193
×16

question asked: 08 Oct '17, 18:58

question was seen: 2,416 times

last updated: 08 Oct '17, 20:18

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