US Cities Dataset

BRIDGES provides easy access to US Cities data. Each record consists of city ID, name, state, country, latitude, longitude, elevation and time zone. The API enables to filter the cities based on location (by providing a latitude, longitude bounding box), state, population, or elevation.

The program snippet below illustrates how to query for the dataset using some of the available filters.

See also

This tutorial gives an introduction to the usage of City data. You can find the complete documentation of the features in the Doxygen documentation of the following classes and functions:

  1. City [Java] [C++] [Python]
  2. getUSCitiesData() [Java] [C++] [Python]
  3. getWorldCities() [to come]

Accessing Data: An Example BRIDGES program

Java
C++
Python