[geos-devel] [GEOS] #245: GEOSGeomToWKT() not include the SRID?
GEOS
geos-trac at osgeo.org
Tue Mar 31 10:36:44 EDT 2009
#245: GEOSGeomToWKT() not include the SRID?
------------------------+---------------------------------------------------
Reporter: bicealyh | Owner: geos-devel at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 3.1.1
Component: Default | Version: 3.0.3
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
hello everyone,
Please look these code:
GEOSGeom g1, g2;
g1 = GEOSGeomFromWKT("SRID=5001;POINT(44 31)");
g1srid = GEOSGetSRID(g1);
g2 = GEOSGeomFromWKT(GEOSGeomToWKT(g1));
g2srid= GEOSGetSRID(g2);
g2srid not have the same value with g1srid, which g1srid value is 5001 and
g2srid is -1. My GEOS version is "3.1.0". I don't know why? Can anyone
give me answer
and contact with me. my E-mail:bicealyh at gmail.com
Thanks!
LinYongHeng
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/245>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list