The get_area_labels method currently requires the label polygon file to already be parsed to a geodataframe. This is not consistent with other methods that require geometry or raster data, which allow the user to pass a file location rather than a geodataframe (for geometries) or Xarray.DataArray (for rasters)
The
get_area_labels
method currently requires the label polygon file to already be parsed to a geodataframe. This is not consistent with other methods that require geometry or raster data, which allow the user to pass a file location rather than a geodataframe (for geometries) or Xarray.DataArray (for rasters)Affected are:
collection.get_area_labels
header.get_area_labels
spatial.find_area_labels