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
name Yes String Name of the city.
x Yes Coordinate Specifies the longitude of the city center.
y Yes Coordinate Specifies the latitude of the city center.
country Yes String The country that city belongs to.
created Yes DateTime The date the city information has been created.
updated Yes DateTime The date the city information has been updated.
display_name - String Specifies information about the screen display of name, state and country. The actual screen display may differ from this preview.
state - String If the country is devided in states, this is the name of the state that city belongs to.
relevancy - Float It is a value between 0 and 1 putting weight how relevant some city should be for user when user is in some specific location. This will mostly give correct results but it cannot be guaranteed.
distance - Integer Distance to the user when user coordinates are provided.
Table 2. City Type Elements
Element Always Included Type Description
Cvg Yes Cvg Contains detailed coverage information.
Operators - Operators Contains all available information about operators referenced in the response.
Providers - Providers Specifies a list of data providers.
MissingCoverage - MissingCoverage MissingCoverage type contains information about operators, transports or time tables we are not able to provide.
Pop - Pop Specifies the population of a city.

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.