jts
jts copied to clipboard
The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
I use PackedCoordinateSequence to conserve memory and use two-dimensions whenever possible. However, simple geometric operations, such as intersection, fail as it internally tries to access a third dimension that does...
The GeoTools rendering code uses the densifier to add extra points in long lines, to prepare them for reprojection, which could generate curves out of the original straight lines. We...
Hugh reported an issue with LineStringM on the GeoTools-user list. From the message: "I can create a LinestringM object from an array of CoordinateXYM objects. But calling a function on...
The `CoordinateSequence.create(int size, int dimension)` implementation still cuts off at `dimension == 3`: https://github.com/locationtech/jts/blob/8d433caaf37d0dd965af95608c23acbb9dbdb566/modules/core/src/main/java/org/locationtech/jts/geom/impl/CoordinateArraySequenceFactory.java#L71-L80 Shouldn't it allow a `dimension` of 4 and automatically set `measures = 1`? The `CoordinateSequence.create(int size,...
Move javadoc to phase site: * mvn clean install - just builds jar and source jar * mvn site - builds javadoc jar Note the javadoc generation has warnings and...
_ShapeReader_ can give unexpected (at least to me...) results in some cases, I believe because the assumption within [`isHole(Coordinate[] pts)`](https://github.com/locationtech/jts/blob/bac855f9fe3a75af523b43f95f4b9a09b4ab5359/modules/core/src/main/java/org/locationtech/jts/awt/ShapeReader.java#L115) does not always match the underlying Java AWT representation. Here...
GEOS has an improved approach to the point scans required in PreparedGeometry predicate evaluation. They use short-circuiting filters rather than extracting lists of all points. These should be ported to...
I'm not able to find anything in the POM files or project documentation that states which version of Java is targeted by JTS. (Does Maven default to Java 5?).
This is the first step in decoupling Geometry from Operations. In JSTS transpilation this has been a patch on a fork to allow Geometry operation methods to be omitted because...
It was not consistent between scale=1 (no rounding) and other scales (rounding). Now, it skip scaling process for 0.0 scale, but not for 1.0 scale.