voxcity.geoprocessor.draw.edit_landcoverΒΆ

Interactive land-cover editor for ipyleaflet maps.

Provides: - edit_landcover: Full interactive editor (paint cells by click or area polygon)

FunctionsΒΆ

edit_landcover([voxcity, initial_center, zoom])

Interactive map editor for land-cover classes.

Module ContentsΒΆ

voxcity.geoprocessor.draw.edit_landcover.edit_landcover(voxcity=None, initial_center=None, zoom=17)[source]ΒΆ

Interactive map editor for land-cover classes.

Users can select a land-cover class from the palette and paint individual cells by clicking or in bulk by drawing an area polygon.

Parameters:
  • voxcity (VoxCity, optional) – VoxCity object for data extraction.

  • initial_center (tuple, optional) – (lon, lat) for initial map centre.

  • zoom (int) – Initial zoom level. Default=17.

Returns:

(map_object, land_cover_classes np.ndarray)

Return type:

tuple