select st_extent('POINT(10 10)')
"BOX(10 10,10 10)"
But if you do this:
select asText(centroid(st_extent('POINT(10 10)')))
"GEOMETRYCOLLECTION EMPTY"
Which is the same issue I mentioned a couple weeks ago where
Envelope('POINT(10 10)') doesn't return a point like it should.
So I'd like to use st_extent, but a need a way to get a valid point that represents the center of the bounds instead of an empty collection. How?
Charlie
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
