[postgis-users] Question: calculating the slope with PostGIS 2.0

Pierre LACROIX piotrlacroix at gmail.com
Thu Oct 18 12:14:36 PDT 2012


Hi,

I would like to generate the slope from a DEM.
The DEM is called Raster1. It has one band and holds integer values.
>From the the SQL Editor (in the PG Admin) the following command displays
values but does not generate an output slope raster:

SELECT ST_Slope(rast, 1,'Integer') from Raster1;

What is the syntax to generate the slope raster?

Thanks in advance.

Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121018/9ffb700f/attachment.html>


More information about the postgis-users mailing list