[postgis-users] where has the wkb type gone?
strk at refractions.net
strk at refractions.net
Mon Aug 22 15:22:44 PDT 2005
On Mon, Aug 22, 2005 at 10:11:03PM +0100, Richard Taylor wrote:
> Hi
>
> I am converting a Python library from a rather old version of postgis to the
> latest release. The library relies upon the oid of the columns returned from
> a select query to know whether the data is in WKT or WKB. The type oid used
> to be 'wkb' for a WKB return and 'geometry' for a WKT return. At some point
> during the development of postgis the 'wkb' type has been removed.
>
> Is there anyway in the latest release that I can work out whether the format
> of the return from a select query is in WKT or WKB?
mm..
WKT is of type 'text'
WKB is of type 'bytea'
I don't know if this answer your question though.
--strk;
More information about the postgis-users
mailing list