[postgis-users] ST_Slope

Stephen V. Mather svm at clevelandmetroparks.com
Tue Mar 27 05:55:57 PDT 2012

Hi James,
	You might consider sending the content of your original query.  It
looks like you are passing three things to ST_Slope, but the third thing is
supposed to be text, and is interpreted as unknown.  Postgre functions are
defined by name and by the input variables, so if you pass the wrong type of
input variable, the function won't be recognized it.  You probably need to
cast your third parameter as text (i.e. "::text").


Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
svm at clevelandmetroparks.com

-----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 8:16 AM
To: postgis-users at postgis.refractions.net
Subject: Re: [postgis-users] ST_Slope

"Make sure st_slope(rast raster, band integer, pixeltype text) exsit as a

When running the query above, ST_Slope:

'ERROR: function st_slope(raster, integer, unknown) does not exist, No
function matches the given name and argument types. You might need to add
explicit type casts.'

Is there a way to remedy this? There doesn't seem to be a clear answer


View this message in context:
Sent from the PostGIS - User mailing list archive at Nabble.com.
postgis-users mailing list
postgis-users at postgis.refractions.net

More information about the postgis-users mailing list