Given parameters, returns an XML document with <marker> nodes, each representing a RackID from the Chicago Bicycle Parking Program Web Application.
Required Parameters
No parameters are required. Latitude and longitude, if not set, default to a location approximately at State & Madison. The status defaults to 0. Radius defaults to 0.25 miles.
Available Parameters
"status" is any number 0, 1, or 2, that have the following meanings:
0 - Return all RackIDs, regardless of status
1 - Return only installed RackIDs
2 - Return approved but not yet installed RackIDs
Try it out!
Example URL: http://www.chicagobikes.org/bikeparking/api2.php?lat=41.94919&lon=-87.721136&radius=0.25&status=1
Returned Attributes
The first 500 results, ranked by distance, are returned. No more results are returned because you could construct a query that returns every record in the database and that would tax the server.
The Locator API searches the Bike Parking Database and returns, via XML, the results based on two inputs: address (Chicago only), and radius (in miles).
Example call:
http://chicagobikes.org/bikeparking/locator_xml.php?address=30%20N%20LaSalle&radius=.5
No other parameters are accepted.
The first 500 results, ranked by distance, are returned. No more results are returned because you could construct a query that returns every record in the database and that would tax the server.
There are 7 visitors online. More Bicycle Program: Bike 2015 Plan | Bike Parking | Bike Laws | Bike Ambassadors | Events Calendar