GuidesAPI Reference
Guides

LocationMetadata

LocationMetadata represents the geographical location and other data of a response element.

The following table documents the member attributes of LocationMetadata.

AttributeData typeDescription
idStringlocation ID.
countryStringLocation country name.
stateStringLocation state name.
city
String
Location name. Can be city name or weather station name
latitudeDoubleLatitude in degrees in WGS 84 format.
longitudeDoubleLongitude in degrees in WGS 84 format.
elevationDoubleElevation in meters.
distanceDoubleAir distance between the location in the response and the specified location in km.
weekDayStringName of day.
utcTimeDateDate and time the forecast was issued. The format is either YYYY-MM-DDThh:mm:ss.SSS + the timezone offset, unless the forecast is for a location in the UTC zone, in which case the date and time is terminated by a Z. If daylight saving time is in effect for a specified location, times will be adjusted for daylight savings time.
localTimeStringLocal time, for example, 0701312013, which is hour 7 of 2013-01-31.
localTimeFormatStringLocal time format.
The format is HHMMddyyyy.
timezoneIntegerLocation timezone as an offset from Greenwich Mean Time (GMT/UTC).
Daylight Saving Time is not accounted for.