Skip to content

Commit

Permalink
tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ComradeRamen authored and frodrigo committed Sep 9, 2024
1 parent 32bcc08 commit bb8ed0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysers/analyser_osmosis_highway_tunnel_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bb8ed0b

Please sign in to comment.