Maps with contours shows two maps in some devices (i.e. Zumo XT)

Hi there. I create my maps with contours using the following command java -jar ./mkgmap/mkgmap.jar --description="*$family_name - OSM*" --output-dir="$dest"/ \ --family-id=10030 --product-id=1 --family-name="*$family_name - Map*" --route --remove-short-arcs --bounds=bounds.zip \ --precomp-sea=sea.zip --location-autofill=is_in,nearest --draw-priority=20 --gmapsupp --index --housenumbers "$work"/"$suffix"*osm.pbf ./typ/gspeed.typ \ --family-id=10031 --product-id=1 --family-name="*$family_name - Contours*" --draw-priority=10000 --transparent $contours ./typ/gspeedContours.typ In blue the part that refers to contours. Mapids for the two sets are different. On my Garmin Montana I see just one map with the name passed in --description option (*$family_name - OSM*). On an old Garmin Nuvi I see two maps, the real map with streets (named *$family_name - Map*) and the one with contours (named *$family_name - Contours*), which I can enable/disable individually. On the new Garmin Zumo XT I see two maps, both named *$family_name - OSM. *I can't disable just one of the two, they seems to be linked and it is weirs they show up with very same name in the list. Question: is there a way I can merge the two maps so I get the same behaviour anywhere? Thanks! Enrico

Hi Enrico, no idea if a single gmapsupp.img can contain two map sets with different family ids and multiple typ files. Is it important for you that you have the contours in a different map set? If not, I would merge the osm data and the contour data first, use splitter on the merged data to have a single map containing osm data and contours. That's how I create my own maps. The only problem that you have to take care of is that the contour data must not contain ids which overlap the OSM ids. I just noticed that my file Hoehendaten_Freizeitkarte_EUROPE.osm.pbf contains node ids starting with 7.500.000.000, so I have to create or download a new file now. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Enrico Liboni <eliboni@gmail.com> Gesendet: Montag, 8. Juni 2020 10:22 An: Development list for mkgmap Betreff: [mkgmap-dev] Maps with contours shows two maps in some devices (i.e. Zumo XT) Hi there. I create my maps with contours using the following command java -jar ./mkgmap/mkgmap.jar --description="$family_name - OSM" --output-dir="$dest"/ \ --family-id=10030 --product-id=1 --family-name="$family_name - Map" --route --remove-short-arcs --bounds=bounds.zip \ --precomp-sea=sea.zip --location-autofill=is_in,nearest --draw-priority=20 --gmapsupp --index --housenumbers "$work"/"$suffix"*osm.pbf ./typ/gspeed.typ \ --family-id=10031 --product-id=1 --family-name="$family_name - Contours" --draw-priority=10000 --transparent $contours ./typ/gspeedContours.typ In blue the part that refers to contours. Mapids for the two sets are different. On my Garmin Montana I see just one map with the name passed in --description option ($family_name - OSM). On an old Garmin Nuvi I see two maps, the real map with streets (named $family_name - Map) and the one with contours (named $family_name - Contours), which I can enable/disable individually. On the new Garmin Zumo XT I see two maps, both named $family_name - OSM. I can't disable just one of the two, they seems to be linked and it is weirs they show up with very same name in the list. Question: is there a way I can merge the two maps so I get the same behaviour anywhere? Thanks! Enrico

Hi Gerd, Faced a similar problem today. Perhaps this is a strange question, but I still ask it. Is it possible to use MkGmap to convert multiply input files to _single_ output IMG map file ? NOT a container like gmapsup.img For example, I want to convert: 1 .osm and 1 .mp [with same BBox] => single .img ?
Понедельник, 8 июня 2020, 12:14 +03:00 от Gerd Petermann <gpetermann_muenchen@hotmail.com>: Hi Enrico,
no idea if a single gmapsupp.img can contain two map sets with different family ids and multiple typ files. Is it important for you that you have the contours in a different map set? If not, I would merge the osm data and the contour data first, use splitter on the merged data to have a single map containing osm data and contours. That's how I create my own maps. The only problem that you have to take care of is that the contour data must not contain ids which overlap the OSM ids.
I just noticed that my file Hoehendaten_Freizeitkarte_EUROPE.osm.pbf contains node ids starting with 7.500.000.000, so I have to create or download a new file now.
Gerd
________________________________________ Von: mkgmap-dev < mkgmap-dev-bounces@lists.mkgmap.org.uk > im Auftrag von Enrico Liboni < eliboni@gmail.com > Gesendet: Montag, 8. Juni 2020 10:22 An: Development list for mkgmap Betreff: [mkgmap-dev] Maps with contours shows two maps in some devices (i.e. Zumo XT)
Hi there.
I create my maps with contours using the following command
java -jar ./mkgmap/mkgmap.jar --description="$family_name - OSM" --output-dir="$dest"/ \ --family-id=10030 --product-id=1 --family-name="$family_name - Map" --route --remove-short-arcs --bounds=bounds.zip \ --precomp-sea=sea.zip --location-autofill=is_in,nearest --draw-priority=20 --gmapsupp --index --housenumbers "$work"/"$suffix"*osm.pbf ./typ/gspeed.typ \ --family-id=10031 --product-id=1 --family-name="$family_name - Contours" --draw-priority=10000 --transparent $contours ./typ/gspeedContours.typ
In blue the part that refers to contours. Mapids for the two sets are different.
On my Garmin Montana I see just one map with the name passed in --description option ($family_name - OSM). On an old Garmin Nuvi I see two maps, the real map with streets (named $family_name - Map) and the one with contours (named $family_name - Contours), which I can enable/disable individually. On the new Garmin Zumo XT I see two maps, both named $family_name - OSM. I can't disable just one of the two, they seems to be linked and it is weirs they show up with very same name in the list.
Question: is there a way I can merge the two maps so I get the same behaviour anywhere?
Thanks! Enrico _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Vadim Karpov

Hi Vadim, with the current version of the program it is not possible. With equal bboxes it might be possible, though. What would be the content of the two files? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Vadim Karpov <bombur@mail.ru> Gesendet: Montag, 8. Juni 2020 13:12 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Maps with contours shows two maps in some devices (i.e. Zumo XT) Hi Gerd, Faced a similar problem today. Perhaps this is a strange question, but I still ask it. Is it possible to use MkGmap to convert multiply input files to _single_ output IMG map file ? NOT a container like gmapsup.img For example, I want to convert: 1 .osm and 1 .mp [with same BBox] => single .img ? Понедельник, 8 июня 2020, 12:14 +03:00 от Gerd Petermann <gpetermann_muenchen@hotmail.com>: Hi Enrico, no idea if a single gmapsupp.img can contain two map sets with different family ids and multiple typ files. Is it important for you that you have the contours in a different map set? If not, I would merge the osm data and the contour data first, use splitter on the merged data to have a single map containing osm data and contours. That's how I create my own maps. The only problem that you have to take care of is that the contour data must not contain ids which overlap the OSM ids. I just noticed that my file Hoehendaten_Freizeitkarte_EUROPE.osm.pbf contains node ids starting with 7.500.000.000, so I have to create or download a new file now. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk</compose?To=mkgmap%2ddev%2dbounces@lists.mkgmap.org.uk>> im Auftrag von Enrico Liboni <eliboni@gmail.com</compose?To=eliboni@gmail.com>> Gesendet: Montag, 8. Juni 2020 10:22 An: Development list for mkgmap Betreff: [mkgmap-dev] Maps with contours shows two maps in some devices (i.e. Zumo XT) Hi there. I create my maps with contours using the following command java -jar ./mkgmap/mkgmap.jar --description="$family_name - OSM" --output-dir="$dest"/ \ --family-id=10030 --product-id=1 --family-name="$family_name - Map" --route --remove-short-arcs --bounds=bounds.zip \ --precomp-sea=sea.zip --location-autofill=is_in,nearest --draw-priority=20 --gmapsupp --index --housenumbers "$work"/"$suffix"*osm.pbf ./typ/gspeed.typ \ --family-id=10031 --product-id=1 --family-name="$family_name - Contours" --draw-priority=10000 --transparent $contours ./typ/gspeedContours.typ In blue the part that refers to contours. Mapids for the two sets are different. On my Garmin Montana I see just one map with the name passed in --description option ($family_name - OSM). On an old Garmin Nuvi I see two maps, the real map with streets (named $family_name - Map) and the one with contours (named $family_name - Contours), which I can enable/disable individually. On the new Garmin Zumo XT I see two maps, both named $family_name - OSM. I can't disable just one of the two, they seems to be linked and it is weirs they show up with very same name in the list. Question: is there a way I can merge the two maps so I get the same behaviour anywhere? Thanks! Enrico _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk</compose?To=mkgmap%2ddev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- Vadim Karpov

I use negative IDs in my non OSM data files to ensure they don't overlap. It doesn't seem to cause any problems and has the advantage that if I get any logged messages with negative IDs I know they are not referring to OSM data. Cheers, Mike -----Original Message----- From: Gerd Petermann [mailto:gpetermann_muenchen@hotmail.com] Sent: 08 June 2020 10:14 To: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Subject: Re: [mkgmap-dev] Maps with contours shows two maps in some devices (i.e. Zumo XT) Hi Enrico, no idea if a single gmapsupp.img can contain two map sets with different family ids and multiple typ files. Is it important for you that you have the contours in a different map set? If not, I would merge the osm data and the contour data first, use splitter on the merged data to have a single map containing osm data and contours. That's how I create my own maps. The only problem that you have to take care of is that the contour data must not contain ids which overlap the OSM ids. I just noticed that my file Hoehendaten_Freizeitkarte_EUROPE.osm.pbf contains node ids starting with 7.500.000.000, so I have to create or download a new file now. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Enrico Liboni <eliboni@gmail.com> Gesendet: Montag, 8. Juni 2020 10:22 An: Development list for mkgmap Betreff: [mkgmap-dev] Maps with contours shows two maps in some devices (i.e. Zumo XT) Hi there. I create my maps with contours using the following command java -jar ./mkgmap/mkgmap.jar --description="$family_name - OSM" --output-dir="$dest"/ \ --family-id=10030 --product-id=1 --family-name="$family_name - Map" --route --remove-short-arcs --bounds=bounds.zip \ --precomp-sea=sea.zip --location-autofill=is_in,nearest --draw-priority=20 --gmapsupp --index --housenumbers "$work"/"$suffix"*osm.pbf ./typ/gspeed.typ \ --family-id=10031 --product-id=1 --family-name="$family_name - Contours" --draw-priority=10000 --transparent $contours ./typ/gspeedContours.typ In blue the part that refers to contours. Mapids for the two sets are different. On my Garmin Montana I see just one map with the name passed in --description option ($family_name - OSM). On an old Garmin Nuvi I see two maps, the real map with streets (named $family_name - Map) and the one with contours (named $family_name - Contours), which I can enable/disable individually. On the new Garmin Zumo XT I see two maps, both named $family_name - OSM. I can't disable just one of the two, they seems to be linked and it is weirs they show up with very same name in the list. Question: is there a way I can merge the two maps so I get the same behaviour anywhere? Thanks! Enrico

@Gerd - it worked well, i.e. two map sets are in. I believe the advantage is on performance since once you processed the img contours once, you can reuse. Plus, on my old Nuvi it allowed to just use the contour as a transparent layer on other maps as well. However, it may not be a standard way to build a map... I'll try your suggestion, thanks. *From* Gerd Petermann gpetermann_muenchen at hotmail.com <mkgmap-dev%40lists.mkgmap.org.uk?Subject=Re:%20Re%3A%20%5Bmkgmap-dev%5D%20Maps%20with%20contours%20shows%20two%20maps%20in%20some%0A%09devices%09%28i.e.%20Zumo%20XT%29&In-Reply-To=%3CAM0PR08MB5410680646200A44DA4735E39E850%40AM0PR08MB5410.eurprd08.prod.outlook.com%3E> *on* *Mon Jun 8 10:14:13 BST 2020* Hi Enrico, no idea if a single gmapsupp.img can contain two map sets with different family ids and multiple typ files. Is it important for you that you have the contours in a different map set? If not, I would merge the osm data and the contour data first, use splitter on the merged data to have a single map containing osm data and contours. That's how I create my own maps. The only problem that you have to take care of is that the contour data must not contain ids which overlap the OSM ids. I just noticed that my file Hoehendaten_Freizeitkarte_EUROPE.osm.pbf contains node ids starting with 7.500.000.000, so I have to create or download a new file now. Gerd On Mon, Jun 8, 2020 at 10:22 AM Enrico Liboni <eliboni@gmail.com> wrote:
Hi there.
I create my maps with contours using the following command
java -jar ./mkgmap/mkgmap.jar --description="*$family_name - OSM*" --output-dir="$dest"/ \ --family-id=10030 --product-id=1 --family-name="*$family_name - Map*" --route --remove-short-arcs --bounds=bounds.zip \ --precomp-sea=sea.zip --location-autofill=is_in,nearest --draw-priority=20 --gmapsupp --index --housenumbers "$work"/"$suffix"*osm.pbf ./typ/gspeed.typ \ --family-id=10031 --product-id=1 --family-name="*$family_name - Contours*" --draw-priority=10000 --transparent $contours ./typ/gspeedContours.typ
In blue the part that refers to contours. Mapids for the two sets are different.
On my Garmin Montana I see just one map with the name passed in --description option (*$family_name - OSM*). On an old Garmin Nuvi I see two maps, the real map with streets (named *$family_name - Map*) and the one with contours (named *$family_name - Contours*), which I can enable/disable individually. On the new Garmin Zumo XT I see two maps, both named *$family_name - OSM. *I can't disable just one of the two, they seems to be linked and it is weirs they show up with very same name in the list.
Question: is there a way I can merge the two maps so I get the same behaviour anywhere?
Thanks! Enrico
participants (4)
-
Enrico Liboni
-
Gerd Petermann
-
Mike Baggaley
-
Vadim Karpov