logo separator

[mkgmap-dev] [Partch v2] reduce peak memory usage for global index

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Mar 30 17:12:08 BST 2017

Hi all,

attached is an improved version which also implements the new option --x-mdr7-excl.
It also has some debug messages which will print Strings which appear very often, something like this:
Street index (Mdr7) 'Service' : 11.09%
Street index (Mdr7) 'Straße' : 7.09%
Street index (Mdr7) 'CyW' : 1.66%
Street index (Mdr7) 'Pth' : 3.81%
Street index (Mdr7) 'Weg' : 1.13%
Street index (Mdr7) 'Foot' : 9.17%
Street index (Mdr7) 'Steps' : 1.58%
(sample from Arndts "Speichenkarte" style which adds osm tags to the street name.

The idea is to use Option --x-mdr7-excl="Service,Straße,Foot,Pth" to exclude some strings from the global index.
This will esp. reduce heap memory usage , but it will also reduce the size of the index.

The search will still find roads like "Abc Straße" when you search for abc, but it will not display all the streets containing
Straße when you just type Straße. It should also still display "Straße des 17. Juni" if you type 
"Straße des" or just "Juni" in case you use --x-split-name-index.

The binary is here:
http://files.mkgmap.org.uk/download/342/mkgmap.jar

Gerd




-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdr-sort-v2.patch
Type: application/octet-stream
Size: 10636 bytes
Desc: mdr-sort-v2.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170330/ba0b386b/attachment.obj>


More information about the mkgmap-dev mailing list