dverbyla

ASCII to Raster output to 1-bit or 8-bit rasters?

Discussion created by dverbyla on May 20, 2011
Latest reply on Jun 7, 2011 by dverbyla
I have some large ascii rasters output from models that are essentially 0 or 1 pixel values.
For example:
NCOLS 2
NROWS 2
XLLCORNER 0
YLLCORNER 0
CELLSIZE 1000
NODATA_VALUE 0
1 0
0 1

The ASCII to Raster tool outputs to a 32-bit signed integer raster, when really these values can be represented by a 1-bit raster.  Seems like an inefficient way to go!  Is there some other ASCII to Raster tool (in GDAL?, Python Imaging Library?) that is more efficient in importing ASCII data into rasters?

Outcomes