Private
Public Access
1
0

adding a few tests

This commit is contained in:
Sander Roosendaal
2022-07-14 15:27:01 +02:00
parent 868b39cd1f
commit ecf9566f0b
9 changed files with 205 additions and 66 deletions

View File

@@ -553,7 +553,7 @@ def polygon_coord_center(polygon):
return latitudes.mean(), longitudes.mean()
def polygon_to_path(polygon):
def polygon_to_path(polygon, debug=False):
points = GeoPoint.objects.filter(polygon=polygon).order_by("order_in_poly")
s = []