logo separator

[mkgmap-dev] Error or feature?

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Dec 23 06:24:12 GMT 2024

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-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
Gesendet: Donnerstag, 19. Dezember 2024 07:18
An: mkgmap-dev at 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 at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy-typ-file.patch
Type: application/octet-stream
Size: 1180 bytes
Desc: copy-typ-file.patch
URL: <https://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20241223/dcfa15ee/attachment.obj>


More information about the mkgmap-dev mailing list