Dear All,
while Polygonizer works fine on other large datasets, one particular result
contains an invalid geometry. The following validation test returns
'Self-intersection at or near point (0.0, 0.2775529922968814, NaN)' message:
for (Geometry polygon : polygonCollection) {
IsValidOp isValidOp = new IsValidOp(polygon);
if (!isValidOp.isValid()) {
System.err.println("Geometry is invalid: " +
isValidOp.getValidationError());
polygon = polygon.buffer(0); // has no effect in further processing
}
When polygon.buffer(0) is employed (suggested in FAQ), it doesn't help.
There are lots of small triangles in my 'polygonized' data. Could it be
somehow related to the precission?
What else I could improve to get it fixed?
Thanks, Jan
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user