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

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

edited 01 Jun '15, 19:56

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

question was seen: 3,797 times

last updated: 01 Jun '15, 19:56

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