Why not ask your question on the new OpenStreetMap Community Forum?

I want to select all objects that have the word some in its value. The key is roof:material.

I tried "roof:material"=some* and checked the regexp box. It does not find match. The existing values are some parts CGI, some RCC, some RCC some tiles etc.

asked 25 Aug '13, 10:07

amritkarma's gravatar image

accept rate: 11%

The search function key:valuefragment is what you are looking for (described in the find window). No RegExp needed.

Your key contains the ":" which is a problem here as JOSM uses it as a special character in the search syntax.

  • Use this: roof\:material:some (you can escape it with the "\" (like in RegExps)).
  • Or use this: "roof:material":some (the enclosing in doublequotes disables the special meaning of the ":" - see the last but one entry in the search examples).
permanent link

answered 25 Aug '13, 11:53

aseerel4c26's gravatar image

aseerel4c26 ♦
accept rate: 18%

edited 25 Aug '13, 12:00


Also note, if you do need to use a regexp, that the syntax is different and "some*" does not match what you think, but "som", "some", "somee", "someee", etc. See https://en.wikipedia.org/wiki/Regular_expression Regexps are more powerful but alo more complicated.

(26 Aug '13, 00:32) Vincent de P... ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 25 Aug '13, 10:07

question was seen: 3,442 times

last updated: 26 Aug '13, 00:32

powered by OSQA