yycjs / yyc.io

The City Of Calgary open data API

Home Page:http://yyc.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yyc.io

The City Of Calgary open data API

Go to yyc.io to sign up for news about releases and public API availability.

Gitter

Installation

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.

Endpoints

The following API endpoints are available:

GET /catalogue

The open data catalogue data parsed from the RSS feed.

GET /points

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.

GET /polygons

Returns a GeoJSON list of polygons.

About

The City Of Calgary open data API

http://yyc.io


Languages

Language:CSS 62.1%Language:JavaScript 35.0%Language:HTML 1.7%Language:PHP 1.0%Language:Ruby 0.3%