Hi John,
If you can't use use gdal_translate to flatten an existing raster you
can try creating one from scratch using one of the supported language
bindings.
The python bindings work particularly well for this since you can hook
into numpy.
See:
http://trac.osgeo.org/gdal/wiki/FAQRaster#HowcanIcreateablankrasterbasedonavectorfilesextentsforusewithgdal_rasterize
Cheers,
Dane
On Jul 31, 2008, at 10:39 AM, John Mitchell wrote:
The output for gdal_rasterize has to be an existing geotiff. If I
don't have an existing geotiff for the associated area how can I
generate an empty geotiff based on the extent of the shape file that
I will be using as the source for gdal_rasterize?
Thanks,
--
John J. Mitchell
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev