james-willis commented on PR #934: URL: https://github.com/apache/sedona-db/pull/934#issuecomment-4664389184
> I am still a tiny bit confused as to why source_axis is part of the view entry One functionality of this views feature is to allow bands to be permuted, e.g. `[x, y, z]` -> `[z, y, x]`. The indices of the entries in ViewEntries defines the target band ordering. the values of `source_axis` defines the source band location. **The index cannot be used to define the source axis because it is used to define the target axis.** One example: GDAL-backed functions with band stacking require y then x are the last two dimensions. If the source raster does not have this behavior a permutation is neccessary. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
