Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

yycjs/yyc.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •