Commit 9dbaa0f1 authored by Sven Greiner's avatar Sven Greiner
Browse files

Improve simplification performance

parent 7ed7b69e
......@@ -172,7 +172,7 @@ if __name__ == "__main__":
shapename = "result.shp"
track = parseTrack(xml.dom.minidom.parse(gpxname))
simplified = dp(copy.deepcopy(track), "distance", "elevation", 5)
simplified = copy.deepcopy(dp(track, "distance", "elevation", 3))
recalculateTrack(simplified)
printTrack(simplified)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment