Skip to content

Commit

Permalink
Lyon bike parking: fix operator and covered tags
Browse files Browse the repository at this point in the history
  • Loading branch information
XioNoX authored and frodrigo committed Jul 22, 2024
1 parent 79b1b0a commit 198072b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analysers/analyser_merge_bicycle_parking_FR_lyon.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ def __init__(self, config, logger = None):
mapping1 = {
"capacity": "capacite",
"bicycle_parking": lambda res: self.bicycle_parking.get(res.get("mobiliervelo")),
"covered": lambda res: "yes" if res.get("abrite") else "no",
"covered": lambda res: "yes" if res.get("abrite") == "true" else "no",
},
mapping2 = {
"start_date": "anneerealisation",
"ref:FR:GrandLyon": "nom",
"operator": lambda res: None if res.get("gestionaire") == "Autre" else res.get("gestionaire"),
"operator": lambda res: None if res.get("gestionnaire") == "Autre" else res.get("gestionnaire"),
})))

bicycle_parking = {
Expand Down

0 comments on commit 198072b

Please sign in to comment.