Modify

Opened 10 years ago

Closed 8 years ago

Last modified 8 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 by skyper, 10 years ago

second this as I could use it in filters

comment:3 by Don-vip, 10 years ago

Keywords: search relation role added

in reply to:  2 comment:4 by simon04, 8 years ago

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 by naoliv, 8 years ago

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

comment:6 by simon04, 8 years ago

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

comment:7 by simon04, 8 years ago

Resolution: fixed
Status: newclosed

In 8884/josm:

fix #10465 - SearchAction: add hasRole and isRole keywords

comment:8 by simon04, 8 years ago

In 8896/josm:

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

comment:9 by simon04, 8 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.