logo separator

[mkgmap-dev] mkgmap --index --tdbfile with combined contours ???

From Carlos Dávila cdavilam at orangecorreo.es on Tue Mar 19 20:07:45 GMT 2013

El 19/03/13 15:44, prenard escribió:
> Hi,
>
> I would like to create a map with "combined contours" and "address search"
> functionality.
>
> First, I have created the map without contour using the following command:
>
> java -Xmx1200M -jar W:\save-w\softs\OSM_mkgmap\mkgmap.jar ^
>       --series-name="France Nord + Belg + Lux - V20130318" ^
>       --product-id=1 ^
>       --family-id=8000 ^
>       --family-name="OSM - My map" ^
>       --gmapsupp ^
>       --output-dir=..\img ^
>       --generate-sea=extend-sea-sectors,close-gaps=5000 ^
>       --remove-short-arcs ^
>       --route ^
>       --index ^
>       --tdbfile ^
>
> --bounds=W:\save-w\softs-conf\OSM\my_maps\France-Nord_Belgique_Luxembourg\V20130308\osm\bounds
> ^
>       --location-autofill=is_in,nearest ^
>       --show-profiles=1 ^
>    
You don't need show-profiles in this run, because the map is being 
generated doesn't have contours and thus profiles can't be shown.
>       --draw-priority=25 ^
>       -c ..\osm-pbf\template.args ^
>       ..\typ\mapnik.typ
>
> It is ok: search function is working in Mapsource.
>
> Now, I would like to combine this map with "contours layers" using the
> following commande:
>
> java -Xmx1200M -jar W:\save-w\softs\OSM_mkgmap\mkgmap.jar ^
>       --series-name="France Nord + Belg + Lux - V20130318" ^
>       --gmapsupp ^
>       --output-dir=..\img-contours ^
>       --product-id=1 ^
>       --family-id=9000 ^
>       --family-name="SRTM-10" ^
>       --draw-priority=28 ^
>       --transparent ^
>       -c ..\srtm-pbf\template.args ^
>       --product-id=1 ^
>       --family-id=8000 ^
>       --family-name="OSM - My map" ^
>       --generate-sea=extend-sea-sectors,close-gaps=5000 ^
>       --draw-priority=25 ^
>       --remove-short-arcs ^
>       --show-profiles=1 ^
>       --route ^
>       --index ^
>       --tdbfile ^
>
> --bounds=W:\save-w\softs-conf\OSM\my_maps\France-Nord_Belgique_Luxembourg\V20130308\osm\bounds
> ^
>       --location-autofill=is_in,nearest ^
>       --show-profiles=1 ^
>       -c ..\osm-pbf\template.args ^
>       ..\typ\mapnik.typ
>
> Map is generated but, this time search is not working in Mapsource...
>
> I think that the problem is due to options order...
>
> Could you help me ?
>    
Why don't you try compiling osm imgs in one step, contours imgs in 
another step and then combine them in a third step?


More information about the mkgmap-dev mailing list