Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OSM node barrier=height_restrictor handling #4872

Merged
merged 1 commit into from
Feb 12, 2018

Conversation

oxidase
Copy link
Contributor

@oxidase oxidase commented Feb 12, 2018

Issue

Nodes with barrier=height_restrictor tags are not handled in car.lua profile, for example, a barrier node leads to a detour with misleading instructions:
screenshot from 2018-02-12 09-03-54
http://map.project-osrm.org/?z=17&center=48.075609%2C11.099442&loc=48.074136%2C11.092565&loc=48.075369%2C11.102929&hl=en&alt=0

PR adds height_restrictor tag to barrier_whitelist and a check of maxheight tag in process_node function. Also PR adds get_location_tag method to the osmium::Node interface.

Tasklist

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

@oxidase oxidase force-pushed the barrier/height_restrictor branch from 8e728a9 to 448c7e3 Compare February 12, 2018 08:15
@oxidase oxidase requested a review from TheMarex February 12, 2018 08:15
@oxidase oxidase self-assigned this Feb 12, 2018
@oxidase oxidase requested a review from chaupow February 12, 2018 08:21
@oxidase oxidase force-pushed the barrier/height_restrictor branch from 448c7e3 to c4efbbe Compare February 12, 2018 09:00
Copy link
Member

@TheMarex TheMarex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me.

@oxidase oxidase merged commit 5f598da into master Feb 12, 2018
@oxidase oxidase added this to the 5.16.0 milestone Feb 12, 2018
@oxidase oxidase deleted the barrier/height_restrictor branch February 12, 2018 10:40
datendelphin added a commit to fossgis-routing-server/osrm-backend that referenced this pull request Jun 10, 2018
  - Changes from 5.15.2:
    - Guidance
      - ADDED Project-OSRM#4676: Support for maneuver override relation, allowing data-driven overrides for turn-by-turn instructions [Project-OSRM#4676](Project-OSRM#4676)
      - CHANGED Project-OSRM#4830: Announce reference change if names are empty
      - CHANGED Project-OSRM#4835: MAXIMAL_ALLOWED_SEPARATION_WIDTH increased to 12 meters
      - CHANGED Project-OSRM#4842: Lower priority links from a motorway now are used as motorway links [Project-OSRM#4842](Project-OSRM#4842)
      - CHANGED Project-OSRM#4895: Use ramp bifurcations as fork intersections [Project-OSRM#4895](Project-OSRM#4895)
      - CHANGED Project-OSRM#4893: Handle motorway forks with links as normal motorway intersections[Project-OSRM#4893](Project-OSRM#4893)
      - FIXED Project-OSRM#4905: Check required tags of `maneuver` relations [Project-OSRM#4905](Project-OSRM#4905)
    - Profile:
      - FIXED: `highway=service` will now be used for restricted access, `access=private` is still disabled for snapping.
      - ADDED Project-OSRM#4775: Exposes more information to the turn function, now being able to set turn weights with highway and access information of the turn as well as other roads at the intersection [Project-OSRM#4775](Project-OSRM#4775)
      - FIXED Project-OSRM#4763: Add support for non-numerical units in car profile for maxheight [Project-OSRM#4763](Project-OSRM#4763)
      - ADDED Project-OSRM#4872: Handling of `barrier=height_restrictor` nodes [Project-OSRM#4872](Project-OSRM#4872)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants