From 709117189411deda3c1237a794522a1c635b1784 Mon Sep 17 00:00:00 2001 From: "thomas.grandjean" Date: Sun, 22 Oct 2023 21:50:15 +0200 Subject: [PATCH] Fix retrieve living area from MinIO --- cartiflette/public/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cartiflette/public/client.py b/cartiflette/public/client.py index bb3b6e64..e2ea77c2 100644 --- a/cartiflette/public/client.py +++ b/cartiflette/public/client.py @@ -341,7 +341,7 @@ def get_vectorfile_communes_arrondissement( return gdf -def get_bv_commune( +def get_living_area_commune( year=None, year_bv="2022", bucket=cartiflette.BUCKET, @@ -374,7 +374,7 @@ def get_bv_commune( return gdf -def get_bv( +def get_living_area( year, year_bv, bucket=cartiflette.BUCKET, @@ -391,8 +391,8 @@ def get_bv( "year": year, "borders": "BASSIN-VIE", "crs": 4326, - "filter_by": None, - "value": None, + "filter_by": "origin", + "value": "preprocessed", "file_format": "GPKG", "provider": "cartiflette", "dataset_family": f"bassins-vie-{year_bv}",