If you do "gdalinfo --formats" you will see which raster formats support Create and Update (which gdal_rasterize and gdalwarp require) - this is indicated by 'w+'
GTiff (rw+v): GeoTIFF AAIGrid (rwv): Arc/Info ASCII Grid --formats List all raster formats supported by this GDAL build (read-only and read-write) and exit. The format support is indicated as follows: 'ro' is read-only driver; 'rw' is read or write (ie. supports CreateCopy); 'rw+' is read, write and update (ie. supports Create). A 'v' is appended for formats supporting virtual IO (/vsimem, /vsigzip, /vsizip, etc). Note: The valid formats for the output of gdalwarp are formats that support the Create() method (marked as rw+), not just the CreateCopy() method. On Wed, Jun 13, 2012 at 1:10 PM, Giovanni Manghi <[email protected]> wrote: > >> >> What is the problem? >> > I hit the same issue yesterday, > > apparently gdal rasterize does not support writing asc directly. > Rasterize as tiff first and then use gdal translate to save as ASC. > > cheers > > -- Giovanni -- > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
