Oooo Pierre, that it is true. I forgot to look at that use case.<br><br>But, did you tested the function? I'm getting a few weird values for some tests i've been running.<br><br>Can anyone else run some tests to it?<br>
<br>I have on the oven a fill sinks and a identify sinks function almost ready. A more complicated one is accumulated flow, but it's coming.<br><br>Any suggestions on how I can achieve the use case that Pierre talked about? Is it possible to union all rasters inside a single table?<br>
<br>Thanks,<br><br>George<br><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 5:01 PM, 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">This is great George,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I guess your function works only on a single raster. Would be
nice if it would work on a tiled coverage. In this case you have to compute
edge values by getting values from neighbour tiles. A bit (!!) more
complicated.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Pierre</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:postgis-devel-bounces@postgis.refractions.net" target="_blank">postgis-devel-bounces@postgis.refractions.net</a>
[mailto:<a href="mailto:postgis-devel-bounces@postgis.refractions.net" target="_blank">postgis-devel-bounces@postgis.refractions.net</a>] <b>On Behalf Of </b>George
Silva<br>
<b>Sent:</b> 28 juillet 2010 21:48<br>
<b>To:</b> PostGIS Development Discussion<br>
<b>Subject:</b> [postgis-devel] Calculating flow direction</span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hello PostGIS developers,<br>
<br>
I just built a flow direction function for WKT Raster. I know it's not the most
efficient, but looks like it works.<br>
<br>
I would like (if you have the time/interest) to test it and report inconsistent
results.<br>
<br>
I'm working on function for identifying sinks, removing sinks and creating a
accumulated flow raster.<br>
<br>
Your comments are most welcome. The function is the attachment.<br clear="all">
<br>
-- <br>
George R. C. Silva<br>
<br>
Desenvolvimento em GIS<br>
<a href="http://blog.geoprocessamento.net" target="_blank">http://blog.geoprocessamento.net</a></p>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-devel" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>George R. C. Silva<br><br>Desenvolvimento em GIS<br><a href="http://blog.geoprocessamento.net">http://blog.geoprocessamento.net</a><br>