Hi,
  I can see that LineString.normalize is fixed in JTS commit r1013. 
But there is same issue in Polygon.normalize. That modifies cached array from 
PackedCoordinateSequence. Not coordinate values. Problem is in 2 lines in 
internal normalize method.

private void normalize(LinearRing ring, boolean clockwise)

System.arraycopy(uniqueCoordinates, 0, ring.getCoordinates(), 0, 
uniqueCoordinates.length);
...
CoordinateArrays.reverse(ring.getCoordinates());


  Thank you
 Martin

------------------------------------------------------------------------------
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to