Hexangon, German
@Hexangon@mastodon.social avatar

Hessen als Stadt?! Meine Heimatstadt wird leider nicht gefunden. @gnome so was könnt ihr besser.

image/png
image/png

lued,
@lued@troet.cafe avatar

@Hexangon @gnome
gnome-weather verwendet für die Namensauflösung die Bibliothek gweather. Dort gibts ne Locations.xml mit allen Standorten. Alles Open Source! Tu dir keinen Zwang an 😜

https://gitlab.gnome.org/GNOME/libgweather/-/tree/main/data?ref_type=heads

GerryT,
@GerryT@mastodon.social avatar

@lued @Hexangon @gnome

So trivial scheint die Lösung jedoch nicht zu sein. Es handelt sich um eine Regression seit einigen Versionen.

Hexangon,
@Hexangon@mastodon.social avatar

@GerryT @lued @gnome

So oft nutze ich die Wetter App nicht, aber komisch ist es schon wenn in einer älteren Version mehr Orte vorhanden waren als jetzt. Gibt bes einen Grund?

GerryT,
@GerryT@mastodon.social avatar

@Hexangon @lued @gnome

Was der Grund ist, weiß ich nicht, aber das ist der Regression bug report:
https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/234

Ich kann das selbst bestätigen, das in älteren Versionen meine Städte drin waren, die jetzt in neueren Versionen fehlen. Beispiele sind Erlangen und Offenburg

GerryT,
@GerryT@mastodon.social avatar

Hi @ebassi , we discuss here an issue with #GnomeWeather. I added you, because you might know why the regression exists. There are many locations missing in #Gnome #Weather with version >= 41. Before, the locations were there and worked fine. Even larger German cities are not anymore available.

Related bug:
https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/234

I wonder whether this cannot be easily fixed, because, for example, the extension #OpenWeatherRefined finds many more locations

@Hexangon @lued @gnome

ebassi,
@ebassi@mastodon.social avatar

@GerryT @Hexangon @lued @gnome the issue is this one: https://gitlab.gnome.org/GNOME/gnome-weather/-/issues/247#note_1527157

Basically: the old GTK3 widgets used the network for additional searches. When Weather was ported to GTK4, it stopped doing that.

On top of that, see also: https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/186

It's a complex issue, because you don't want to always do a geolocation search (for privacy reason) and adding more locations for offline search is labour-intensive.

Hexangon,
@Hexangon@mastodon.social avatar

@ebassi @GerryT @lued @gnome

Thank you for the response.

ebassi,
@ebassi@mastodon.social avatar

@GerryT @Hexangon @lued @gnome in practice, I want to split out the locations DB from libgweather to unblock adding more cities without having to constantly spin a release; a bit like the timezone database.

Adding geolocation search to Weather is possible, but the application is not heavily maintained, so you may need to get more eyes on it, if you want to contribute.

GerryT,
@GerryT@mastodon.social avatar

@ebassi Thanks a lot for your response and detailed explanation. I know understand the problem better. I am not a developer, but I was in contact with the developer of OpenWeather Refined. Maybe there are synergies with Gnome Weather / libgweather.

@Hexangon @lued @gnome

ebassi,
@ebassi@mastodon.social avatar

@GerryT @Hexangon @lued @gnome I'm happy to review contributions to add a new weather provider; the main issue is typically the terms of service, but for anything else, the code is pretty simple.

GerryT,
@GerryT@mastodon.social avatar

@ebassi Thank you. Regarding terms of service: Is this something that seems to be suitable? Here from OpenWeatherRefined: "Display weather for the current or a specified location. Fork of OpenWeather.
Weather data is provided by OpenWeatherMap.org or WeatherAPI.com.
If location is set to "My Location," which is the case by default on laptops, this extension will use location services and Nominatim (from openstreetmap.org), or infoip.io if that failed."

@Hexangon @lued @gnome

  • All
  • Subscribed
  • Moderated
  • Favorites
  • GNOME
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines