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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Sep 1 05:12:53 BST 2021



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


Commits:
7b278101 by Bas Couwenberg at 2021-09-01T05:47:10+02:00
New upstream version 0.0.0+svn642
- - - - -


2 changed files:

- resources/splitter-version.properties
- src/org/openstreetmap/osmosis/core/filter/common/PolygonFileReader.java


Changes:

=====================================
resources/splitter-version.properties
=====================================
@@ -1,2 +1,2 @@
-svn.version: 615
-build.timestamp: 2021-06-30T10:03:46+0100
+svn.version: 642
+build.timestamp: 2021-08-10T14:31:18+0100


=====================================
src/org/openstreetmap/osmosis/core/filter/common/PolygonFileReader.java
=====================================
@@ -252,9 +252,11 @@ public class PolygonFileReader {
 		if (beginPoint != null) {
 			polygonPath.moveTo(beginPoint[0], beginPoint[1]);
 		}
-		
 		// Convert the path into an area and return.
-		return new Area(polygonPath);
+		Area area = new Area(polygonPath);
+		if (!area.isSingular())
+			throw new OsmosisRuntimeException("Invalid polygon ring in polygon-file, possibly self-intersecting");
+		return area;
 	}
 	
 	



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

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mkgmap-splitter/-/commit/7b27810136b67fa27dbdc171d73f650589b11074
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/20210901/70292aed/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list