Opened 17 years ago
Closed 17 years ago
#1552 closed defect (fixed)
Incorrect signature for Dataset.BuildOverviews in C# bindings
Reported by: | jbeverage | Owned by: | 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 (3)
comment:1 by , 17 years ago
Milestone: | → 1.4.1 |
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Milestone: | 1.4.1 → 1.5.0 |
---|
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The following changes have been made for the SVN trunk:
public int BuildOverviews( string resampling, int[] overviewlist)
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} ...