logo separator

[mkgmap-dev] No index files written with certain options

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Jan 18 10:14:21 GMT 2017

Hi Steve,

the patch introduces new problems, e.g. the files are not created if --index is given without --gmapsupp.
Also --no-tdbfile doesn't work with --nsis (I think this combination should cause an IllegalArgumentException)

The need for the --tdbfile option with --index  is documented, so maybe it would be better to fix the creation of the *.nsi file.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen at hotmail.com>
Gesendet: Mittwoch, 18. Januar 2017 10:37:29
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] No index files written with certain options

Hi Steve,

I've noticed that mkgmap doesn't write the index files for the PC when called with these options:
java -jar mkgmap.jar --nsis --index --gmapsupp *.o5m

It doesn't create *_mdr.img or *.mdx BUT the created *.nsi file expects the index files.

The files are created if I add option --tdbfile or when I remove --gmapsupp.
This is quite confusing.
I've attached a patch to fix this, please review and commit if you think it is okay.

Gerd




More information about the mkgmap-dev mailing list