Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Even Rouault
Joaquim, The valid formats for the output of gdalwarp are formats that support the Create() method, not just the CreateCopy() method. This is indicated by (rw+) : the + indicates that Create() is supported. The difference between Create() and CreateCopy() is mainly that Create() allows

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Joaquim Luis
Thanks Even, I think that's the second time you explain me that (sorry, an easy thing to forget), but the docs could be a bit clearer about this. For example *--formats* List all raster formats supported by this GDAL build (read-only and read-write) and exit. The format support is

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Even Rouault
Le lundi 27 septembre 2010 21:20:02, Joaquim Luis a écrit : Thanks Even, I think that's the second time you explain me that (sorry, an easy thing to forget), but the docs could be a bit clearer about this. For example *--formats* List all raster formats supported by this GDAL build

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Joaquim Luis
On 27-09-2010 20:39, Even Rouault wrote: Le lundi 27 septembre 2010 21:20:02, Joaquim Luis a écrit : Thanks Even, I think that's the second time you explain me that (sorry, an easy thing to forget), but the docs could be a bit clearer about this. For example *--formats* List all

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Even Rouault
Le lundi 27 septembre 2010 22:11:43, Joaquim Luis a écrit : Well, using your own words, and to not extend the wording too much. Something like ... 'rw+' is read, write and update (ie. supports Create). Note: The valid formats for the output of gdalwarp are formats that support the

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Joaquim Luis
Yes, that's probably doable, but clearly not trivial. I add a hard time (look at how ugly/complicated the code now looks...) doing something similar in GDALSuggestedWarpOutput2() to guess the extent of the target extent when such discontinuities in the reprojection occur (and it probably