45 | | *Related tix*: #4251 [[BR]] |
46 | | *New -co options*: -co WRITEGDALTAGS (yes/no, defaults to yes)[[BR]] |
47 | | *Rationale*: We assume by default that if users export to a NetCDF file from GDAL, then they may wish to import into GDAL again and retain full information. Currently, the CF-1 convention doesn't allow saving all the projection information that GDAL can manipulate via a WKT (such as named Datums, and EPSG authorities). |
| 45 | ''Related tix'': N/A [[BR]] |
| 46 | ''New -co options'': -co WRITEGDALTAGS (yes/no, defaults to yes)[[BR]] |
| 47 | ''Has back-compat impact?'': No |
| 48 | |
| 49 | ''Change'': |
| 50 | |
| 51 | Currently, as well as following the CF-1 conventions to save projection metadata, the NetCDF driver also writes metadata in several custom attributes: |
| 52 | * A "spatial_ref" tag containing full OGC WKT string, including datum and EPSG codes if known |
| 53 | * A geotransform array, saved as a string (!GeoTransform). |
| 54 | |
| 55 | The WRITEGDALTAGS driver creation option would allow the user to choose not to write these tags. However it would be set to 'YES' by default. |
| 56 | |
| 57 | ''Rationale'': |
| 58 | |
| 59 | We assume by default that if users export to a NetCDF file from GDAL, then they may wish to import into GDAL again and retain full information. Currently, the CF-1 convention doesn't allow saving all the projection information that GDAL can manipulate via a WKT (such as named Datums, and EPSG authorities). |