From c900d0a7d4c03f8eb85bdff4117d1e3f848bbad6 Mon Sep 17 00:00:00 2001 From: Arzhel Younsi Date: Fri, 3 May 2024 18:48:39 +0200 Subject: [PATCH] Brest bike parking: add image URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To both faciliate working through the list of "issues" and have the image in OSM. Got the confirmation from the Métropole that the urls are stable and we're allowed to link them from OSM. --- analysers/analyser_merge_bicycle_parking_FR_brest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/analysers/analyser_merge_bicycle_parking_FR_brest.py b/analysers/analyser_merge_bicycle_parking_FR_brest.py index 168d49c10..f189a3393 100644 --- a/analysers/analyser_merge_bicycle_parking_FR_brest.py +++ b/analysers/analyser_merge_bicycle_parking_FR_brest.py @@ -60,6 +60,7 @@ def __init__(self, config, logger = None): "start_date": "DATE_POSE", "covered": lambda res: self.covered.get(res.get("TYPE_STAT")), "operator": lambda res: "Brest Métropole" if res.get("DOM_PRIVE") == "Public" else None, + "image": lambda res: res.get("LIEN_IMAGE").replace('\\','/') if res.get("LIEN_IMAGE") else None, }))) covered = {