Modify

Opened 14 years ago

Closed 13 years ago

#7262 closed enhancement (fixed)

allow searching for position in way

Reported by: NE2 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by joshdoe)

For example, I might want to search for firstnode highway=motorway_link child highway=motorway -highway=motorway_junction to find missing motorway_junctions. (firstnode would be like child but require it to be the first node in the way, useful here because the motorway_link is one-way.)

Oh, and naturally this would apply to relations as well.

Attachments (0)

Change History (4)

comment:1 by joshdoe, 14 years ago

Ticket #7365 has been marked as a duplicate of this ticket.

comment:2 by joshdoe, 14 years ago

Description: modified (diff)

What about allowing a parameter to the child keyword? If you want to select the first and last node use child:0,-1. Not sure how to allow for a range of nodes. I suppose child:1--2 could technically be parsed to mean all nodes except the ends, but it certainly doesn't look readable.

comment:3 by simon04, 14 years ago

Your suggestions sounds good to me.

For parsing a range of timestamp, I've chosen / (e.g., 2010-10-05/2011-01-30) recently.

comment:4 by simon04, 13 years ago

Resolution: fixed
Status: newclosed

In 5578/josm:

fix #7262 - allow searching for position in way.

The search keyword nth: have been added in order to
search for the n-th member of relations and/or n-th node of ways.
Also, nth%: is supported which searches for every n-th item, respectively.

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.