logo separator

News

Unicode searching. Now you can.

18
Jun

For quite some time it has been possible to build a map using unicode to display characters in various languages.

Now searching should also work in versions r3294 and later.

All of Western, Central and Eastern European characters should be available as well as Arabic, Greek and various others. It is unlikely to work with Chinese characters and that will require further investigation.

Ensure that you are using the options --code-page=65001 --index --route as well any others that you need.

Quoting variable filter arguments

04
Jun

You can now quote the argument to a variable filter in a style file.

A simple contrived example:

# Fix short form and mis-spelling
highway=residential { set name '${name|subst:"(Raod|Rd)~>Road"}' ; }

For backward compatibility you do not have to do this and all existing styles should work as they are. However I would recommend that you start to quote all arguments that are more complex than a simple word. Before this change it was impossible to use a pipe symbol within a regular expression since it would be seen as the start of the next filter.

Improved splitter

25
May

Splitter now has a new split algorithm that usually results in fewer, more evenly sized tiles.

The test generator is > 10 times faster. This allows a deeper search for good splits. A few errors where fixed which sometimes prohibited to find a good split, but also sometimes helped to find one.

A new option --search-limit can be used to increase/decrease the amount of time the splitter tries to find a good split. The larger the input file the higher this value should be. For planet, --search-limit=1000000 is okay, --search-limit=10000000 is better.

Splitter version r385

23
May

Version r385 of splitter is a large update.

All the dependent libraries have been upgraded to later versions, so make sure that you install the complete package. This might affect you if you don't download the complete distribution or install in some unusual way.

A summary of the visible changes follows:

  • Improved error handling: most I/O errors like corrupted or missing files will now stop the program instead of just printing error messages, and producing a useless result
  • Working with pbf files is faster because of the updated libraries.
  • Splitting large files is faster because of some improvements in the branch
  • Lots of internal changes in the code.

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.

<< Earlier news

Latest commits

  • mkgmap-r3336 Fix crash in fixAnglesInShape..
    11 sep 2014
  • mkgmap-r3335 Prevent a possible NullPointerException is house number generator.
    03 sep 2014
  • mkgmap-r3334 .
    31 aug 2014
  • mkgmap-r3333 merge branch rhumbline to fix issues with very long lines which are.
    08 aug 2014
  • mkgmap-r3332 fix error "Did not find CoordPOI node at ..." introduced with r3330.
    08 aug 2014
See more...

Developed withThe best Java IDE