[PATCH] GDALAutoCreateWarpedVRT() doesn't respect band counts/mapping
|Reported by:||Kyle Shannon||Owned by:||warmerdam|
This may be just a convenience, as the docs say:
@param psOptionsIn Additional warp options, normally NULL.
but most are preserved and passed through. The exceptions are the resampling algorithm, which is passed as a separate argument as well as the source dataset, which is passed too. The number of bands and band maps are always set to all bands, regardless of the warp options. The patch explicitly initializes nBandCount to 0 (probably not needed, but doesn't hurt and recognizes subsets of bands. If nBandCount is 0, then set all bands. Otherwise respect original values.
Change History (6)
comment:2 by , 9 years ago
|Summary:||GDALAutoCreateWarpedVRT() doesn't respect band counts/mapping → [PATCH] GDALAutoCreateWarpedVRT() doesn't respect band counts/mapping|