geopyspark.geotrellis.union module

geopyspark.geotrellis.union.union(layers)

Unions togther two or more RasterLayers or TiledRasterLayers.

All layers must have the same layer_type. If the layers are TiledRasterLayers, then all of the layers must also have the same TileLayout and CRS.

Note

If the layers to be unioned share one or more keys, then the resulting layer will contain duplicates of that key. One copy for each instance of the key.

Parameters:layers ([RasterLayer] or [TiledRasterLayer] or (RasterLayer) or (TiledRasterLayer)) – A colection of two or more RasterLayers or TiledRasterLayers layers to be unioned together.
Returns:RasterLayer or TiledRasterLayer