Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.41 KB

signPostCheck.md

File metadata and controls

26 lines (17 loc) · 1.41 KB

SignPostCheck

Description

The purpose of this check is to identify On-/Off-Ramps in motorways and trunk highways that are not relaying information from their respective sign posts.

Live Examples

  1. Line id:124741413 represents the Edge on the Off-Ramp that should have a destination Tag, which is currently missing.
  2. Line id:16613326 shows the Edge on the Off-Ramp should have a destination Tag, which is currently missing. Also, the Node that branched off the regular motorway and entered the Off-Ramp should have a highway=MOTORWAY_JUNCTION Tag, which is currently missing.

Code Review

Sign post information should be tagged at the 1st Edge of the On-/Off-Ramps for the highway. This check flags:

  • The 1st Edge of an On-/Off-Ramp that does not have a destination Tag
  • The starting Node of the 1st Edge of an On-/Off-Ramp which does not have a highway=MOTORWAY_JUNCTION Tag

In OSM, there is no specific tag to represent On-/Off-Ramps. There are three steps to search the 1st Edge of the On-/Off-Ramps:

  1. Define a “possible ramp edge”
  2. Search On-/Off-Ramps
  3. Find the 1st Edge of the On Ramp

To learn more about the code, please look at the comments in the source code for the check. SignPostCheck.java