Skip to content

Commit

Permalink
Fix coordinates for Basel
Browse files Browse the repository at this point in the history
ref #247
  • Loading branch information
jklmnn committed Feb 1, 2025
1 parent 430991a commit a2ff886
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion park_api/cities/Basel.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ def parse_html(xml_data):
"state": translate_status(entry['status']),
"free": entry['free'],
"total": entry['total'],
"coords": list(entry['geo_point_2d'].values()),
"coords": {
"lat": entry['geo_point_2d']['lat'],
"lng": entry['geo_point_2d']['lon']
},
"forecast": False,
"lot_type": entry['lot_type'],
"url": entry['link']
Expand Down

0 comments on commit a2ff886

Please sign in to comment.