Opened 15 years ago

Closed 15 years ago

#245 closed defect (invalid)

GEOSGeomToWKT() not include the SRID?

Reported by: bicealyh Owned by: geos-devel@…
Priority: major Milestone: 3.1.1
Component: Default Version: 3.0.3
Severity: Unassigned Keywords:
Cc:

Description

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@gmail.com Thanks! LinYongHeng

Change History (1)

comment:1 by pramsey, 15 years ago

Resolution: invalid
Status: newclosed

This is a question, not a bug, please use the mailing list for questions.

Note: See TracTickets for help on using tickets.