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

I am tracing road imagery and building footprints in JOSM and would like to remove from view the labeling and symbology of points of interest. Is there a way to see only certain feature types in a view? Say for instance only buildings and highways?

Below is an image, with such labels and symbols. alt text

Thanks, Alyssa.

asked 16 May '13, 16:22

apwright's gravatar image

apwright
993310
accept rate: 0%

edited 16 May '13, 17:49

scai's gravatar image

scai ♦
33.3k21309459


Under "Windows" there is a selection for "Map Paint Styles". Clicking on it will add it to the side bar area (not sure the official name). Once there you can use the check boxes to select the display style. Maybe one of them, like "wire frame" will be close to what you are looking for.

I think you'll still see all the objects but having a point rather than an icon might make it easier to see what you are looking for.

permanent link

answered 16 May '13, 16:44

n76's gravatar image

n76
10.8k1082172
accept rate: 17%

You could look into Filters. They completely remove certain types of features from display, or alternatively only show features with tags from a whitelist.

permanent link

answered 16 May '13, 16:59

Tordanik's gravatar image

Tordanik
12.0k15106147
accept rate: 35%

edited 16 May '13, 17:01

I attempted to work with filters, but not sure I understand how they work*. If am trying to remove all labels, this is what I did:

"add to selection" is selected > placed "key:name" in the Filter String text field > "submit filter" Then in the dialog box, I checked "H" for "hide" (E was already selected)

This says to me: the filter selects every value with a name. it is enabled to hide elements that fit this filter, so every feature with a should be hidden.

What am I doing wrong?

(17 May '13, 15:25) apwright
1

"key:name" matches all elements that have "key" as one of their keys and "name" as a part of that key's value. To match all elements that have a name, you should use the filter string "name=*".

I'm not sure whether that's ideal for your use case, though, because it will also disable/hide highways and buildings that have a name. Based on your original question - showing only buildings and highways -, I would have suggested using

building=* OR highway=*

as a filter, and use the "inverse filter" checkbox.

(17 May '13, 15:42) Tordanik

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
×181
×63
×24

question asked: 16 May '13, 16:22

question was seen: 6,600 times

last updated: 17 May '13, 15:42

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