From 416c01cc87982cf2d94f062b4b0051b4fc28a416 Mon Sep 17 00:00:00 2001 From: jameswillis Date: Mon, 10 Jun 2024 13:07:47 -0700 Subject: [PATCH] modify GeometryFixer api docs to reflect that a fixed polygon may become a multipolygon Signed-off-by: jameswillis --- .../main/java/org/locationtech/jts/geom/util/GeometryFixer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/main/java/org/locationtech/jts/geom/util/GeometryFixer.java b/modules/core/src/main/java/org/locationtech/jts/geom/util/GeometryFixer.java index 7e1c2c0d9d..c8305a21c7 100644 --- a/modules/core/src/main/java/org/locationtech/jts/geom/util/GeometryFixer.java +++ b/modules/core/src/main/java/org/locationtech/jts/geom/util/GeometryFixer.java @@ -50,7 +50,7 @@ *
  • Point: keep valid coordinate, or EMPTY
  • *
  • LineString: coordinates are fixed
  • *
  • LinearRing: coordinates are fixed. Keep valid ring, or else convert into LineString
  • - *
  • Polygon: transform into a valid polygon, + *
  • Polygon: transform into a valid polygon or multipolygon, * preserving as much of the extent and vertices as possible. *
      *
    • Rings are fixed to ensure they are valid