Fix reverse_coordinates functionality

This commit is contained in:
2020-06-15 20:02:20 +02:00
parent af079f7907
commit f15ff39090

View File

@@ -19,7 +19,7 @@ def reverse_coordinates(row):
""" """
Reverses each tuples coordinates to ensure folium can parse them correctly Reverses each tuples coordinates to ensure folium can parse them correctly
""" """
coord = [tuple(reversed(t)) for t in row["fields.geo_shape.coordinates"]] coord = [tuple(reversed(t)) for t in row]
return coord return coord