Public Transit API Developer's Guide

City

City contains all available information about a city.

Table 1. City Type Attributes
Attribute Always Included Type Description
x Yes Coordinate Specifies the longitude of the center point of your search in WGS 84-compliant degrees between -180 and 180.
y Yes Coordinate Specifies the latitude of the center point of your search in WGS 84-compliant degrees between -90 and 90.
country Yes String The country that city belongs to.
name Yes String Name of the city.
created Yes DateTime The date the city information has been created in format ISO 8601 (for example, 2017-12-25T01:23:45).
updated Yes DateTime The date the city information has been updated in format ISO 8601 (for example, 2017-12-25T01:23:45).
display_name - String Specifies information about the screen display of name, state and country. The actual screen display may differ from this preview.
distance - Integer Distance to use when user coordinates are known.
state - String  
relevancy - Double It is a value between 0 and 1 putting weight how relevant some city should be for user when user is in some specifig location. This will mostly give correct results but it cannot be guaranteed.
Table 2. City Type Elements
Element Always Included Type Description
Cvg Yes Cvg Contains detailed coverage information.
Operators - Operators Operators serving city
Providers - Providers Listing data providers
MissingCoverage - MissingCoverage Contains information about missing operators, lines or timetables.
Pop - Pop City population

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 selfservesupport@here.com.