The City Of Calgary open data API
Go to yyc.io to sign up for news about releases and public API availability.
With NodeJS installed and MongoDB running locally, clone the repository and run
npm install npm start
Then go to http://localhost:3030
The application will go through the city open data catalogue and import all RSS feeds and then proceed to download all KMZ files, convert them to GeoJSON and add them into the database.
The following API endpoints are available:
The open data catalogue data parsed from the RSS feed.
Returns a list of points imported from all datasets. Can be filtered by property, e.g.
GET /points?COMM=<code>
will return all points with that community code.
Additionally takes location=latitude,longitude
and radius=meters
query parameters which will search for all points around the location within the given radius.
Returns a GeoJSON list of polygons.