Opened 14 years ago

Last modified 13 years ago

#7262 closed enhancement

allow searching for position in way — at Version 2

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.

Change History (2)

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.

Note: See TracTickets for help on using tickets.