geopyspark.geotrellis.union module¶
-
geopyspark.geotrellis.union.
union
(layers)¶ Unions togther two or more
RasterLayer
s orTiledRasterLayer
s.All layers must have the same
layer_type
. If the layers areTiledRasterLayer
s, then all of the layers must also have the sameTileLayout
andCRS
.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 moreRasterLayer
s orTiledRasterLayer
s layers to be unioned together.Returns: RasterLayer
orTiledRasterLayer