mosaic.container.DataContainer.update#
- DataContainer.update(uuid_or_geometry, new_geometry)[source]#
Update a geometry by UUID or geometry object.
- Parameters:
- uuid_or_geometrystr or Geometry
UUID of geometry to update, or the geometry object itself
- new_geometryGeometry
New geometry to replace the old one
- Returns:
- bool
True if update succeeded, False if UUID not found