[postgis-devel] RE: [postgis-users] Problem with PostGIS 1.0.0 RC1

Markus Schaber schabios at logi-track.com
Tue Jan 25 06:23:18 PST 2005


Hi, strk,

strk at refractions.net schrieb:

> At this point, to finish with consistency, we might want to
> change geoemtry::text cast to return EWKT instead of HEXWKB.

I'm okay with this, I think this does not hurt.

> So you could do:
>
> 	GeomFromWKB(geometry); <-- autocast to bytea
> 	GeomFromText(geometry); <-- autocast to text (needs (E)WKT to work)

Strange, I cannot imagine any use-case for this, at least in my apps.

I think that both variants would issue parser warnings in GeomFrom*()
when we have a 3D, M or 3D/M geometry?


Happy coding,
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050125/26b01996/attachment.sig>


More information about the postgis-devel mailing list