Fix reverse_coordinates functionality

This commit is contained in:
coolneng 2020-06-15 20:02:20 +02:00
parent af079f7907
commit f15ff39090
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def reverse_coordinates(row):
"""
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