Fix reverse_coordinates functionality
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user