logo separator

[mkgmap-dev] Help/ideas with address index

From Martin mkmap at snailrun.de on Wed Jan 11 22:20:14 GMT 2012

Oh, I forgot.

Have you already downloaded the boundary-files (you are using this option, right)? 
If not, you can find them here:
http://mkgmap.osm4people.org/
or here:
http://www.navmaps.eu/index.php/developers/bound

And: Mkgmap also understand pbf-files. They are smaller and faster processed. Lithuania.osm.pbf is only 14mb of size :)

Cheers
Martin

Am 11.01.2012 um 23:15 schrieb Martin:

> 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
>> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120111/1b3a20f6/attachment.html 


More information about the mkgmap-dev mailing list