Hi Stephen,

Thanks, I have been attempting to use this query:
SELECT 
        ST_Slope(ST_MapAlgebraExpr(ST_AddBand(ST_MakeEmptyRaster(10, 10, 0, 0, 
0.1,
0.1, 0, 0, 4269), '8BUI'::text, 1, 0), '32BUI', '([rast.x] - 1) * 10 +
[rast.y]') 
, 1, '8BUI')
FROM
        nclheights;

I have included the ::text cast which now returns an error of "function
st_slope(raster, integer, text) does not exist, No function matches the
given name and argument types".

Trying to produce a slope surface from a 1 band raster - unsuccessfully.

Regards,
James

--
View this message in context: 
http://postgis.17.n6.nabble.com/ST-Slope-tp4551303p4661339.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to