Deltares-research / geost

GeoST is a Python interface for subsurface data
https://deltares-research.github.io/geost/
MIT License
4 stars 0 forks source link

Allow passing file location instead of geodataframe to get_area_labels #30

Closed Erik-Geo closed 2 months ago

Erik-Geo commented 2 months ago

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

Erik-Geo commented 2 months ago

Added in commit 3df2b9a4