0
2

How can i express an logical OR in a query? For example if i would like to search node["amenity"~"courthouse|prison" OR "office"="layer"]

asked 01 Jun '15, 09:07

hwoehrle's gravatar image

hwoehrle
16122
accept rate: 0%


Union query:

(node["amenity"~"courthouse|prison"];
node["office"="layer"];);
permanent link

answered 01 Jun '15, 15:08

neuhausr's gravatar image

neuhausr
7.3k869120
accept rate: 21%

edited 01 Jun '15, 19:56

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: 01 Jun '15, 09:07

question was seen: 1,560 times

last updated: 01 Jun '15, 19:56

powered by OSQA