Modify

Opened 2 years ago

Last modified 17 months ago

#19653 new enhancement

Find more conflicting keys in lanes-tagging

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: template_report lanes-tagging conflicting keys Cc:

Description

Follow-up of #10932 and #19609.

What steps will reproduce the problem?

  1. Have highway with lanes=1 and turn:lanes=left;through|right
  2. Run Validator

What is the expected result?

Warning about missing oneway=yes or missing postfix "forward/backward" with *:lanes=*

What happens instead?

No warning

Please provide any additional information below. Attach a screenshot if possible.

See josm_19609_lanes_tagging_samples.osm for some examples with even number of lanes=*

Additionally, if *:lanes[:*]=* has more values than lanes[:*]=* a VEHICLE_TYPE:lanes[:*]=* is needed.

Watch out for source:lanes=* and for change:lanes=no|no which is valid for a highway with exactly one lane per direction.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-08-07 18:58:40 +0200 (Fri, 07 Aug 2020)
Revision:16853
Build-Date:2020-08-08 01:30:49
URL:https://josm.openstreetmap.de/svn/trunk

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by skyper

One missing check is:

way[highway][lanes][!lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1][oneway!=reversible][highway!=motorway][junction!=roundabout][lanes=1][/^*:lanes:(forward|backward)$/] {
  throwWarning: tr("street with odd number of {0}, but without {1} and {2} or {3}", "{1.key}", "{2.key}", "{3.key}", "{4.key}");
  group: tr("missing tag");
}

comment:2 Changed 17 months ago by skyper

Similar to #16395.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.