Modify

Opened 16 months ago

Closed 6 months ago

#7262 closed enhancement (fixed)

allow searching for position in way

Reported by: NE2 Owned by: team
Priority: normal 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 Changed 16 months ago by joshdoe

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

comment:2 Changed 16 months ago by joshdoe

  • 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 Changed 16 months ago by simon04

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 Changed 6 months ago by simon04

  • Resolution set to fixed
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.