Skip to content

Commit

Permalink
Base subclass on node location in analyser_osmosis_way_approximate os…
Browse files Browse the repository at this point in the history
frodrigo committed Jul 17, 2019

Verified

This commit was signed with the committer’s verified signature. The key has expired.
kamilmysliwiec Kamil Mysliwiec
1 parent 18fcc9a commit 858791e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysers/analyser_osmosis_way_approximate.py
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ def __init__(self, config, logger = None):
)
for t in self.tags:
self.classs_change[t[0]] = {"item":"1190", "level": 3, "tag": ["geom", "highway", "railway", "fix:imagery"], "desc": T_f(u"Approximate {0}", t[1]) }
self.callback10 = lambda res: {"class":res[4], "subclass":stablehash(res[3]), "data":[self.way_full, self.positionAsText], "text": T_f(u"{0} deviation of {1}m", res[3], res[2])}
self.callback10 = lambda res: {"class":res[4], "subclass":stablehash(res[1]), "data":[self.way_full, self.positionAsText], "text": T_f(u"{0} deviation of {1}m", res[3], res[2])}

def analyser_osmosis_full(self):
self.run(sql10)

0 comments on commit 858791e

Please sign in to comment.