[postgis-users] Getting the exact extent of a geometry

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Jan 4 01:30:17 PST 2010


Pierre Racine wrote:

> Why not? This is what ST_Box2D() does and ST_Envelope() returns exactly the same values...

For the sake of completeness: BOX2DFLOAT is also an internal type that 
should *never* be exposed to the user. ST_Envelope() has been fixed in 
SVN trunk.

> But again: Is there a non aggregate function which returns the exact extent (float8s) of a geometry? If not, why not?

Because it's a bug ;)


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the postgis-users mailing list