[gdal-dev] Re: gdal_rasterize with a NetCDF file?

2009-09-21 Thread Hermann Peifer
The driver doesn't support updating netCDF files. gdalinfo --formats says: GTiff (rw+): GeoTIFF (...) netCDF (rw): Network Common Data Format The "+" indicates update support, which is obviously missing for netCDF format. Hermann Original Message Subject: Re:gdal_rasteri

[gdal-dev] Re: gdal_rasterize with a NetCDF file?

2009-09-21 Thread Scott Lewis
Ah, thanks. I must have missed that. Looks like I'll have to find another way to accomplish what I'm trying to do then! Thanks for your help! Scott Hermann Peifer wrote: > The driver doesn't support updating netCDF files. gdalinfo --formats says: > > GTiff (rw+): GeoTIFF > (...) > netCDF (

[gdal-dev] Re: gdal_rasterize with a NetCDF file?

2009-09-21 Thread Even Rouault
Selon Scott Lewis : You've got the main point, but the meaning of '+' is a bit more subtle. The '+' indicates in fact support for the Create() method. Some drivers support updating existing datasets (like DTED for example), or CreateCopy() (translating entire existing dataset to the new format) bu

Re: [gdal-dev] Re: gdal_rasterize with a NetCDF file?

2009-09-23 Thread Roger André
Hey Scott, You could extract that layer from the netCDF, burn it with gdal_rasterize as a geotiff, convert the geoTiff into a GMT grid, and then possibly add that back into the netCDF (somehow). Sounds like a pain though. Roger -- On Mon, Sep 21, 2009 at 11:49 AM, Scott Lewis wrote: > Ah, tha