Opened 5 years ago

Last modified 5 years ago

#20019 closed enhancement

Warn about direction=forward/backward on invalid nodes. — at Initial Version

Reported by: skyper Owned by: team
Priority: normal Milestone: 20.12
Component: Core validator Version:
Keywords: template_report direction node Cc: francois.lacombe

Description

What steps will reproduce the problem?

  1. Have an child end node or a child middle node of more than one way with [high|rail|water]way] and *[:]?direction=[forward|backward]
  2. run validator

What is the expected result?

A warning about invalid values of direction for the geometry

What happens instead?

No warning

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

See #20013 for the origin.

Replying to Klumbumbus:

I think the validator should warn if a node with direction=* is

  • on a ways first/last node (possible in mapcss)
  • belongs to two different highway=* ways (not possible in mapcss)
  • Only warn about values forward and backward. Other values are valid.
  • Include railway and waterway in both test.
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-31 01:21:14 +0100 (Sat, 31 Oct 2020)
Revision:17288
Build-Date:2020-10-31 02:30:50
URL:https://josm.openstreetmap.de/svn/trunk

Change History (0)

Note: See TracTickets for help on using tickets.