fmidev / weather-app

FMI's official weather application for mobile devices
7 stars 2 forks source link

Calculate distance to observation station in the app #584

Open geosaaga opened 5 months ago

geosaaga commented 5 months ago

Currently the app gets distance to observation station from timeseries. However, the server could cache observation queries better without distance parameter. Therefore it is recommend to calculate the distance to observation station in the app using Haversine formula.