You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2017-04-11 16:29:17

Nielkrokodil
New Member
Registered: 2017-04-11
Posts: 1

JOSM select only object (not nodes) with selection rectangle

Is there a way to simply select all objects in an area by using the selection rectangle?
Right now it always selects all objects + all nodes. I then have to press Shift + U (no easy keyboard shortcut) to deselect the nodes.

Is there a trick to skip this, by maybe holding down one button while releasing the left mouse button or dragging the rectangle from down to up or right to left or something like that?

I need it for validating HOT tasks where I want to check if all buildings are tagged building=yes at one glance.

Cheers

Offline

#2 2017-04-11 17:38:18

n76
Member
Registered: 2013-05-22
Posts: 313

Re: JOSM select only object (not nodes) with selection rectangle

When I am tracing buildings I usually draw all the geometry without adding any tags as that slows me down. When I've done all the tracing I use the find command in JOSM with a search string of "new tags:0-0 nodes:3-". This gets me all the new objects consisting of three or more nodes with no tags on them. (I assume that a build must have at least three nodes.)

If the area has already been uploaded (no longer new) and you are doing QA, then a string like "nodes:3- -(building=*)" will get you all the objects made up of three or more nodes that don't have a building tag. You might want to extend that to something like "nodes:3- -(building=*) -(highway=*)" to exclude highways too.

Last edited by n76 (2017-04-11 17:39:15)

Offline

#3 2017-04-11 20:05:33

Klumbumbus
Member
From: Erzgebirgskreis
Registered: 2014-01-12
Posts: 630
Website

Re: JOSM select only object (not nodes) with selection rectangle

You could use a filter e.g."type:node" or more advanced if you would like to exclude e.g. streets too

https://josm.openstreetmap.de/wiki/Help/Dialog/Filter

Offline

#4 2017-04-12 10:58:14

Stereo
Member
Registered: 2011-04-22
Posts: 48

Re: JOSM select only object (not nodes) with selection rectangle

In addition to n76's filter, you could add inview or allinview.

I wish JOSM had search bookmarks...

Last edited by Stereo (2017-04-12 10:58:27)

Offline

#5 2017-04-12 17:18:22

Klumbumbus
Member
From: Erzgebirgskreis
Registered: 2014-01-12
Posts: 630
Website

Re: JOSM select only object (not nodes) with selection rectangle

Stereo wrote:

I wish JOSM had search bookmarks...

It kind of has. enable expert moide. In the search window check "add toolbar button". start search. the search will be placed as button in the toolbar.

(also there is the drop down list in the search window for "short time bookmarks".)

Offline

Board footer

Powered by FluxBB