LocationMetadata represents the geographical location and other data of a response element.
The table below documents the member attributes of
| ||String||Location ID.|
| ||String||Location country name.|
| ||String||Location state name.|
| ||String||Location city name.|
| ||Double||Latitude in degrees in WGS 84 format.|
| ||Double||Longitude in degrees in WGS 84 format.|
| ||Double||Elevation in meters.|
| ||Double||Air distance between the location in the response and the specified location in km.|
| ||String||Weekday number 1 through 7, where 1 indicates Sunday. |
If the element is in the response and it contains a value, there is an Integer in the String. If the element is in the response and it does not contain a value, the value is
| ||String||Name of day.|
| ||Date||Date 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 the date and time is terminated by a Z. |
Note: If daylight saving time is in effect for a specified location, times will be adjusted for daylight savings time.
| ||String||Local time, for example, |
| ||String||Local time format. |
The format is
| ||Integer||Location timezone as an offset from Greenwich Mean Time (GMT/UTC). |
Note: Daylight saving time is not accounted for.