LiN YongHeng wrote:
hello anybody ,
I have seen the source code, which have writen the SRID, just like below
codes. Why don't you say that the output not contain
the SRID? but the fact that the output don't contain the SRID, so
I really puzzle about this.
---Sourc
hello anybody ,
I have seen the source code, which have writen the SRID, just like below
codes. Why don't you say that the output not contain
the SRID? but the fact that the output don't contain the SRID, so
I really puzzle about this.
---Source
Code--
And if you want to submit patches for EWKT and EWKB outputs, we'd love
to see them.
P
On 31-Mar-09, at 6:07 PM, LiN YongHeng wrote:
hello Paul Ramsey and anyone,
The function GEOSGeomToWKB_buf() doesn't include the SRID. if I want
to output encodings that embed the srid, how
can I do?
20
There's no way right now. You could do a little work on your client
side, and pull both the WKT and the SRID, then concatenate them into
an output string with 'SRID=;...' just like your input. In the
longer run, we could add EWKT and EWKB outputs. :/
P
On 31-Mar-09, at 6:07 PM, LiN Y
To clarify: your first representation is nonstandard:
SRID=5001;POINT(44 31)
GEOS will accept it, but it won't emit it. If you print out
GEOSGeomToWKT(g1)
you will see the standard representation
POINT(44 31)
which you'll note doesn't include the SRID.
It doesn't actually look like we s
On Tue, Mar 31, 2009 at 11:24:50PM +0800, LiN YongHeng wrote:
> 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 v
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 versi
#245: GEOSGeomToWKT() not include the SRID?
+---
Reporter: bicealyh|Owner: geos-devel@lists.osgeo.org
Type: defect | Status: closed
Priority: major |Milestone: 3
#245: GEOSGeomToWKT() not include the SRID?
+---
Reporter: bicealyh| Owner: geos-devel@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 3.1.