#896: Many (all?) GEOS operations do not preserve SRID ------------------------+--------------------------- Reporter: dbaston | Owner: geos-devel@… Type: defect | Status: new Priority: major | Milestone: 3.7.0 Component: Default | Version: 3.6.2 Severity: Unassigned | Resolution: Keywords: | ------------------------+---------------------------
Comment (by strk): So it turns out Geometry#setSRID is supposed to be only used in exceptional cases, for backward compatibility: https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/geom/Geometry.java#L264 Rather, a user should indeed set the SRID in the factory, which we're not doing from C-API. Now that we DO have garbage-collected factories (for precision model) we might start doing something about SRID too. Sounds like a wider plan is needed though. -- Ticket URL: <https://trac.osgeo.org/geos/ticket/896#comment:7> GEOS <http://trac.osgeo.org/geos> GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel