Hi all,

attached patch changes mkgmap so that the modified *.typ file (name prefixed 
with an x) is copied
to the output-directory when --nsis option is used. The code is similar to that 
used with the --gmapi
option.  I really wonder why this wasn't done already. I assu

If nobody complains I'll commit this patch on 2024-12-28 or so.

ciao,
Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Gerd 
Petermann <gpetermann_muenc...@hotmail.com>
Gesendet: Donnerstag, 19. Dezember 2024 07:18
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Error or feature?

Hi all,

this discussion in the German forum 
https://community.openstreetmap.org/t/mkgmap-extra-pois-definieren/122931
brought up an issue with mkgmap and the --nsis option.

With the command
java -jar mkgmap.jar --nsis --output-dir=map examples\typ-files\mapnik.txt 
somedata.osm

the *.typ file is copied into the output directory ./map as expected
while the this sequence which compiles the typ file first
java -jar mkgmap.jar examples\typ-files\mapnik.txt
java -jar mkgmap.jar --nsis --output-dir=map mapnik.typ somedata.osm

doesn't copy the *.typ file to the output directiory ./map but the *.nsi file 
expects it there.

Does anybody remember if there is a good reason for this different behaviour?
For me it looks plain wrong.

Gerd
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Attachment: copy-typ-file.patch
Description: copy-typ-file.patch

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to