Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
M4rtinK committed Jun 20, 2020
1 parent 506a4f9 commit 45c00c9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/mod_loadTracklogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,12 +495,6 @@ def store_tracklog(self, tracklog, filename, cat, type, refresh="True"):

# helper functions

# TODO: move this to the geo module ?
def simple_pythagorean_distance(self, x1, y1, x2, y2):
dx = x2 - x1
dy = y2 - y1
return math.sqrt(dx ** 2 + dy ** 2)

# found on:
# http://www.quanative.com/2010/01/01/server-side-marker-clustering-for-google-maps-with-python/
def cluster_trackpoints(self, trackpointsList, cluster_distance):
Expand Down

0 comments on commit 45c00c9

Please sign in to comment.