[Git][debian-gis-team/mkgmap][upstream] New upstream version 0.0.0+svn4905

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Aug 1 04:59:07 BST 2022



Bas Couwenberg pushed to branch upstream at Debian GIS Project / mkgmap


Commits:
a5237450 by Bas Couwenberg at 2022-08-01T05:30:01+02:00
New upstream version 0.0.0+svn4905
- - - - -


2 changed files:

- resources/mkgmap-version.properties
- src/uk/me/parabola/mkgmap/build/MapBuilder.java


Changes:

=====================================
resources/mkgmap-version.properties
=====================================
@@ -1,2 +1,2 @@
-svn.version: 4904
-build.timestamp: 2022-05-30T04:57:04+0100
+svn.version: 4905
+build.timestamp: 2022-07-13T06:18:29+0100


=====================================
src/uk/me/parabola/mkgmap/build/MapBuilder.java
=====================================
@@ -279,6 +279,7 @@ public class MapBuilder implements Configurable {
 			}
 		}
 		demDists = parseDemDists(demDistStr);
+
 	}
 
 	private static List<Integer> parseDemDists(String demDists) {
@@ -367,6 +368,11 @@ public class MapBuilder implements Configurable {
 		DEMFile demFile = map.getDemFile();
 		if (demFile == null)
 			return;
+		if (demDists.size() > src.mapLevels().length) {
+			throw new MapFailedException("More dem-dist values than levels: \n\t" + demDists + "\n\t"
+					+ Arrays.toString(src.mapLevels()) + "\n");
+		}
+
 		try{
 			long t1 = System.currentTimeMillis();
 			java.awt.geom.Area  demArea = null;



View it on GitLab: https://salsa.debian.org/debian-gis-team/mkgmap/-/commit/a52374504b32cf1a9e228e142b5f9ae77007d8e6

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mkgmap/-/commit/a52374504b32cf1a9e228e142b5f9ae77007d8e6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220801/51f2abb9/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list