mkgmap --index --tdbfile with combined contours ???

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 ^ --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 ? Patrick -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-index-tdbfile-with-combined-contours-t... Sent from the Mkgmap Development mailing list archive at Nabble.com.

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?

That is what I do. Alternatively if you have both in Mapsource, then select all tiles from land maps, then switch to contours and select them as well. Then transfer to device. G "Carlos Dávila" <cdavilam@orangecorreo.es> wrote:
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? _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi
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 always recommend creating the gmapsupp and the mapsource files in a separate run. I believe the command is correct for the gmapsupp file. It will contain two maps, one with family-id=9000 and one with family-id=8000. There will be two indexes, one for each family. (Of course the one for the contour maps will be empty or nearly so). However for mapsource, I think you have to create each map family separately. You will then have two different sets of files to be installed separately. That is if you really need to have them as two separate map families. ..Steve

I've been able to include contours & address search in the same run as a gmapsupp and tdb for mapsource. The only difference perhaps is that I first created separate contour imgs and then converted them to mp files: --mapname=31796991 --family-id=6398 --country-name=uk --index C:\A_MAPU~1\temp\~TMP2N~1.TYP --series-name="devon" --family-name="devon" --overview-mapname=devon --remove-short-arcs --style-file=styles --style=dev3 --generate-sea=multipolygon,extend-sea-sectors,close-gaps=6000,floodblocker --check-roundabouts --drive-on-left --output-dir=C:\A_MAPU~1\temp --transparent --net --route --add-pois-to-areas --add-pois-to-lines --merge-lines --name-tag-list=int_name,name --location-autofill=is_in,nearest --tdbfile --description=devon --draw-priority=10 --show-profiles=1 --x-housenumbers C:\a_mapuploader2\devoncontours\22222222.mp C:\a_mapuploader2\devoncontours\22222223.mp etc etc --gmapsupp K:\osmosis\bin\devon-latest.osm.pbf -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-index-tdbfile-with-combined-contours-t... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Thanks. What is the meaning of the "--x-housenumbers" option ? Patrick -- View this message in context: http://gis.19327.n5.nabble.com/mkgmap-index-tdbfile-with-combined-contours-t... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (5)
-
Carlos Dávila
-
Geoff Sherlock
-
n Willink
-
prenard
-
Steve Ratcliffe