Modify

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#10465 closed enhancement (fixed)

Search/find object role inside relations

Reported by: naoliv Owned by: team
Priority: normal Milestone: 15.10
Component: Core Version:
Keywords: search relation role Cc:

Description

Could JOSM also search/find relations having objects with a specific role?
For example, I would like to search for relations that have an object with admin_centre role.

JOSM:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-08-31 21:55:55
Last Changed Author: Don-vip
Revision: 7480
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-08-31 23:51:24 +0200 (Sun, 31 Aug 2014)
Last Changed Rev: 7480

Attachments (0)

Change History (9)

comment:1 Changed 8 years ago by skyper

second this as I could use it in filters

comment:3 Changed 8 years ago by Don-vip

Keywords: search relation role added

comment:4 in reply to:  2 Changed 7 years ago by simon04

Milestone: 15.10

See #11916 for the possibility to use MapCSS in search.

Shall we still add separate keywords like hasrole: (this relation has a member of role) and isrole: (primitive is part of relation w/ role)?

comment:5 Changed 7 years ago by naoliv

Would be nice to have hasrole: and isrole: (or similar classes/selectors) and use them to validate data.

comment:6 Changed 7 years ago by simon04

For validation with MapCSS, you can already use roles in child/parent selectors relation >[role=stop] node.

comment:7 Changed 7 years ago by simon04

Resolution: fixed
Status: newclosed

In 8884/josm:

fix #10465 - SearchAction: add hasRole and isRole keywords

comment:8 Changed 7 years ago by simon04

In 8896/josm:

see #10465 - SearchAction: drop isRole since role does the same

comment:9 Changed 7 years ago by simon04

In 8898/josm:

see #10465 - SearchAction: drop isRole since role does the same

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.