Hallo Gerd,

thank you, i think, this is a good way to reduce the global index (and the memory).

My first idea was, only build adresses from ways with an original "name"-entry from OSM. Your method exclude more ways "Straße,Weg,etc".

Perhaps the need of memory for "Europe" becomes less than 6GB :) Then i can build a EU-map with adresses.

Greets

Arndt

Gerd Petermann <GPetermann_muenchen@hotmail.com> hat am 30. März 2017 um 18:12 geschrieben:

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

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev