
Hello, I'm in the process of moving some functionality from an old .osm processor into a mkgmap style, and I'd like to have both old and new styles on the device (a gpsmap64s) at the same time for comparison. Before I even got that far I couldn't find a way of changing the mapset name that is produced. The script I'm using is https://github.com/SomeoneElseOSM/mkgmap_style_ajt/blob/master/garmin_map_et... (be aware that that currently has some hardcoded paths in it). so I'm using "--gmapsupp" to create a ".img" file that I can copy to the device. ".../mkgmap/trunk/src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java" contains the default name of "OSM Map Set", and if I change the default there it does change the value I can see in the .img file. Despite that bit of code appearing to be reading an argument from somewhere, setting "--mapset name=" doesn't seem to work - mkgmap exits with "Invalid option: 'mapset-name'". Is there perhaps some order in which the arguments need to be applied? I've got one lot of input files (6*.osm.gz from splitter) some intermediate output files (6*.img) and then the final output from the --gmapsupp - gmapsupp.img, so it's not exactly clear what order would make sense. Best Regards, Andy

Hi Andy, seems this option is not documented yet. Try --x-mapset-name for now. I'll try to find a documentation later. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andy Townsend <ajt1047@gmail.com> Gesendet: Sonntag, 17. März 2019 13:01 An: Development list for mkgmap Betreff: [mkgmap-dev] Setting mapset-name? Hello, I'm in the process of moving some functionality from an old .osm processor into a mkgmap style, and I'd like to have both old and new styles on the device (a gpsmap64s) at the same time for comparison. Before I even got that far I couldn't find a way of changing the mapset name that is produced. The script I'm using is https://github.com/SomeoneElseOSM/mkgmap_style_ajt/blob/master/garmin_map_et... (be aware that that currently has some hardcoded paths in it). so I'm using "--gmapsupp" to create a ".img" file that I can copy to the device. ".../mkgmap/trunk/src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java" contains the default name of "OSM Map Set", and if I change the default there it does change the value I can see in the .img file. Despite that bit of code appearing to be reading an argument from somewhere, setting "--mapset name=" doesn't seem to work - mkgmap exits with "Invalid option: 'mapset-name'". Is there perhaps some order in which the arguments need to be applied? I've got one lot of input files (6*.osm.gz from splitter) some intermediate output files (6*.img) and then the final output from the --gmapsupp - gmapsupp.img, so it's not exactly clear what order would make sense. Best Regards, Andy

Hi all, if I got that right the field that is changed with the undocumented option --x-mapset-name has the same meaning for gmapsupp.img as --family-name has for other files like tdb, nsis, or gmapi. So, I am not sure what to do with this option. My current thinking is that the code for the undocumented option should be changed to evaluate --family-name. Does that make sense? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Sonntag, 17. März 2019 13:07 An: Andy Townsend; Development list for mkgmap Betreff: Re: [mkgmap-dev] Setting mapset-name? Hi Andy, seems this option is not documented yet. Try --x-mapset-name for now. I'll try to find a documentation later. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andy Townsend <ajt1047@gmail.com> Gesendet: Sonntag, 17. März 2019 13:01 An: Development list for mkgmap Betreff: [mkgmap-dev] Setting mapset-name? Hello, I'm in the process of moving some functionality from an old .osm processor into a mkgmap style, and I'd like to have both old and new styles on the device (a gpsmap64s) at the same time for comparison. Before I even got that far I couldn't find a way of changing the mapset name that is produced. The script I'm using is https://github.com/SomeoneElseOSM/mkgmap_style_ajt/blob/master/garmin_map_et... (be aware that that currently has some hardcoded paths in it). so I'm using "--gmapsupp" to create a ".img" file that I can copy to the device. ".../mkgmap/trunk/src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java" contains the default name of "OSM Map Set", and if I change the default there it does change the value I can see in the .img file. Despite that bit of code appearing to be reading an argument from somewhere, setting "--mapset name=" doesn't seem to work - mkgmap exits with "Invalid option: 'mapset-name'". Is there perhaps some order in which the arguments need to be applied? I've got one lot of input files (6*.osm.gz from splitter) some intermediate output files (6*.img) and then the final output from the --gmapsupp - gmapsupp.img, so it's not exactly clear what order would make sense. Best Regards, Andy _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi I've never seen the value of mapset-name (default "OSM map set") appear in any context on either of my devices, but I do see the value of - -family-name on the eTrex Legend in one of the "Map Setup" sub-menus, where there are options to Hide/Show Basemap and Hide/Show {family -name} and this disables/enables all the tiles in the gmapsupp.img On the eTrex 30x, the equivalent function to enable/disable maps picks the description from an arbitrary tile in the map and shows that to indicate the complete map - very stupid. So I don't think you should combine them in any way. If anyone has ever seen mapset-name anywhere on any device, maybe they could report it and it could then be documented, but for the moment, any changes would be pointless. Regards Ticker On Tue, 2019-03-19 at 09:07 +0000, Gerd Petermann wrote:
Hi all,
if I got that right the field that is changed with the undocumented option --x-mapset-name has the same meaning for gmapsupp.img as --family-name has for other files like tdb, nsis, or gmapi. So, I am not sure what to do with this option. My current thinking is that the code for the undocumented option should be changed to evaluate --family-name.
Does that make sense?
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Sonntag, 17. März 2019 13:07 An: Andy Townsend; Development list for mkgmap Betreff: Re: [mkgmap-dev] Setting mapset-name?
Hi Andy,
seems this option is not documented yet. Try --x-mapset-name for now. I'll try to find a documentation later.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andy Townsend <ajt1047@gmail.com> Gesendet: Sonntag, 17. März 2019 13:01 An: Development list for mkgmap Betreff: [mkgmap-dev] Setting mapset-name?
Hello,
I'm in the process of moving some functionality from an old .osm processor into a mkgmap style, and I'd like to have both old and new styles on the device (a gpsmap64s) at the same time for comparison.
Before I even got that far I couldn't find a way of changing the mapset name that is produced. The script I'm using is https://github .com/SomeoneElseOSM/mkgmap_style_ajt/blob/master/garmin_map_etrex.sh (be aware that that currently has some hardcoded paths in it). so I'm using "--gmapsupp" to create a ".img" file that I can copy to the device.
".../mkgmap/trunk/src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder .java" contains the default name of "OSM Map Set", and if I change the default there it does change the value I can see in the .img file. Despite that bit of code appearing to be reading an argument from somewhere, setting "--mapset name=" doesn't seem to work - mkgmap exits with "Invalid option: 'mapset-name'".
Is there perhaps some order in which the arguments need to be applied? I've got one lot of input files (6*.osm.gz from splitter) some intermediate output files (6*.img) and then the final output from the --gmapsupp - gmapsupp.img, so it's not exactly clear what order would make sense.
Best Regards,
Andy
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Andy Townsend
-
Gerd Petermann
-
Ticker Berkin