diff -Nru mobile-atlas-creator-1.9.16+dfsg1/build.xml mobile-atlas-creator-2.1.0/build.xml
--- mobile-atlas-creator-1.9.16+dfsg1/build.xml 2014-02-06 05:48:14.000000000 +0000
+++ mobile-atlas-creator-2.1.0/build.xml 2018-06-23 07:55:46.000000000 +0000
@@ -1,5 +1,4 @@
-
+
@@ -18,14 +17,18 @@
-
-
+
+
+
-
+
+
+
+
@@ -34,15 +37,16 @@
+
+
+
-
+
-
+
@@ -62,17 +66,14 @@
-
+
-
+
-
-
+
+
@@ -83,8 +84,7 @@
-
+
@@ -107,9 +107,7 @@
-
+
@@ -117,8 +115,7 @@
-
+
@@ -130,33 +127,28 @@
-
+
-
+
-
+
-
+
-
+
@@ -166,11 +158,15 @@
-
+
+
+
+
+
+
@@ -178,6 +174,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -194,125 +203,12 @@
-
-
-
- -libraryjars "${rtlibraryjar}"
- -injars
- "${jar.name}"
- -outjars
- build/temp.jar
- -keepattributes *Annotation*
- -keep class ${main.class} {
- public static void main(java.lang.String[]); }
- -keep class
- mobac.program.* { public *; }
- -keep class mobac.program.interfaces.* {
- public *; }
- -keep class mobac.program.model.package-info
- -keep class
- mobac.program.model.* { public *; }
- -keep class mobac.program.jaxb.* {
- public *; }
- -keep class mobac.program.interfaces.* { public *; }
- -keep
- class mobac.program.download.UserAgent { public *; }
- -keep class
- mobac.exceptions.* { public *; }
- -keep class
- mobac.program.tilestore.berkeleydb.* { *; }
- -keep class
- mobac.program.tilestore.TileStoreEntry { public *; }
- -keep class
- mobac.program.atlascreators.AtlasCreator { public *; }
- -keep class
- mobac.utilities.beanshell.* { public *; }
- -keep class
- mobac.utilities.tar.TarIndex { public *; }
- -keep class
- mobac.utilities.tar.TarIndexedArchive { public *; }
- -keep class
- mobac.data.gpx.gpx11.* { public *; }
- -keep class
- mobac.mapsources.MapSourceTools { public *; }
- -keep class
- mobac.mapsources.MapSourceUrlUpdater { public *; }
- -keep class
- mobac.mapsources.custom.* { *; }
- -keep class org.apache.log4j.Layout {
- public *; }
- -keep class org.apache.log4j.Level { public *; }
- -keep
- class org.apache.commons.lang3.StringEscapeUtils { public *; }
- -keep
- class org.apache.log4j.Category { public *; }
- -keep class
- org.apache.log4j.Priority { public *; }
- -keep class
- org.apache.log4j.spi.LoggingEvent { public *; }
- -keep class
- org.apache.log4j.spi.ThrowableInformation { public *; }
- -keep class
- org.apache.log4j.spi.LocationInfo { public *; }
- -keep class
- org.apache.log4j.PatternLayout { public *; }
- -keep class
- org.apache.log4j.Appender { public *; }
- -keep class
- org.apache.log4j.FileAppender { public *; }
- -keep class
- com.sixlegs.png.PngImage { public *; }
- -keep class bsh.This { public
- *; }
- -keep class bsh.XThis { public *; }
- -keep class
- com.sleepycat.persist.PrimaryIndex { public *; }
- -keepclassmembers
- enum * {
- public static **[] values();
- public static **
- valueOf(java.lang.String);
- }
- -keepclassmembers class *
- implements
- java.io.Serializable {
- static final long serialVersionUID;
- private void
- writeObject(java.io.ObjectOutputStream);
- private void
- readObject(java.io.ObjectInputStream);
- java.lang.Object
- writeReplace();
- java.lang.Object readResolve();
- }
- -keepclassmembers
- class * implements
- com.sleepycat.persist.evolve.Conversion {
- boolean
- equals(java.lang.Object);
- }
- -dontnote java.**
- -dontnote javax.**
- -dontnote com.sun.**
- -dontnote sun.**
- -dontwarn
- -dontoptimize
- -dontobfuscate
-
-
-
-
-
+
-
+
@@ -327,11 +223,11 @@
-
+
+
@@ -348,8 +244,7 @@
-
+
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/CHANGELOG.txt mobile-atlas-creator-2.1.0/CHANGELOG.txt
--- mobile-atlas-creator-1.9.16+dfsg1/CHANGELOG.txt 2014-02-06 05:48:18.000000000 +0000
+++ mobile-atlas-creator-2.1.0/CHANGELOG.txt 2018-06-23 07:44:28.000000000 +0000
@@ -11,6 +11,71 @@
=======
+2.1.0 (2018-??-??)
+ ! 4uMaps.eu fixed
+ ~ Mapsforge updated to version 0.9.1
+ - Removed: map source OpenPisteMap (does not exist anymore)
+ + JAXB libraries included into MOBAC (for Java 9+)
+
+2.0.1 (2017-11-11)
+ ! Fixed: Custom maps source loading problem when using custom map sources in a
+ custom multi-layer map source (#294)
+ ~ Clean-up: USGS map sources (some removed, some updated)
+ + Extra start commands for Java 9:
+ "start_java9.sh", "Mobile Atlas Creator Java9.exe"
+
+2.0.0 (2017-04-14)
+ ~ Mapsforge library updated to version 0.8.0
+ ~ SQLite-jdbc library updated to version 3.16.1
+
+2.0.0 beta 3 (2017-01-02)
+ ~ Mapsforge library updated to version 0.7.0
+ ! Fixed multi-threading problem for MapsForge maps (truncated labels)
+ ~ Updated xerial sqlite-jdbc library to version 3.8.11.2
+ ! Fixed: Mapsforge cusom map did not had an effect
+ + New: Mapsforge custom map property
+ - MapQuest map source deleted (map not available anymore)
+ + Custom Mapsforge Map: Multiple map files ( elements) are now
+ possible (see example)
+ ! Fixed: MOBAC on Windows now works when started on UNC network path
+
+2.0.0 beta 2 (2016-04-24)
+ ! Fixed New Zealand Topographic Maps (see bug #282 & patch #43)
+ - Removed maps: OpenStreetMap Mapnik and OpenSeaMap (maps are no longer
+ available for MOBAC)
+ + Left panel is now resizeable by mouse
+ + Refreshing the preview map view via "F5" now clears the label cache of
+ Mapsforge maps
+ + BeanShell map source: "displayName" added (allows to use non-ascii characters
+ as map name shown in MOBAC
+
+2.0.0 beta 1 (2015-11-26)
+ ~ Mapsforge library updated to version 0.6.0
+ ~ Map pack update certificate re-created due to expired certificate.
+ The map pack update url changed, old MOBAC versions can no longer receive
+ map pack online updates.
+ ! NzTopoMaps updated to new schema
+
+2.0.0 alpha 4 (2015-09-01)
+ + Canada Toporama map source reactivated
+ ~ Mapsforge library updated to version 0.5.2
+
+2.0.0 alpha 3 (2015-04-16)
+ ~ Mapsforge vector maps library updated to 0.5.1
+ ! Mapsforge custom caching implemented (required for correct label rendering)
+
+2.0.0 alpha 2 (2014-10-31)
+ ! Fixed problems using mapsforge vector maps as a layer of a multi-layer map
+ ! TrekBuddyTar: test added for too long layer & map names
+ + Maverick: Old atlas format (.jpg.tile) reactivated as additional atlas format.
+ + New atlas format (experimental): GeoPackage
+
+2.0.0 alpha 1 (2014-07-31)
+ ~ GUI design improved
+ + Custom map sources can be grouped by subdirectories
+ + Direct rendering of bitmap tiles based on mapsforge vector maps
+ (see README.HTM for details).
+
1.9.16 (2014-02-06)
! Background color does not work in case of a multi-layer map source with
only one layer (#252)
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/.classpath mobile-atlas-creator-2.1.0/.classpath
--- mobile-atlas-creator-1.9.16+dfsg1/.classpath 2014-02-06 05:48:18.000000000 +0000
+++ mobile-atlas-creator-2.1.0/.classpath 2018-06-23 07:35:02.000000000 +0000
@@ -4,7 +4,11 @@
-
+
+
+
+
+
@@ -19,19 +23,31 @@
-
-
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/changelog mobile-atlas-creator-2.1.0/debian/changelog
--- mobile-atlas-creator-1.9.16+dfsg1/debian/changelog 2014-03-18 18:19:59.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/changelog 2019-03-05 08:48:41.000000000 +0000
@@ -1,3 +1,22 @@
+mobile-atlas-creator (2.1.0-1~18.04.1) bionic; urgency=medium
+
+ * Backport from Disco.
+ * Updated to fix build and runtime incompatibility with OpenJDK 11.
+ (LP: #1814133)
+
+ -- Tiago Stürmer Daitx Tue, 05 Mar 2019 08:48:41 +0000
+
+mobile-atlas-creator (2.1.0-1) unstable; urgency=low
+
+ * New upstream release
+ - Now build with Java 9 (Closes: #874159)
+ * Remove debian/menu: we already provide the desktop file
+ * Bump Standards-Version to 4.2.1: nothing needs to be changed
+ * Bump debhelper version to 11
+ * Update debian/control to describe this app as mobac (Closes: #777693)
+
+ -- Ying-Chun Liu (PaulLiu) Tue, 27 Nov 2018 13:23:51 +0800
+
mobile-atlas-creator (1.9.16+dfsg1-1) unstable; urgency=low
* New upstream release
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/compat mobile-atlas-creator-2.1.0/debian/compat
--- mobile-atlas-creator-1.9.16+dfsg1/debian/compat 2012-05-06 07:49:40.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/compat 2018-11-27 05:14:45.000000000 +0000
@@ -1 +1 @@
-9
+11
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/control mobile-atlas-creator-2.1.0/debian/control
--- mobile-atlas-creator-1.9.16+dfsg1/debian/control 2014-03-18 18:20:10.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/control 2018-11-27 05:23:33.000000000 +0000
@@ -2,25 +2,30 @@
Section: utils
Priority: optional
Maintainer: Ying-Chun Liu (PaulLiu)
-Build-Depends: debhelper (>= 9), docbook-xsl, javahelper, netpbm, xsltproc
+Build-Depends: debhelper (>= 11), docbook-xsl, javahelper, netpbm, xsltproc
Build-Depends-Indep: ant,
ant-contrib,
ant-optional,
bsh,
default-jdk,
+ libactivation-java,
libcommons-codec-java,
libcommons-io-java,
libcommons-lang3-java,
libdb-je-java (>= 3.3.93),
+ libistack-commons-java,
libitext5-java,
libjtidy-java,
+ libkxml2-java,
liblog4j1.2-java,
+ libmapsforge-java,
libpng-sixlegs-java,
+ libsvgsalamander-java,
libsvn-java,
libsvnkit-java,
proguard,
svnkit
-Standards-Version: 3.9.5
+Standards-Version: 4.2.1
Homepage: https://sourceforge.net/projects/mobac/
Package: mobile-atlas-creator
@@ -32,4 +37,4 @@
Description: program to create offline atlases for GPS/cell phone applications
Formerly known as "TrekBuddy Atlas Creator". This application creates
off-line atlases for the J2ME application TrekBuddy and various other mobile
- applications on Android and WindowsCE.
+ applications on Android and WindowsCE. The abbreviation of ths app is mobac.
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/copyright mobile-atlas-creator-2.1.0/debian/copyright
--- mobile-atlas-creator-1.9.16+dfsg1/debian/copyright 2012-05-24 15:17:23.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/copyright 2018-11-27 05:01:58.000000000 +0000
@@ -4,6 +4,7 @@
Robert
Source: http://sourceforge.net/projects/mobac/
We removed lib/*.jar because those binaries don't contain source code.
+Files-Excluded: lib/*.jar *.exe
Files: *
Copyright: 2010 MOBAC developers
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/install mobile-atlas-creator-2.1.0/debian/install
--- mobile-atlas-creator-1.9.16+dfsg1/debian/install 2012-06-05 18:51:03.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/install 2018-11-27 05:16:25.000000000 +0000
@@ -1,6 +1,6 @@
Mobile_Atlas_Creator.jar usr/share/mobile-atlas-creator
debian/bin/mobile-atlas-creator usr/bin
debian/usr/directories.ini usr/share/mobile-atlas-creator
+debian/usr/mobile-atlas-creator.desktop usr/share/applications
mapsources usr/share/mobile-atlas-creator
mobac.xpm usr/share/pixmaps/mobile-atlas-creator
-debian/usr/mobile-atlas-creator.desktop usr/share/applications
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/menu mobile-atlas-creator-2.1.0/debian/menu
--- mobile-atlas-creator-1.9.16+dfsg1/debian/menu 2011-02-19 18:22:29.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/menu 1970-01-01 00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-?package(mobile-atlas-creator):needs="X11" \
- section="Applications/Science/Geoscience" \
- title="mobile-atlas-creator" command="/usr/bin/mobile-atlas-creator" \
- icon="/usr/share/pixmaps/mobile-atlas-creator/mobac.xpm"
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/mobile-atlas-creator.xml mobile-atlas-creator-2.1.0/debian/mobile-atlas-creator.xml
--- mobile-atlas-creator-1.9.16+dfsg1/debian/mobile-atlas-creator.xml 2010-07-19 09:57:27.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/mobile-atlas-creator.xml 2018-11-27 05:23:51.000000000 +0000
@@ -129,4 +129,26 @@
OPTIONS
The program does not have any options.
+
+ FILES
+
+
+ ${HOME}/.config/mobac
+
+ The directory for per-user configuration files to control the
+ behaviour of &dhpackage;. You might need
+ to delete this directory when upgrading to newer versions.
+
+
+
+
+ ${HOME}/.mobac
+
+ The directory for per-user cache. You might need
+ to delete this directory when upgrading to newer versions.
+
+
+
+
+
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/patches/01_use_system_lib.patch mobile-atlas-creator-2.1.0/debian/patches/01_use_system_lib.patch
--- mobile-atlas-creator-1.9.16+dfsg1/debian/patches/01_use_system_lib.patch 2014-03-18 18:23:03.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/patches/01_use_system_lib.patch 2018-11-27 05:14:30.000000000 +0000
@@ -3,14 +3,17 @@
We are going to use the system provided instead of the embedded ones.
Author: Ying-Chun Liu (PaulLiu)
Last-Update: 2011-02-19
-Index: mobile-atlas-creator-1.9.16+dfsg1/build.xml
+Index: mobile-atlas-creator-2.1.0/build.xml
===================================================================
---- mobile-atlas-creator-1.9.16+dfsg1.orig/build.xml 2014-03-19 02:20:34.093564256 +0800
-+++ mobile-atlas-creator-1.9.16+dfsg1/build.xml 2014-03-19 02:22:45.721441798 +0800
-@@ -26,14 +26,16 @@
+--- mobile-atlas-creator-2.1.0.orig/build.xml
++++ mobile-atlas-creator-2.1.0/build.xml
+@@ -26,20 +26,28 @@
+-
+-
+-
-
-
-
@@ -18,20 +21,35 @@
-
-
-
-+
-+
-+
-+
-+
-+
-+
++
++
++
++
++
++
++
++
++
++
++
++
++
-+
-+
+-
+-
+-
++
++
++
++
++
++
++
++
-
+@@ -89,7 +97,7 @@
@@ -40,15 +58,20 @@
-@@ -167,17 +169,8 @@
+@@ -158,35 +166,8 @@
+
-
-+ value="./ sqlite-jdbc-${sqlite-version}.jar sqlite.jar jai_core.jar jai_codec.jar jai_*.jar /usr/share/java/db-je.jar /usr/share/java/bsh.jar /usr/share/java/commons-codec.jar /usr/share/java/commons-io.jar /usr/share/java/commons-lang3.jar /usr/share/java/jtidy.jar /usr/share/java/itext5.jar /usr/share/java/png.jar /usr/share/java/log4j-1.2.jar" />
+-
++
-
-
+-
+-
+-
+-
+-
-
-
-
@@ -56,15 +79,19 @@
-
-
-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
-@@ -197,7 +190,7 @@
-
--
-+
-
- -libraryjars "${rtlibraryjar}"
- -injars
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/patches/03_dont_use_jai.patch mobile-atlas-creator-2.1.0/debian/patches/03_dont_use_jai.patch
--- mobile-atlas-creator-1.9.16+dfsg1/debian/patches/03_dont_use_jai.patch 2014-03-18 18:23:17.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/patches/03_dont_use_jai.patch 2018-11-27 04:51:20.000000000 +0000
@@ -2,11 +2,11 @@
We don't have it in Debian yet. Remove the support of PNG8 and PNG4 savings.
Author: Ying-Chun Liu (PaulLiu)
Last-Update: 2011-02-19
-Index: mobile-atlas-creator-1.9.16+dfsg1/src/main/java/mobac/optional/JavaAdvancedImaging.java
+Index: mobile-atlas-creator-2.1.0/src/main/java/mobac/optional/JavaAdvancedImaging.java
===================================================================
---- mobile-atlas-creator-1.9.16+dfsg1.orig/src/main/java/mobac/optional/JavaAdvancedImaging.java 2014-03-19 02:23:14.163672422 +0800
-+++ mobile-atlas-creator-1.9.16+dfsg1/src/main/java/mobac/optional/JavaAdvancedImaging.java 2014-03-19 02:23:14.155672920 +0800
-@@ -20,9 +20,6 @@
+--- mobile-atlas-creator-2.1.0.orig/src/main/java/mobac/optional/JavaAdvancedImaging.java
++++ mobile-atlas-creator-2.1.0/src/main/java/mobac/optional/JavaAdvancedImaging.java
+@@ -20,9 +20,6 @@ import java.awt.Color;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
@@ -16,7 +16,7 @@
/**
* Centralizes all methods that require the optional Java Advanced Imaging
* library.
-@@ -48,9 +45,19 @@
+@@ -48,9 +45,19 @@ public class JavaAdvancedImaging {
g.dispose();
image = trueColorImage;
}
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/README.Debian mobile-atlas-creator-2.1.0/debian/README.Debian
--- mobile-atlas-creator-1.9.16+dfsg1/debian/README.Debian 1970-01-01 00:00:00.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/README.Debian 2018-11-27 05:23:51.000000000 +0000
@@ -0,0 +1,7 @@
+mobac for Debian
+-----------------------
+
+When upgrading to newer versions, you might need to clean ~/.config/mobac
+and ~/.mobac
+
+ -- Ying-Chun Liu (PaulLiu) Tue, 27 Nov 2018 13:23:51 +0800
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/debian/usr/mobile-atlas-creator.desktop mobile-atlas-creator-2.1.0/debian/usr/mobile-atlas-creator.desktop
--- mobile-atlas-creator-1.9.16+dfsg1/debian/usr/mobile-atlas-creator.desktop 2012-06-05 18:39:36.000000000 +0000
+++ mobile-atlas-creator-2.1.0/debian/usr/mobile-atlas-creator.desktop 2018-11-27 05:09:02.000000000 +0000
@@ -54,6 +54,5 @@
TryExec=/usr/bin/mobile-atlas-creator
Exec=/usr/bin/mobile-atlas-creator
Terminal=false
-MimeType=
Categories=Education;Geography
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/misc/launch4j.xml mobile-atlas-creator-2.1.0/misc/launch4j.xml
--- mobile-atlas-creator-1.9.16+dfsg1/misc/launch4j.xml 2014-02-06 05:48:14.000000000 +0000
+++ mobile-atlas-creator-2.1.0/misc/launch4j.xml 2018-06-23 07:51:36.000000000 +0000
@@ -1,3 +1,4 @@
+
true
gui
@@ -9,27 +10,32 @@
normal
http://java.com/download
- false
false
+ false
mobac.ico
- 1.6.0_14
+ false
+ false
+ 1.7.0
preferJre
- 1024
+ 64/32
+ 1200
- 1.0.0.0
+ 2.1.0.0
-
Mobile Atlas Creator Windows Launcher
MOBAC developers
- 1.0.0.0
+ 2.1.0.0
-
Mobile Atlas Creator
- Mobile Atlas Creator 1024MB max Heap
+ Mobile Atlas Creator 1200MB max Heap
Mobile Atlas Creator.exe
+
+ ENGLISH_US
\ No newline at end of file
diff -Nru mobile-atlas-creator-1.9.16+dfsg1/README.HTM mobile-atlas-creator-2.1.0/README.HTM
--- mobile-atlas-creator-1.9.16+dfsg1/README.HTM 2014-02-06 05:47:54.000000000 +0000
+++ mobile-atlas-creator-2.1.0/README.HTM 2017-01-23 01:32:16.000000000 +0000
@@ -118,6 +118,8 @@
Custom BeanShell map
sources
Custom MapPack
+ MOBAC integrated rendering of
+ tiles based on OpenStreetmap (mapsforge) vector data
Custom atlas as map source /
locally generated tiles
@@ -159,9 +161,7 @@
- This application requires that a Java Runtime Environment
- Version 6 Update 14 (v1.6.0_14) or higher is installed on the
- computer.
+ This application requires that a Java SE Runtime Environment 7 or higher is installed on the computer.
If you have the choice between different Java Runtimes you
should prefer the Java Runtime provided by Sun/Oracle. Especially the
OpenJDK has some bugs regarding MOBAC and tends to crash on certain
@@ -1029,7 +1029,7 @@
If have a new online map which is not available in Mobile Atlas
Creator there my be change to add it. Before opening a Feature Request
please take a look into the list
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/misc/Incompatible%20maps.txt">list
of map sources known to incompatible with Mobile Atlas Creator.
@@ -1122,7 +1122,7 @@
For changing the directory configuration pattern for all users of a
MOBAC installation save this
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/directories.ini.template">this
file into the same directory where
Mobile_Atlas_Creator.jar
has been installed into and change it's name to
@@ -1203,7 +1203,7 @@
Annotated
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/tools/test.xml">Annotated
sample file download
@@ -1299,7 +1299,7 @@
Example file for download:
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/mapsources/Example%20custom%20map%20source.xml">
Example custom map source.xml
@@ -1325,7 +1325,7 @@
</customWmsMapSource>
Example file (with comments) for download:
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/mapsources/Example%20custom%20WMS%20map%20source.xml">
Example custom WMS map source.xml
@@ -1343,6 +1343,7 @@
<customMultiLayerMapSource>
<name>Custom OSM Mapnik with Hills (Ger)</name>
<tileType>PNG</tileType>
+ <backgroundColor>#000000</backgroundColor>
<layers>
<customMapSource>
<name>Custom OSM Mapnik</name>
@@ -1351,7 +1352,6 @@
<tileType>PNG</tileType>
<tileUpdate>None</tileUpdate>
<url>http://tile.openstreetmap.org/{$z}/{$x}/{$y}.png</url>
- <backgroundColor>#000000</backgroundColor>
</customMapSource>
<customMapSource>
<name>Custom transparent hillshade</name>
@@ -1366,7 +1366,7 @@
Example file for download:
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/mapsources/Example%20custom%20multi-layer%20map%20source.xml">
Example custom multi-layer map source.xml
@@ -1387,7 +1387,7 @@
</cloudMade>
Example file for download:
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/mapsources/Example%20CloudMade1960.xml">
Example CloudMade1960.xml
@@ -1410,7 +1410,7 @@
name = "Your map source name here";
Example file for download:
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/mapsources/Example%20beanshell%20map%20source.bsh">
Example beanshell map source.bsh
@@ -1431,6 +1431,60 @@
trunk
version.
+
+
+ Since version 2.0 MOBAC includes the mapsforge rendering
+ engine. This allows MOBAC to render bitmap tiles on-the-fly using
+ Mapsforge vector data files. Those vector data files can be downloaded
+ pre-generated for a large number of regions world-wide. Alternatively
+ you can convert
+ OpenStreetMap data to mapsforge format on your own. The map rendering
+ of the vector data can be configured using xml
+ base render themes.
+
+ For using mapsforge vector data within MOBAC the following steps
+ are required:
+
+ - Download or
+ create a mapsforge vector data file and save it on your compurter
+ - Create a custom XML map source file in the mapsources
+ subdirectory similar to the example
+ file.
+<?xml version="1.0" encoding="UTF-8"?>
+<mapsforge>
+ <!-- name of the map - as shown in map source list -->
+ <name>Custom Mapsforge</name>
+
+ <!-- optional -->
+ <minZoom>0</minZoom>
+
+ <!-- optional -->
+ <maxZoom>20</maxZoom>
+
+ <!-- absolute or relative file name -->
+ <mapFile>mapsforge-test.map</mapFile>
+
+ <!-- optional default OSMARENDERER Theme -->
+ <!-- <xmlRenderTheme>mytheme.xml</xmlRenderTheme> -->
+
+ <transparent>false</transparent>
+
+ <!-- text size scale factor -->
+ <textScale>1.0</textScale>
+
+</mapsforge>
+
+
+ - Start or Restart MOBAC
+
Tiles can also be packed into one or more zip files and directly used
by MOBAC. For details please see the Example
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/mapsources/Example%20custom%20tile%20zip%20source.xml">Example
custom tile zip source.xml.
Note: When working with
large ZIP files (more than 4 GB) it is required to use Java 7.
- SQLite based atlas formats can also be used directly by MOBAC. For
+ SQLite based atlas formats (RMaps, MBTiles, BigPlanetTracks,
+ NaviComputer or OSMAND) can also be used directly by MOBAC. For
details please see the Example
+ href="http://svn.code.sf.net/p/mobac/code/tags/MOBAC%202.0/v2.0.0%20beta%203/mapsources/Example%20custom%20tile%20SQLite%20source.xml">Example
custom tile SQLite source.xml