Ticket #3587 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

VrtRasterBand misses some Set and Get methods in Python bindings.

Reported by: fasano Owned by: hobu
Priority: normal Milestone: 1.8.0
Component: PythonBindings Version: unspecified
Severity: normal Keywords:
Cc: antonio

Description

Python bindings miss some VRTRasterBand Set and Get methods, present in C++ code, for example:

  • Set and Get of UniType
  • Set and Get of Offset
  • Set and Get of Scale

Change History

  Changed 3 years ago by fasano

  • summary changed from {{{VrtRasterBand}}} misses some {{{Set}}} and {{{Get}}} methods in Python bindings. to VrtRasterBand misses some Set and Get methods in Python bindings.

  Changed 3 years ago by antonio

  • cc antonio added

follow-up: ↓ 4   Changed 3 years ago by fasano

GetScale, GetOffset and even GetUnitType methods are already present in current Gdal stable version.

With [19412] SetScale and SetOffset methods are added.

When SetUnitType method will be added too, this ticket could be considered as solved.

in reply to: ↑ 3   Changed 3 years ago by antonio

Replying to fasano:

GetScale, GetOffset and even GetUnitType methods are already present in current Gdal stable version. With [19412] SetScale and SetOffset methods are added.

The [19412] changeset seems to be in current trunk and new features should be available with GDAL 1.8, isn't it?

Maybe it could be a good idea to backport them to 1.7 branch.

  Changed 3 years ago by rouault

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

r19815 /trunk/gdal/ (6 files in 5 dirs): Add C wrapper GDALSetRasterUnitType() for GDALRasterBand::SetUnitType?() and map it to SWIG (#3587)

Note: See TracTickets for help on using tickets.