[postgis-users] ST_Slope

JamesH james.holmes at newcastle.ac.uk
Thu Mar 29 06:06:27 PDT 2012


Have installed Beta4 - 'Select postgis_full_version': "POSTGIS="2.0.0beta4"
GEOS="3.3.3dev-CAPI-1.7.3" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.9.0,
released 2011/12/29" LIBXML="2.7.8" USE_STATS (procs from 2.0 r8238 need
upgrade)"

Attempting to run same query as above:
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'::text) 
FROM 
        nclheights; 

but is still returning "function st_slope(raster, integer, text) does not
exist"!

Thought it could be if I am incorrectly casting the first 8BUI instance so
removed the first '::text' and error now returns:
"rt_raster_from_wkb: wkb size (2)  < min size (61)"

Any advice appreciated,
Regards,
James

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



More information about the postgis-users mailing list