[Gdal-dev] Georeferencing netCDF files
Joaquim Luis
jluis at ualg.pt
Sat Oct 13 11:17:05 EDT 2007
Joaquim Luis wrote:
> Hi,
>
> I don't understand what is the meaning of the "Georeferencing" on the
> GDAL Raster Formats,
> in particular for the case of netCDF files (more interested in those
> because I'm dealing with them now)
> In that table Georeferencing = yes for netCDF, but if I convert a
> geottif to netCDF the referencing
> information is not copied into the netCDF file.
Sorry,
I was wrong about the georeferencing info not being copied into the
netCDF file.
What happened was that my example file was a geotiff rgb image so the
conversion
created 3 SUBDATASETS and it is INSIDE each of them that we can find the
referencing info.
This doesn't seam logic to me. Why is the georeferencing saved as
attributes of the dataset and not
as global attributes (netCDF parlance)? The only good(?) reason that
occurs to me is if different
datasets can have different reference systems. But does that make sense
as well?
Having the referencing as a global attribute would facilitate the
parsing and allow gdalinfo to
inform us on spatial reference system right from the basename of a
multiband file instead of having to fish
it from its SUBDATASETS.
Joaquim Luis
More information about the Gdal-dev
mailing list