Hi,
coming back to this very old topic ...
On Sat, Mar 05, Ralf Kleineisel wrote:
> Is it possible to change the license info which is embedded in the IMG
> header?
>
> Now it reads "OSM Street map http://www.openstreetmap.org/ Map data
> licenced under Creative Commons Attribution ShareAlike 2.0
> http://creativecommons.org/licenses/by-sa/2.0/", but this is not correct
> when making maps from other data sources.
The last time I had to program in Java is now 15 years ago, and I still
don't like it. C is so much easier, that's while all important projects
like linux kernel and glibc are written in it ;)
I started with a patch to set the copyright message which is shown
during boot of my garmin devices and in the info menu.
By the way, I found out that every string will get a (c) prefix, so the
current two liner "OpenStreetMap.org contributors. See:
http://wiki.openstreetmap.
org/index.php/Attribution" looks curious with that.
As next I would look at the above license text. Is this text somewhere
shown? I couldn't find any place, even if you can find it in the image.
Between, what would be a good wording for the SRTM data?
My current patch is attached.
Thorsten
--
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Index: src/uk/me/parabola/mkgmap/reader/osm/OsmMapDataSource.java
===================================================================
--- src/uk/me/parabola/mkgmap/reader/osm/OsmMapDataSource.java (Revision 2109)
+++ src/uk/me/parabola/mkgmap/reader/osm/OsmMapDataSource.java (Arbeitskopie)
@@ -112,10 +112,9 @@
* @return A list of copyright messages as a String array.
*/
public String[] copyrightMessages() {
- return new String[] {
- "OpenStreetMap.org contributors",
- "See: http://wiki.openstreetmap.org/index.php/Attribution"
- };
+ String note = getConfig().getProperty("copyright-message",
+ "OpenStreetMap.org contributors. See: http://wiki.openstreetmap.org/index.php/Attribution");
+ return new String[] { note };
}
protected void setStyle(Style style) {
Index: resources/help/en/options
===================================================================
--- resources/help/en/options (Revision 2109)
+++ resources/help/en/options (Arbeitskopie)
@@ -225,6 +225,9 @@
If --tdbfile is enabled, this gives the name of the overview
.img and .tdb files. The default map name is osmmap.
+--copyright-message=note
+ This string will be shown as copyright on the Garmin device.
+
--overview-mapnumber=8 digit number
If --tdbfile is enabled, this gives the internal 8 digit
number used in the overview map and tdb file. The default
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev