Open davidak opened 2 years ago
I have already thought about that. GPS would be a bit overkill, since we only need the nearest city. I was thinking of location tracking via IP address or mobile-based tracking. But I don't know how that would work.
IP-based geo-location is probably a bad idea - just think about people using a VPN on their mobile...
today we are one step closer to the whole thing. Inspired by the TinyWeatherForecastGermany I found the right data from destatis and created a csv with the geocodes, the place name and the coordinates. With this data we can now check the GPS position and select the closest place to this position. The question now is whether FOSSWarn should actively search for GPS data or just passively use the data when it is available.
I have now implemented this function for a prototype in the allowUseOfCurrentLocation branch. I am not sure if it works yet. I will test it for a few days.
Does anyone have experience with openCellID? I was thinking about how to use that in addition to GPS.
Other location based apps like Suntimes allow to use the current location based on GPS instead of a manually set static location.
That would be a very useful feature for people that move a lot.
Maybe it should even be the default mode, so it just works.