<div dir="ltr">What does _postgis_stats(<span style="color:rgb(80,0,80);font-size:12.8px"> '</span><span style="color:rgb(80,0,80);font-size:12.8px">ruian.</span><span style="color:rgb(80,0,80);font-size:12.8px">kraje', 'geom') do?</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 6:49 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
2016-11-21 15:41 GMT+01:00 Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>>:<br>
> Estimated extent works by looking at the table stats. If you had some extra<br>
> data and then delete it, the stats might still reflect the original extent<br>
> of the full table. Re-running ANALYZE might refresh them.<br>
<br>
</span>I am afraid that this not this case. This data has been imported and<br>
not touched in DB. ANALYZE will not help.<br>
<br>
ANALYZE ruian.kraje ;<br>
<span class="">select st_estimated_extent('ruian', 'kraje', 'geom');<br>
</span>                       st_estimated_extent<br>
------------------------------<wbr>------------------------------<wbr>-----<br>
 BOX(-909107.8125 -1233432.375,4522.92431640625 6136.4794921875)<br>
<div class="HOEnZb"><div class="h5"><br>
Martin<br>
<br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" rel="noreferrer" target="_blank">http://geo.fsv.cvut.cz/gwiki/<wbr>Landa</a><br>
<a href="http://gismentors.cz/mentors/landa" rel="noreferrer" target="_blank">http://gismentors.cz/mentors/<wbr>landa</a><br>
______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a></div></div></blockquote></div><br></div>