Gjsify LogoGjsify Logo

The size/scope of a particular #GWeatherLocation.

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 gweather_location_get_world() will never create detached instances, but deserializing might.

Index

Enumeration Members

ADM1: number

A location representing a "first-level administrative division"; ie, a state, province, or similar division.

CITY: number

A location representing a city

COUNTRY: number

A location representing a "country" (or other geographic unit that has an ISO-3166 country code)

DETACHED: number

A location that is detached from the database, for example because it was loaded from external storage and could not be fully recovered. The parent of this location is the nearest weather station.

NAMED_TIMEZONE: number

A location representing a named or special timezone in the world, such as UTC

REGION: number

A location representing a continent or other top-level region.

WEATHER_STATION: number

A location representing a weather station.

WORLD: number

A location representing the entire world.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method