foss_warn icon indicating copy to clipboard operation
foss_warn copied to clipboard

Allow to use <current location>

Open davidak opened this issue 3 years ago • 5 comments

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.

davidak avatar Feb 23 '22 13:02 davidak

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.

nucleus-ffm avatar Feb 24 '22 11:02 nucleus-ffm

IP-based geo-location is probably a bad idea - just think about people using a VPN on their mobile...

petrarca-arezzo avatar Aug 27 '22 06:08 petrarca-arezzo

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.

nucleus-ffm avatar Sep 20 '23 10:09 nucleus-ffm

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.

nucleus-ffm avatar Sep 27 '23 15:09 nucleus-ffm

Does anyone have experience with openCellID? I was thinking about how to use that in addition to GPS.

nucleus-ffm avatar Oct 01 '23 19:10 nucleus-ffm