logo separator

Improvements in turn restrictions

14
Apr

The latest version of mkgmap now has much better support for restriction relations.

Here are the main things that are newly implemented:

  • Restrictions that prohibit going between two node via a particular way.
  • restrictions no_entry or no_exit
  • specific vehicle type, e.g. type=restriction:motorcar or restriction:motorcar=no_u_turn
  • fixes possible error if different roads connect the same nodes (old code possibly saved the restriction for the wrong road)
  • detects obsolete restrictions, e.g. when a oneway doesn't allow to enter the road or when the restiction applies to motor_vehicles only and the road is a cycleway.
  • if the style creates multiple routable ways for one OSM way, the restriction is added for all needed combinations

There are a lot of bug fixes too, so it should all work a lot more smoothly. Use version r3189 or higher for all the fixes.

Posted by steve on 14 Apr 2014

Latest commits

  • mkgmap-r4315 code cleanup: remove obsolete call of Collections.sort() after call of MdrUtils.sortList() which already does this..
    21 oct 2019
  • mkgmap-r4314 fix assertion error when option --make-poi-index is used.
    21 oct 2019
  • mkgmap-r4313 Improve code readability, no change in output expected.
    21 oct 2019
  • mkgmap-r4311 Ignore turn restrictions in ElementSaver when map is not routable to supress warning "ignoring unspecified/unsupported restriction" for type=restriction relations..
    21 oct 2019
  • mkgmap-r4310 Code cleanup, no change in output expected.
    21 oct 2019
See more...