locationtech-labs / geopyspark

GeoTrellis for PySpark
Other
179 stars 59 forks source link

Read Multiplex Band Support #698

Closed jbouffard closed 5 years ago

jbouffard commented 5 years ago

This PR adds multiplex band support to the TiledRasterLayer.read method. Now, it'll be possible to read in separate files as a single multiband. This is useful in cases where individual bands are split into separate files. In addition to combing multiple bands into a single tile, it's also possible to specify their order. In order to support band multiplexing, a new type: SourceInfo has been created.

Note: This PR depends on an unmerged PR: https://github.com/geotrellis/geotrellis-contrib/pull/111 to work.