ianeiko / wil_engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DESCRIPTION

This is an experiment that uses climate data from the University of Delaware and MongoDB along with OpenCage Geocoder to display climate for any given location. The geocoder converts a string into Lat/Long cordinates and then we query the database using the $near operator. A 2dsphere index is created during data import to facilitate location queries.

INSTALL

Requires Node.js and MongoDB

$ npm install

IMPORT DATA

$ node records.js && node import.js

or

$ bash import_data

Note: this will take a few minutes

SIGN UP FOR AN OPENCAGE API KEY

OpenCage Geocoder requires an API key, enter it into geocoder.js

START

$ npm start

by default app start on localhost:3000

Data Sources

http://climate.geog.udel.edu/~climate/html_pages/download.html#T2011 http://climate.geog.udel.edu/~climate/html_pages/download.html#P2011rev

About


Languages

Language:CSS 69.8%Language:JavaScript 29.9%Language:HTML 0.3%