From bb8ed0be11b25a6fa4a4e911d60818d373ec9c60 Mon Sep 17 00:00:00 2001 From: ComradeRamen <150104144+ComradeRamen@users.noreply.github.com> Date: Sat, 7 Sep 2024 19:08:44 -0700 Subject: [PATCH] tags --- analysers/analyser_osmosis_highway_tunnel_bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysers/analyser_osmosis_highway_tunnel_bridge.py b/analysers/analyser_osmosis_highway_tunnel_bridge.py index 72cb0d87b..6dbb0859b 100644 --- a/analysers/analyser_osmosis_highway_tunnel_bridge.py +++ b/analysers/analyser_osmosis_highway_tunnel_bridge.py @@ -194,7 +194,7 @@ def __init__(self, config, logger = None): self.callback10 = lambda res: {"class":1, "data":[self.way_full, self.positionAsText], "fix":[{"+":{"bridge:structure":"beam"}}, {"+":{"bridge:structure":"suspension"}}] } #self.callback20 = lambda res: {"class":2, "data":[self.way_full, self.way_full, self.positionAsText] } #self.callback30 = lambda res: {"class":3, "data":[self.way_full, self.positionAsText] } - self.callback40 = lambda res: {"class": (4 if res[4] == 'bridge' else 5) + (2 if res[5] else 0), "data": [self.node_full, self.way, self.way, self.positionAsText] } + self.callback40 = lambda res: {"class": (4 if res[4] == 'bridge' else 5) + (2 if res[5] else 0), "data": [self.node_full, self.way_full, self.way_full, self.positionAsText] } def analyser_osmosis_full(self): self.run(sql10.format(""), self.callback10)