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 )
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 , 14 years ago
comment:2 by , 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 , 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.



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