[postgis-users] ST_Slope
Pierre Racine
Pierre.Racine at sbf.ulaval.ca
Tue Mar 27 08:57:49 PDT 2012
James,
I think you will have to upgrade.
What is the result of SELECT PostGIS_Scripts_Build_Date()?
ST_Slope was introduced on nov 30th, 2011...
Pierre
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of JamesH
> Sent: Tuesday, March 27, 2012 11:45 AM
> To: postgis-users at postgis.refractions.net
> Subject: Re: [postgis-users] ST_Slope
>
> 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 at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list