[postgis-users] whats the different between ST_Extent() and ST_Estimated_Extent()

nguyen liem liemnguyendl at gmail.com
Sun Jun 27 23:32:07 PDT 2010


Hi All,

I have 2 queries:
SELECT ST_Extent(point) FROM schema.mytable;
SELECT ST_Estimated_Extent('schema', 'mytable', 'point');

2 queries above were returned for me *same result* (BOX2D):
"BOX(11.1806726455688 55.3748893737793,24.1317653656006 67.8551025390625)"
I don't know what is the different between 2 functions, should I use  *
ST_Extent* or *ST_Estimated_Extent* in this case.
And ... Will be better, if you explain me when we need to use
*ST_Extent*and when we need to use
*ST_Estimated_Extent*  ;)

Cheers.

-- 
Liem Nguyen
Developer
Axon Active Corp.
----------------------------------------------------------------------------
Direct Line      : +84 38 948 4645
Fax                  : +84 38 811 3489
Mobile Phone  : +84 168 994 8897
Skype ID         : liemnguyendl2204
Email               : liem.nguyen at axonactive.net / liemnguyendl at gmail.com
Web Site          : http://axonactive.vn
Address           : 87 Thang Long Street,Gate 2 Ward 4,
                         Tan Binh District, HCM city, Vietnam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100628/82ce06f4/attachment.html>


More information about the postgis-users mailing list