[postgis-users] ST_Slope

JamesH james.holmes at newcastle.ac.uk
Tue Mar 6 06:07:35 PST 2012


Hello all,

I am trying to produce a slope surface raster from a tiff.

The raster has 1 band, pixeltype is 8 bit unsigned integer but I cannot get
the function to work.

Have tried variances of:

SELECT
         ST_Slope(rast, 1, '8BUI') or (rast, 1, 8)
FROM
         nclraster

But PostGIS returns ERROR:  function st_slope(raster, integer, integer) does
not exist
LINE 2:  ST_Slope(rast,1,8).

Any pointers as to where I'm going wrong much appreciated

James

--
View this message in context: http://postgis.17.n6.nabble.com/ST-Slope-tp4551303p4551303.html
Sent from the PostGIS - User mailing list archive at Nabble.com.



More information about the postgis-users mailing list