LocationLevel


Description:

[ CCode ( cprefix = "GWEATHER_LOCATION_" , type_id = "gweather_location_level_get_type ()" ) ]
public enum LocationLevel

The size/scope of a particular [class@GWeather.

Location].

Locations form a hierarchy, with a `GWEATHER_LOCATION_WORLD` location at the top, divided into regions or countries, and so on.

Countries may or may not be divided into "adm1"s, and "adm1"s may or may not be divided into "adm2"s. A city will have at least one, and possibly several, weather stations inside it. Weather stations will never appear outside of cities.

Building a database with [func@GWeather.Location.get_world] will never create detached instances, but deserializing might.


Namespace: GWeather
Package: gweather4

Content:

Enum values:

Methods: