
Torsten Leistikow a écrit :
frmas schrieb:
I'm interested about that. That could be the solution to the pb I asked yesterday. So you "compile" the same areas but using different parameters. Is it possible to get an example of the command line you use to compile all your layers?
My batch file looks like the following (actually I am using different batch files at the moment, since I am still trying some changes):
java -jar -Xmx6144M ../../mkgmap-r1060/mkgmap.jar --style-file=../../styles/topo_v004 --family-id=41 --country-name="Deutschland" --country-abbr="D" --overview-name=OSM_T004 --family-name=OSM_T004 --series-name=OSM_T004 --description=OSM_T004 --tdbfile --max-jobs=3 --draw-priority=11 ../../osm/Europa/66669???.osm.gz
Thank you Torsten. You use "--overview-name", but mkgmap --help=options gives me the parameter "--overview-mapname" instead of --overview-name" Which one is the right one ? Using approximatively your parameters, I can't make my garmin to display the family-name nor the description. I tried with or without quotes for the description and the family-name, it doesn't work on my gps. These are the different options I use, maybe one of them conflict with another one and avoid the names to be displayed : # Options de compilation de mkgmap OPT_M_COMP_PERS=" \ -Xmx768M \ -jar mkgmap.jar \ --draw-priority=20 \ --family-id=148 \ --latin1 \ --style-file=$FILEDIR/styles/arvernes \ --transparent \ " OPT_M_COMP_ROUT=" \ -Xmx768M \ -jar mkgmap.jar \ --draw-priority=25 \ --family-id=148 \ --ignore-maxspeeds \ --ignore-osm-bounds \ --ignore-turn-restrictions \ --latin1 \ --location-autofill=1 \ --net \ --remove-short-arcs \ --route \ --style-file=$FILEDIR/styles/arvernes \ --transparent \ " OPT_M_COMP_SRCH=" \ -Xmx768M \ -jar mkgmap.jar \ --add-pois-to-areas \ --draw-priority=1 \ --family-id=148 \ --road-name-pois \ --style-file=$FILEDIR/styles/arvernes \ " echo "On fait la carte layer ROUT a partir du fichier $carte0102" java $OPT_M_COMP_ROUT --mapname="09030102" --family-name=OSM_ROUT --series-name=OSM_ROUT --overview-name=OSM_ROUT --description="Carte OSM de Noirmoutier" $CARTESDIR/$carte0102 echo "On fait la carte layer SRCH a partir du fichier $carte0102" java $OPT_M_COMP_SRCH --mapname="09010102" --family-name=OSM_SRCH --series-name=OSM_SRCH --overview-name=OSM_SRCH --description="Carte de recherche sur POIs" $CARTESDIR/$carte0102 echo "On fait la carte layer PERS a partir du fichier $carte0199" java $OPT_M_COMP_PERS --mapname="09030199" --family-name=OSM_PERS --series-name=OSM_PERS --overview-name=OSM_PERS --description="Carte perso" $CARTESDIR/$carte0199 Francois