logo separator

[mkgmap-dev] show oneway streets (and other mapping information)

From Torsten Leistikow de_muur at gmx.de on Tue Jul 14 17:16:17 BST 2009

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):

cd ..\..\OSM\Europa

copy 66668*.*  66666*.*

copy 66668*.*  66667*.*

copy 66668*.*  66669*.*

cd ..\..\img\OSM_Topo

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

rename 63240000.* 66669000.*

cd ..\..

cd img\OSM_Search

del 66667000.*

java -jar  -Xmx6144M ../../mkgmap-r1060/mkgmap.jar
--style-file=search_style --net --family-id=41
--country-name="Deutschland" --country-abbr="D" --overview-name=OSM_SRCH
  --family-name=OSM_SRCH --series-name=OSM_SRCH --description=OSM_SRCH
--tdbfile --draw-priority=1  --max-jobs=3 ../../osm/Europa/66667???.osm.gz

rename 63240000.* 66667000.*

cd ..\..

cd img\OSM_Bicycle_52

del 66668000.*

java -jar  -Xmx6144M ../../mkgmap-r1060/mkgmap.jar
--style-file=../../styles/bicycle_v004 --route --net --family-id=52
--country-name="Deutschland" --country-abbr="D" --overview-name=OSM_B004
--family-name=OSM_B004 --series-name=OSM_B004 --description=OSM_B004
--tdbfile --draw-priority=10 --max-jobs=3 ../../osm/Europa/66668???.osm.gz

rename 63240000.* 66668000.*

cd ..\..

cd img\OSM_Bicycle_Overlay

del 66666000.*

java -jar  -Xmx6144M ../../mkgmap-r1067/mkgmap.jar
--style-file=../../styles/bicycle_v004_overlay --transparent
--family-id=41 --country-name="Deutschland" --country-abbr="D"
--overview-name=OSM_B_OV --family-name=OSM_B_OV --series-name=OSM_B_OV
--description=OSM_B_OV --tdbfile --draw-priority=12 --max-jobs=3
../../osm/Europa/66666???.osm.gz

rename 63240000.* 66666000.*

cd ..\..


Prior to the map generation I use splitter to cut the predefined tiles
from the europe.osm file from geofabrik.

The SRTM-Tiles are always the same, I created them once with srtm2osm
and there is no need to update them.

Finally I use sendmap to combine all the map layers into a single
gmapsupp.img

Right now i am testing, if it is possible/better to use differen
family-ids and typ-files for the different (visible) map-layers.

Gruss
Torsten



More information about the mkgmap-dev mailing list