#4220 closed enhancement (fixed)
Add support for updating geotransform and projection info of a ECW file
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.0 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | ecw |
Cc: | yjacolin |
Description
The NCSEcwEditWriteInfo() API enable us to update in place the geotransform and projection info of an existing ECW file. It is then possible to implement SetProjection(), SetGeoTransform(). SetMetadataItem() can be implement to override directly the values of DATUM, PROJ and UNITS for finer control.
Change History (6)
comment:1 by , 13 years ago
Cc: | added |
---|
comment:2 by , 13 years ago
r23018 /trunk/gdal/frmts/ecw/ (ecwdataset.cpp gdal_ecw.h): ECW: implement SetMetadata() for consistency; fix compution of dirty flag in SetMetadataItem() (#4220)
comment:3 by , 13 years ago
r23019 /trunk/gdal/swig/python/samples/ (README gdal_edit.py): Add new sample utility, gdal_edit.py, to edit in place various information of an existing GDAL dataset (projection, geotransform, nodata, metadata) (#4220)
For example:
python swig/python/samples/gdal_edit.py test.ecw -mo PROJ=GEODETIC -mo DATUM=WGS84 -a_ullr 2 49 3 48
comment:4 by , 13 years ago
r23020 /trunk/gdal/frmts/ecw/ecwdataset.cpp: ECW: WriteHeader( ) must be called after closing the file handle to work on Windows ( #4220 )
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
r23017 /trunk/ (7 files in 3 dirs): ECW: Add support for updating geotransform and projection info of a ECW file (#4220)