adding a few tests
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user