[postgis-users] ST_Slope

JamesH james.holmes at newcastle.ac.uk
Tue Apr 3 06:39:45 PDT 2012

I have loaded the Slope surface created in PostGIS to OpenJump but it is
displaying as a single polygon with attributes of all the values being 1. 
Have I made a mistake when using the ST_Slope function?

The code I used is as below:

SELECT ST_AsBinary((gv).geom), (gv).val 
10, 0, 0, 0.1, 0.1, 0, 0, 4269), '8BUI'::text, 1, 0), '32BUI', '([rast.x] -
1) * 
10 + [rast.y]'), 1, '8BUI'::text)) gv 
      FROM height_newcastle 
        ) foo

Any advice again, appreciated.


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

More information about the postgis-users mailing list