Using GDAL, how can I simply create an empty single band raster? I can't seem to find out how. I know in PostGIS you can create a new table with a 'raster' column type, then insert a band into it. However I'm looking for a slick, GDAL solution (or another efficient non-PostGIS solution).
What I'm looking to create is a raster (GeoTIFF) with these settings:
format: -of GTiff
type: -ot UInt16 (16 bit unsigned integer)
cell resolution: -tr 5 5 (5x5m)
nodata: -a_nodata 255 (the values I intend to burn into this raster range from 1 to 10)
extent: -te 0 0 680000 1240000 (rectangular extent of Great Britain)
resulting raster would contain almost 34 billion cells (at 5x5m cell size)!