[postgis-devel] [PostGIS] #1200: st_estimated_extent returns bogus values

PostGIS trac at osgeo.org
Mon Sep 19 06:00:11 PDT 2011


#1200: st_estimated_extent returns bogus values
----------------------+-----------------------------------------------------
 Reporter:  dmiranda  |       Owner:  pramsey      
     Type:  defect    |      Status:  new          
 Priority:  high      |   Milestone:  PostGIS 2.0.0
Component:  postgis   |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 Another case of bogus estimated_extent.
 Download shapefile from
 http://gis.csi.it/repertorio/VENDATI/USOSUOLO/SHAPEFILE/USOSUOLO.ZIP
 Import (without index) vacuum analyze the table.

 ST_Estimate_extent returns:
 {{{
 BOX(2.71602850291942e+51 6.91389452604684e-310,2.00096586565705e-321
 6.91389266706516e-310)
 }}}

 ST_Extent returns:
 {{{
 BOX(313182.457211229 4879523.84866166,516967.504878363 5145795.4033246)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1200#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list