[postgis-users] Re: [Geoserver-devel] Postgis estimated_extent completely off the mark?

Paul Ramsey pramsey at refractions.net
Tue Mar 20 08:17:20 PDT 2007


Right, sampling.
Small enough that a random sample has a chance of missing them.   
Northern islands in Alaska, Hawaii, etc.

P

On 20-Mar-07, at 8:13 AM, Andrea Aime wrote:

> Andrea Aime ha scritto:
>> tiger2005fe=# vacuum analyze major_roads;
>> VACUUM
>> tiger2005fe=# select estimated_extent('major_roads','gen_full');
>>                                estimated_extent
>> --------------------------------------------------------------------- 
>> -------
>>   BOX(-136.358154296875 17.6881694793701,-64.7429351806641  
>> 59.4498023986816)
>> (1 row)
>> tiger2005fe=# select extent(gen_full) from major_roads
>> tiger2005fe-# ;
>>                                     extent
>> --------------------------------------------------------------------- 
>> -------
>>   BOX(-170.837387084961 -14.3779020309448,144.914001464844  
>> 66.9222869873047)
>
> Ah, if you're wondering about how this is possible, my guess is that
> estimated_extent is for some reason not considering Hawaii (still  
> USA, but very very far away)
>
> Cheers
> Andrea
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list