Weather API Developer's Guide


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

The table below documents the member attributes of LocationMetadata.

Table 1. LocationMetadataType elements
Attribute Data Type Description
id String Location ID.
country String Location country name.
state String Location state name.
city String Location city name.
latitude Double Latitude in degrees in WGS 84 format.
longitude Double Longitude in degrees in WGS 84 format.
elevation Double Elevation in meters.
distance Double Air distance between the location in the response and the specified location in km.
dayOfWeek 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 "".

weekDay String Name of day.
utcTime Date Date and time the forecast was issued. The format is either YYYY-MM-DDThh:mm:ss + 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.
localTime String Local time, for example, 0701312013, which is hour 7 of 2013-01-31.
localTimeFormat String Local time format.

The format is HHMMddyyyy.

timezone Integer Location timezone as an offset from Greenwich Mean Time (GMT/UTC).
Note: Daylight saving time is not accounted for.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on