[postgis-users] How to get the centroid of an bounding box using st_extent
Charlie Savage
cfis at savagexi.com
Wed Sep 19 13:37:38 PDT 2007
Hi Paul,
>> Thanks for the information. Ok, then I'll see if I can fix up the
>> bbox2 to geometry conversion so it returns a point if either
>> xmin=xmax or ymin=ymax. Currently it returns an invalid polygon -
>> same problem that envelope had.
>
> Hmmm... for an linear envelope would returning a linestring not make
> more sense?
Hah - no doubt. Will do that.
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070919/36ffa92e/attachment.bin>
More information about the postgis-users
mailing list