logo separator

[mkgmap-dev] Setting mapset-name?

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Mar 19 09:07:56 GMT 2019

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 at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at 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 at lists.mkgmap.org.uk> im Auftrag von Andy Townsend <ajt1047 at 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 at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list