Function pinpointer::datasets::load_labeled_collection_polygons
source · pub fn load_labeled_collection_polygons(
path: &Path,
label: &str
) -> HashMap<String, MultiPolygon>Expand description
Loads labeled polygons from a GeoJSON file and returns them as a HashMap.
Arguments
path- The path to the GeoJSON file.label- The property to use as the label for the polygons.