Fix reverse_coordinates functionality
This commit is contained in:
parent
af079f7907
commit
f15ff39090
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue