Opened 4 years ago

Last modified 4 years ago

#21341 new enhancement

Access restriction node without object — at Version 2

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

Description (last modified by skyper)

Split off from #20742

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)$/][!barrier][!railway][!traffic_sign][!entrance][/^(access|motor_vehicle|vehicle)$/=~/^(no|private)$/][!/^(access|motor_vehicle|vehicle):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 (2)

comment:1 by Famlam, 4 years ago

Description: modified (diff)

comment:2 by skyper, 4 years ago

Description: modified (diff)
Keywords: highway node added

Thanks, I will test.

Note: See TracTickets for help on using tickets.