logo separator

[mkgmap-dev] Changing styles and TYP integrating

From Valeriy Pekarskyy pekarskiy.valeriy at gmail.com on Sun Nov 14 11:03:57 GMT 2010

Hi All,

I have several suggestions to default style, is there possibility to
add these to mkgmap style?
points:
  remove "amenity=toilets [0x4e00 resolution 21 default_name 'Toilets' ]"
  add "amenity=toilets [0x2f0c resolution 22 default_name 'Toilets' ]"
Because of that 4e00 is shown at very low resolution levels, these
toilets are shown even when no buildings and no streets are visible.
Also it could be some bug in mkgmap, I suppose. But when using 2f0c,
it worked as expected.

ploygons:
  remove "building=* | man_made=* | amenity=* | tourism=* [0x13 resolution 24]"
  add "building=* & building != no {name '${addr:housenumber}'
|'${name}'} [0x13 resolution 22]
building=* | man_made=* | amenity=* | tourism=* {name
'${addr:housenumber}'} [0x13 resolution 22]"
This adds house numbers to be shown at the map so mapper could find
where numbers are shown and where not.

Also I have another question - how to integrate TYP file to map with
mkgmap? I'm building the map with following commands:
   java -Xmx1024M -Xms1024M -jar mkgmap.jar --charset=windows-1251
--net --route --family-id=1011 --ignore-osm-bounds chernivtsi-orig.osm
and have TYP file M00003f3.TYP
I have tried to add TYP file at the end of that command, and also the next:
   java -jar mkgmap.jar --gmapsupp 63240001.img M00003f3.TYP
to generate map with integrated TYP file, but to success... This typ
file is with Family ID 1011.

Yes, i can generate the map with TYP with help of MapSetToolKit.exe,
cgpsmapper and MapSource but this way is too long...
Any suggestions?

Best Regards



More information about the mkgmap-dev mailing list