logo separator

[mkgmap-dev] License File

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Apr 18 20:12:03 BST 2020

Hans,

yes, in the java code I find
                                .replace("$LONGDATE$", now.format(DateTimeFormatter.ofLocalizedDate(FormatStyle.LONG)))
                                .replace("$SHORTDATE$", now.format(DateTimeFormatter.ofLocalizedDate(FormatStyle.SHORT)))
so the underscore should be removed from the documentation.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Hans Straßgütl <hans at motorradtouren.de>
Gesendet: Samstag, 18. April 2020 21:06
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] License File

All,

paramter --license-file=filename

Specify a file which content will be added as license. The license file must be UTF-8 encoded. The following symbols will be substituted by mkgmap: $MKGMAP_VERSION$, $JAVA_VERSION$, $YEAR$, $LONG_DATE$, $SHORT_DATE$ and $TIME$. Time and date substitutions use the local date and time formats. All entries of all maps will be merged in the overview map.
Not working:
$LONG_DATE$, $SHORT_DATE$

All others work.

Regards Hans




Am 18.04.2020 um 19:58 schrieb Mike Baggaley:

Hi Gerd, now I understand where the file came from, I don't propose any
changes to the code, but attached is a patch to the documentation that adds
some information to assist users in making use of the --nsis option.

I have also replaced most of the occurrences of MapSource with BaseCamp as
MapSource was superseded 10 years ago by BaseCamp.

Also simplified the --index documentation - I think the information about
two indexes and sending a map to the GPS that is  currently included is
confusing and unnecessary, but you may not agree.

Cheers,
Mike

-----Original Message-----
From: Gerd Petermann [mailto:gpetermann_muenchen at hotmail.com]
Sent: 17 April 2020 05:15
To: 'Development list for mkgmap' <mkgmap-dev at lists.mkgmap.org.uk><mailto:mkgmap-dev at lists.mkgmap.org.uk>
Subject: Re: [mkgmap-dev] License File <mapid>000_license.txt

Hi Mike,

see also content of directory mkgmap\resources\installer. I know that Minko
uses his own version of the file license_template.txt for the OFM maps.
Also Thorsten Kukuks scripts seem to create these files in his scripts.

If we change something here we have to do it with great care.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike
Baggaley <mike at tvage.co.uk><mailto:mike at tvage.co.uk>
Gesendet: Freitag, 17. April 2020 00:21
An: 'Development list for mkgmap'
Betreff: Re: [mkgmap-dev] License File <mapid>000_license.txt

Answering my own question - I have realised that this is created by the
--nsis option, which I had mistakenly got in my config file, and is used by
the NSIS installer rather than the maps themselves. However, it seems
illogical to me that this should not use the contents of --license-file.

Cheers,
Mike

-----Original Message-----
From: Mike Baggaley [mailto:mike at tvage.co.uk]
Sent: 16 April 2020 19:34
To: 'Development list for mkgmap' <mkgmap-dev at lists.mkgmap.org.uk><mailto:mkgmap-dev at lists.mkgmap.org.uk>
Subject: License File <mapid>000_license.txt

Hi all, I notice that mkgmap creates a file named <mapid>000_license.txt
that contains the following text:

Map data (c) OpenStreetMap and its contributors
http://www.openstreetmap.org/copyright

This map data is made available under the Open Database License:
http://opendatacommons.org/licenses/odbl/1.0/.
Any rights in individual contents of the database are licensed under the
Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/
Map created with mkgmap-r4473M

This does not seem to be displayable in either Basecamp or Mapsource and
does not contain the txt from my --license-file option. Can anyone explain
what this file is for and whether there is a registry setting to get
Basecamp/Mapsource to display it? Also whether there is a reason it does not
contain the text from the --license-file option?

Cheers,
Mike

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



More information about the mkgmap-dev mailing list