Ticket #1552 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Incorrect signature for Dataset.BuildOverviews in C# bindings

Reported by: jbeverage Assigned to: tamas
Priority: normal Milestone: 1.5.0
Component: CSharpBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description

The signature for Dataset.BuildOverviews? in the C# bindings is: int BuildOverviews?(string resampling, int overviewlist)

The C++ signature has many more arguments, and it seems like at the very least you have to pass in an array of overview levels instead of just a single int for the overviewlist to have the method do anything meaningful.

Change History

04/04/07 17:44:05 changed by tamas

  • status changed from new to assigned.
  • milestone set to 1.4.1.

The following changes have been made for the SVN trunk:

1. Added the following signature for the Dataset class: public int BuildOverviews?( string resampling, int[] overviewlist)

2. Added apps/GDALOverviews.cs to demonstrate the usage of Dataset.BuildOverviews?

3. Added support for extracting a particular overview int GDALRead.cs and GDALReadDirect.cs.

To test this feature one can use the following commands:

gdaloverviews {GDAL dataset name} {resamplealg} {level1} {level2} ... gdalread {GDAL dataset name} {outfile} {level1} gdalread {GDAL dataset name} {outfile} {level2} ...

04/08/07 19:49:17 changed by tamas

  • milestone changed from 1.4.1 to 1.5.0.

04/20/07 17:02:27 changed by tamas

  • status changed from assigned to closed.
  • resolution set to fixed.