[Qgis-user] How to Create the Data Type Unsigned Int 8 bit in QGIS 2.0 Raster Calculator?
jorgepsantos2002
jorgepsantos2002 at gmail.com
Sat Nov 23 13:15:38 PST 2013
Hello All,
How I choose the output data type in QGIS 2.0? In older versions, the
plugin* RasterCalc* from GIS Lab shows a box to select the Data Type for
output raster operations.
I need to rescale a raster changing the pixel depth from 16 bits to 8 bits.
QGIS 2.0 Raster Calculator outputs rasters in *Float32*. I need my data in
*Unsigned Int 8 bit* or *Byte*.
*My formula:*
( ( "LC82180762013253LGN00_B6 at 1" - 0)*( 255-0 )/( 51171 - 0 ) ) + 0
<http://osgeo-org.1560.x6.nabble.com/file/n5090833/RESCALE_RASTER_CALC.jpg>
Works on QGIS 1.8 with plugin RasterCalc
*Original Data type*
<http://osgeo-org.1560.x6.nabble.com/file/n5090833/ORIGINAL_RANGE.jpg>
*Output Data Type in QGIS 2.0*
<http://osgeo-org.1560.x6.nabble.com/file/n5090833/POS_PROCESSING.jpg>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-Create-the-Data-Type-Unsigned-Int-8-bit-in-QGIS-2-0-Raster-Calculator-tp5090833.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
More information about the Qgis-user
mailing list