Oh, I will try that out. Thank you.<div><br></div><div>Joan<br><br><div class="gmail_quote">On 8 November 2011 18:16, Pierre Racine <span dir="ltr"><<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">All tiles of a same coverage should be stored in the same table. One tile per row.<br>
<br>
There is a variant of ST_SummaryStats working on such a table as a whole. You have to pass the name of the table and the name of the raster column.<br>
<div class="im"><br>
Pierre<br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a> [mailto:<a href="mailto:postgis-users-">postgis-users-</a><br>
> <a href="mailto:bounces@postgis.refractions.net">bounces@postgis.refractions.net</a>] On Behalf Of Joan<br>
</div>> Sent: Tuesday, November 08, <a href="tel:2011%2012" value="+254201112">2011 12</a>:14 PM<br>
<div class="im">> To: PostGIS Users Discussion<br>
> Subject: Re: [postgis-users] Tiles<br>
><br>
</div><div class="im">> In a case where I use ST_SummaryStats I would like to have statistics of the<br>
> coverage, so I should have the coverage as one tile. Isn't it inconvenient for a<br>
> user to have several tables of the same coverage?<br>
><br>
><br>
> On 8 November <a href="tel:2011%2018" value="+254201118">2011 18</a>:01, Pierre Racine <<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>> wrote:<br>
><br>
><br>
> Briefly the ST_Intersection(rast, geom) vectorize the raster in order to<br>
> make a standard vector/vector intersection afterward. Since vectorizing is a<br>
> slow process, a query involving ST_Intersection() is always more efficient with<br>
> smaller tiles.<br>
><br>
> Pierre<br>
><br>
><br>
> > -----Original Message-----<br>
</div><div class="im">> > From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a> [mailto:<a href="mailto:postgis-">postgis-</a><br>
> users-<br>
> > <a href="mailto:bounces@postgis.refractions.net">bounces@postgis.refractions.net</a>] On Behalf Of Joan<br>
><br>
</div>> > Sent: Tuesday, November 08, <a href="tel:2011%2011" value="+254201111">2011 11</a> <tel:2011%2011> :56 AM<br>
<div class="im">> > To: PostGIS Users Discussion<br>
> > Subject: Re: [postgis-users] Tiles<br>
><br>
> ><br>
> > Yes, I have been doing an analysis with the same raster file but<br>
> different tile sizes<br>
> > and I get different results e.g st_intersects(rast, geom) . I would like to<br>
> know<br>
> > what the tile size has to do with the query results or performance.<br>
> ><br>
> ><br>
> ><br>
><br>
</div>> > On 8 November <a href="tel:2011%2017" value="+254201117">2011 17</a> <tel:2011%2017> <tel:2011%2017> :30,<br>
<div class="HOEnZb"><div class="h5">> Pierre Racine<br>
><br>
> > <<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>> wrote:<br>
> ><br>
> ><br>
> > I guess you mean "raster tile"?<br>
> ><br>
> > > -----Original Message-----<br>
> > > From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>
> [mailto:<a href="mailto:postgis-">postgis-</a><br>
> > users-<br>
> > > <a href="mailto:bounces@postgis.refractions.net">bounces@postgis.refractions.net</a>] On Behalf Of Joan<br>
><br>
> > > Sent: Tuesday, November 08, <a href="tel:2011%2010" value="+254201110">2011 10</a> <tel:2011%2010><br>
> <tel:2011%2010> :19 AM<br>
><br>
> > > To: PostGIS Users Discussion<br>
> > > Subject: [postgis-users] Tiles<br>
> ><br>
> > ><br>
> > > Hello,<br>
> > ><br>
> > > I would like to know what the idea behind tiles is.<br>
> > ><br>
> > > Regards<br>
> > ><br>
> > > Joan M<br>
> ><br>
> > _______________________________________________<br>
> > postgis-users mailing list<br>
> > <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> > <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
> ><br>
> ><br>
><br>
> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
><br>
><br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div>