api: Fix longitude/latitude ordering in track geojson
See: https://macwright.com/lonlat/
This commit is contained in:
parent
12686abe14
commit
12ef37392b
|
@ -149,7 +149,7 @@ async def process_track(session, track, data_source):
|
||||||
"type": "Feature",
|
"type": "Feature",
|
||||||
"geometry": {
|
"geometry": {
|
||||||
"type": "LineString",
|
"type": "LineString",
|
||||||
"coordinates": [[m["latitude"], m["longitude"]] for m in track_points],
|
"coordinates": [[m["longitude"], m["latitude"]] for m in track_points],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue