Ticket #4220 (closed enhancement: fixed)

Opened 9 months ago

Last modified 9 months ago

Add support for updating geotransform and projection info of a ECW file

Reported by: rouault Owned by: 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

Changed 9 months ago by rouault

  • cc yjacolin added

r23017 /trunk/ (7 files in 3 dirs): ECW: Add support for updating geotransform and projection info of a ECW file (#4220)

Changed 9 months ago by rouault

r23018 /trunk/gdal/frmts/ecw/ (ecwdataset.cpp gdal_ecw.h): ECW: implement SetMetadata?() for consistency; fix compution of dirty flag in SetMetadataItem?() (#4220)

Changed 9 months ago by rouault

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

Changed 9 months ago by rouault

r23020 /trunk/gdal/frmts/ecw/ecwdataset.cpp: ECW: WriteHeader?( ) must be called after closing the file handle to work on Windows ( #4220 )

Changed 9 months ago by rouault

  • status changed from new to closed
  • resolution set to fixed

r23021 /trunk/gdal/frmts/ecw/ ( ecwcreatecopy.cpp ecwdataset.cpp gdal_ecw.h ): ECW: Fix build with ECW SDK 4.2 ( #4220 )

Changed 9 months ago by rouault

r23067 /trunk/gdal/ ( configure configure.in ): configure: also add -lNCSEcwC when using ./configure --with-ecw[=yes] ( #4220 )

Note: See TracTickets for help on using tickets.