[postgis-devel] Calculating flow direction

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Fri Jul 30 13:01:01 PDT 2010


This is great George,

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.

Pierre


From: postgis-devel-bounces at postgis.refractions.net [mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of George Silva
Sent: 28 juillet 2010 21:48
To: PostGIS Development Discussion
Subject: [postgis-devel] Calculating flow direction

Hello PostGIS developers,

I just built a flow direction function for WKT Raster. I know it's not the most efficient, but looks like it works.

I would like (if you have the time/interest) to test it and report inconsistent results.

I'm working on function for identifying sinks, removing sinks and creating a accumulated flow raster.

Your comments are most welcome. The function is the attachment.

--
George R. C. Silva

Desenvolvimento em GIS
http://blog.geoprocessamento.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20100730/df0cd6fe/attachment.html>


More information about the postgis-devel mailing list