[postgis-users] NDVI Calculation from two bands within one Raster

JamesH james.holmes at newcastle.ac.uk
Wed Apr 11 09:38:03 PDT 2012

Thanks, that has worked and can visualise through OpenJump.

The Raster it produces (below), has only values of zero or one in its
I'm assuming in the calculation its not keeping the values as Floats but its
converting it to integer? Must be rounding them to either zero or one.

Is there a way to solve this i.e. keep the pixels as floating integers?



GIS Undergraduate
View this message in context: http://postgis.17.n6.nabble.com/NDVI-Calculation-from-two-bands-within-one-Raster-tp4656995p4832776.html
Sent from the PostGIS - User mailing list archive at Nabble.com.

More information about the postgis-users mailing list