[geos-devel] [GEOS] #724: Geometry methods do not preserve SRID

GEOS geos-trac at osgeo.org
Thu Jul 12 09:25:39 PDT 2018

#724: Geometry methods do not preserve SRID
 Reporter:  benmorel    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.6.3
Component:  Default     |     Version:  3.4.2
 Severity:  Unassigned  |  Resolution:  invalid
 Keywords:              |
Changes (by dbaston):

 * status:  new => closed
 * resolution:   => invalid


 SRID of constructed geometries is determined by the `GeometryFactory` of
 `g`, not the SRID of `g`. To construct geometries in a given SRID, the
 `WKTReader` should be constructed with a reference to a `GeometryFactory`
 having the desired SRID.

Ticket URL: <https://trac.osgeo.org/geos/ticket/724#comment:5>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

More information about the geos-devel mailing list