diff --git a/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/ui/GeometryLocationsWriter.java b/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/ui/GeometryLocationsWriter.java index 41c00982a3..9890aecfa7 100644 --- a/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/ui/GeometryLocationsWriter.java +++ b/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/ui/GeometryLocationsWriter.java @@ -145,6 +145,12 @@ public String writeComponentLocation(Geometry geom, Coordinate p, double toleran } else { buf.append("(" + comp.getNumPoints() + ")"); + if (comp.getDimension() >= 1) { + buf.append(" Len: " + comp.getLength()); + } + if (comp.getDimension() >= 2) { + buf.append(" Area: " + comp.getArea()); + } } if (comp.getUserData() != null) { buf.append(" Data: ");