Opened 4 years ago

Last modified 4 years ago

#21341 new enhancement

Access restriction node without object — at Initial Version

Reported by: Famlam Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: access highway node Cc: skyper

Description

Split off from #20742, comment 33

Replying to skyper:

Just found this node even without a barrier tag.

As a suggestion, possibly:

way[highway][!/^(access|motor_vehicle|vehicle)(:backward|:forward|:both_ways)?(:conditional)?$/] > node[/^(access|motor_vehicle|vehicle)(:backward|:forward|:both_ways)?$/][!barrier][!railway][!traffic_sign][!entrance][/^(access|motor_vehicle|vehicle)(:backward|:forward|:both_ways)?$/=~/^(no|private)$/][!/^(access|motor_vehicle|vehicle)(:backward|:forward|:both_ways)?:conditional/] {
        throwWarning: tr("{0} without {1} on a public highway", "{0.tag}", "{1.key}");
}
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021)
Build-Date:2021-09-03 01:31:19
Revision:18193
Relative:URL: ^/trunk

Change History (0)

Note: See TracTickets for help on using tickets.