LocationLevel
Description:
[ CCode ( cprefix = "GWEATHER_LOCATION_" , type_id = "gweather_location_level_get_type ()" ) ]
public enum LocationLevel
The size/scope of a particular 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 location_get_world will never create detached
instances, but deserializing might.
Content:
Enum values:
- ADM1 - A location representing a
"first-level administrative division"; ie, a state, province, or similar division.
- CITY - A location representing a city
- COUNTRY - A location representing a
"country" (or other geographic unit that has an ISO-3166 country code)
- DETACHED - A location that is
detached from the database, for example because it was loaded from external storage and could not be fully recovered.
- NAMED_TIMEZONE - A location
representing a named or special timezone in the world, such as UTC
- REGION - A location representing a
continent or other top-level region.
- WEATHER_STATION - A location
representing a weather station.
- WORLD - A location representing the
entire world.
Methods: