[geos-devel] Question

Frank Warmerdam warmerdam at pobox.com
Tue Mar 31 23:44:27 EDT 2009


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.
> -------------------------------Source 
> Code---------------------------------------
> void
> WKBWriter::writePolygon(const Polygon &g)
> {
>  writeByteOrder();
>  
>  writeGeometryType(WKBConstants::wkbPolygon, g.getSRID());
>  writeSRID(g.getSRID());

LiN,

This is the WKB writer, not the WKT writer.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the geos-devel mailing list