Skip to content

Commit

Permalink
fix: Make sure pyproj returns lon/lat
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Feb 6, 2024
1 parent 8a18f97 commit a3825e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thalassa/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _get_stream_timeseries(
import holoviews.streams as hv_streams
import pyproj

to_wgs84 = pyproj.Transformer.from_crs("EPSG:3857", "EPSG:4326").transform
to_wgs84 = pyproj.Transformer.from_crs("EPSG:3857", "EPSG:4326", always_xy=True).transform

if stream_class not in {hv_streams.Tap, hv_streams.PointerXY}:
raise ValueError("Unsupported Stream class. Please choose either Tap or PointerXY")
Expand Down

0 comments on commit a3825e5

Please sign in to comment.