[Gdal-dev] Georeferencing netCDF files

Joaquim Luis jluis at ualg.pt
Fri Oct 12 20:34:44 EDT 2007


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.

However, sometime ago someone send me an ArcGIS generated file that has 
this attribute
(printed by ncdump but not reported by gdalinfo)
z_Layer:esri_pe_string =
"GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]" 


I had just nearly finished a code where I have added the option to write 
an attribute named
srsWKT to serve exactly the same purpose.

The reason I'm addressing this issue here is to ask if there is interest 
in future support for recognizing a georeferencing
WKT string within netCDF files. And if yes what would be an appropriate 
name.
I thought in srsWKT for obvious reasons but I'm open to suggestions.

Joaquim Luis







More information about the Gdal-dev mailing list