Open Streetmap Dataset

BRIDGES provides easy access to Open Street Map (OSM) data. This can be very useful in graph algorithms and graph based applications (Bacon Number, Dijkstra's algorithms, MST, etc.). We have the capability to specify city names or bounding box of locations to retrieve the map data.

Possible filtering values include:

A list of avaliable cities can be found at Bridges OSM Cities

When using a bounding box for your input slection put the coordinates in the order of minLat, minLon, maxLat, maxLon or (SWNE).

Suggested Examples:

data_source.get_osm_data("New York, New York", "default")
data_source.get_osm_data("Denver, Colorado", "default")
data_source.get_osm_data("Chicago, Illinois", "residential")

See also

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

  1. OSMData [Java] [C++] [Python]
  2. OSMVertex [Java] [C++] [Python]
  3. OSMEdge [Java] [C++] [Python]
  4. getOSMData() and variants [Java] [C++] [Python]

Accessing Open Street Map Data: An Example BRIDGES program

The program snippet below illustrates how to obtain map data of the UNC Charlotte.

Java
C++
Python