geopyspark.geotrellis.union module¶
-
geopyspark.geotrellis.union.union(layers)¶ Unions togther two or more
RasterLayers orTiledRasterLayers.All layers must have the same
layer_type. If the layers areTiledRasterLayers, then all of the layers must also have the sameTileLayoutandCRS.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 moreRasterLayers orTiledRasterLayers layers to be unioned together.Returns: RasterLayerorTiledRasterLayer