jts
jts copied to clipboard
The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
The constuctor, but not the static factory for MinimumAreaRectangle allows a hint that the input Geometry is already convex. If I use any constructor, though (with or without the hint)...
import org.locationtech.jts.geom._ val geometryFactory :GeometryFactory= new GeometryFactory() val coor=new Coordinate(116.0, 36.0) val geom: Geometry = geometryFactory.createPoint(coor) geom.setSRID(4326) val bufferGeom=geom.buffer(0.5) println(bufferGeom.getSRID) //result: 0 This result is unexpected because it requires manually...
Hi! I recently updated my jts-version from 1.19.0 to 1.20.0 and stumbled across some unexpected output from the OffsetCurve.getCurve() method. I use this method to create lines with a constant...
A faster point-in-area locator. - Uses the technique described here: https://github.com/tidwall/tg/blob/main/docs/POLYGON_INDEXING.md#ystripes - Faster than `IndexedPointInAreaLocator` (4x+ in my various tests). - Passes all `AbstractPointInRingTest` tests. It's packaged such that the...
Dear Dr JTS, In our codebase we use erode and dilate buffers (of 0.01) to clean up polygons and multi-polygons. Recently we have updated our version of JTS and came...
## Invalid or non-Delaunay triangulation computed * #20 * #298 * https://github.com/libgeos/geos/issues/1286