voxcity.geoprocessor.draw.edit_landcover ======================================== .. py:module:: voxcity.geoprocessor.draw.edit_landcover .. autoapi-nested-parse:: Interactive land-cover editor for ipyleaflet maps. Provides: - edit_landcover: Full interactive editor (paint cells by click or area polygon) Functions --------- .. autoapisummary:: voxcity.geoprocessor.draw.edit_landcover.edit_landcover Module Contents --------------- .. py:function:: edit_landcover(voxcity=None, initial_center=None, zoom=17) 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. :param voxcity: VoxCity object for data extraction. :type voxcity: VoxCity, optional :param initial_center: (lon, lat) for initial map centre. :type initial_center: tuple, optional :param zoom: Initial zoom level. Default=17. :type zoom: int :returns: (map_object, land_cover_classes np.ndarray) :rtype: tuple