fmidev / weather-app

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

Calculate distance to observation station in the app #584

Open geosaaga opened 3 weeks ago

geosaaga commented 3 weeks 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.