[mkgmap-dev] Help/ideas with address index
From Martin mkmap at snailrun.de on Wed Jan 11 22:15:37 GMT 2012
Hello Tomas, have you extended your style-files (lines, points and polygons) with the rules for the index like: mkgmap:country!=* & mkgmap:admin_level2=* { set mkgmap:country='${mkgmap:admin_level2}' } mkgmap:region!=* & mkgmap:admin_level3=* { set mkgmap:region='${mkgmap:admin_level3}' } mkgmap:region!=* & mkgmap:admin_level4=* { set mkgmap:region='${mkgmap:admin_level4}' } mkgmap:region!=* & mkgmap:admin_level5=* { set mkgmap:region='${mkgmap:admin_level5}' } ... and so one... You can find them in the default style-rules for lines, points and polygones. If this also doesn't work try to use the default-style, maybe this helps. Cheers Martin Am 11.01.2012 um 19:23 schrieb Tomas Straupis: > Hello > > I'm trying to generate address index, but so far am unable to do > that. Maybe you can give me some advices on what should I try? > > I expect to get index right in the gmapsupp.img as I'm using linux > and MapSource is unable to transfer gmapsupp to my Colorado (I'm > simply copying gmapsupp.img to the device via usb cabel). > I was following instructions I've found on osm wiki. Created bounds > info (tried both creating my own using osmfilter/osmconvert/mkgmap as > well as downloading pre-created europe bounds 20111202). > > This is how I run mkgmap: > > java -jar mkgmap.jar \ > --style-file=/home/tomas/garmin/tomas_style \ > --gmapsupp \ > --tdbfile \ > --family-id=1 \ > --family-name=OpenStreetMap \ > --description=Lietuva`date +%Y%m%d` \ > --country-name=Lithuania \ > --country-abbr=LTU \ > --preserve-element-order \ > --route \ > --add-pois-to-areas \ > --generate-sea=multipolygon \ > --coastlinefile=lkrantas.osm \ > --report-undefined-nodes \ > --check-roundabouts \ > --drive-on-right \ > --report-dead-ends \ > --index \ > --location-autofill=bounds \ > lithuania_.osm > > The only error messages I get are about short arcs. > > This is how I test. Upload the map to my device. Choose "where to" > -> "address", press "done" (or enter letter "L") and get an empty > list... > > Note: I'm not using splitter, just taking data from geofabrik and > making a map from it directly. mkgmap version 2165. > > Thank you > > P.S. Everything else (routing, styles) seems to work ok. > > -- > Tomas Straupis > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
- Previous message: [mkgmap-dev] Help/ideas with address index
- Next message: [mkgmap-dev] Help/ideas with address index
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list