logo separator

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

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

Hi Steve,

here is v2 which fixes NsisBuilder. Please review.

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 11:14:21
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] No index files written with certain options

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


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nsis_v2.patch
Type: application/x-download
Size: 2134 bytes
Desc: nsis_v2.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170118/5f163b73/attachment-0001.bin>


More information about the mkgmap-dev mailing list