logo separator

Drive on left or right

11
Dec

From r3366 there are some improvements to the support for driving on the left or right. Each tile has a flag to say if roads are drive on the left or right. It is known to make a difference with roundabouts and may be used in other ways.

The options --drive-on-left and --drive-on-right were replaced by --drive-on=left and --drive-on=right. You can also add detect which will use the country information to select the correct side. The default is equivalent to --drive-on=detect,right which means that if detection fails, it will use drive on the right. The old flags --drive-on-left and --drive-on-right still work.

The detection uses the precompiled bounds (or country-abbr/country-name) to determine the country in which the roads are located, and the resource file LocatorConfig.xml contains a new attribute driveOnLeft="true" for all known drive-on-left countries

If a tile covers two countries where you drive on different sides of the road, then it cannot work for the whole tile and you get a warning. In the future we will be able to cut tiles on country boundaries so that the problem will then not arise.

Posted by steve on 11 Dec 2014

Latest commits

  • mkgmap-r4808 implement new option --gmapi-minimal (gmapi-minimal-v5.patch).
    12 oct 2021
  • mkgmap-r4807 fix possible NPE when --keep-going is used in combination with an input file that doesn't exist.
    14 sep 2021
  • splitter-r642 Crash with message "Invalid polygon ring in polygon-file, possibly self-intersecting" if a single ring in a *.poly file is not ....
    10 aug 2021
  • mkgmap-r4806 missing brackets: fix NullPointerException when option --pois-to-areas-placement is used with invalid args like.
    10 aug 2021
  • mkgmap-r4805 split route center if last offset in TableC (route restrictions) size is >= 0x8000.
    07 aug 2021
See more...