[postgis-users] projection management

Ken Boss Ken.Boss at dnr.state.mn.us
Wed Mar 28 07:33:36 PDT 2007


>>> On 3/27/2007 at 10:53 PM, in message
<436524.29481.qm at web33212.mail.mud.yahoo.com>, Brent Wood <pcreso at pcreso.com>
wrote:

>> 
>> Thanks for the reply, that clarifies matters nicely.  I think I'm
>> understanding also that setsrid(the_geom, the_srid) rolls that srid
>> right into the binary representation of the geometry.  I wonder if it
>> might be desirable/possible in a future version, then, to have
>> astext(the_geom) output the srid along with the text representation of
>> the geometry.  
> 
> I believe WKT is defined by the OGC, as part of the SFS spec that PostGIS
> complies with. EWKT was created to address this limitation of the WKT format.
> It is not likely that OGC will revise the SFS/WKT spec, so it is also unlikely
> that PostGIS will modify the string returned by WKT. 
> 
> So if you require a SRID in the output, use EWKT instead of WKT.
> 
> Standards are usually a good thing :-)

Fully agreed.  As a postgis newbie, I was as yet unfamiliar with the wonders of EWKT and EWKB.
Hats off to the Refractions folks for a nice job of covering both user needs and standards conformance,
and thanks to the list for the education.

--Ken


> 
> Cheers
> 
>    Brent
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net 
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list