Skip to content

echeyne/bcatlas-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BCAtlas Analytics

BCAtlas Analytics is a web-mapping tool aimed to help small municipal governments make use of local, provincial, and federal datasets while making decisions.

Configuration

This project can be forked and then configured according to Apache Tomcat's web specification: https://tomcat.apache.org/tomcat-7.0-doc/appdev/deployment.html Database connection information must be included in WEB-INF/class/config.properties. A PostgreSQL database with a PostGIS plugin must be used. Data from the Canadian Census and National Household Survey can be downloaded from http://open.canada.ca/.

File Specification

lib

Contains all Java jar files required for development

src/properties

ConnectionProperties.java - Handles connecting to the database for all Java servlets

src/request

GetCenSubDiv.java - Retrieves the census subdivision for a given parcel id

GetDemoInfo.java - Retrieves the demographic information of a surrounding census subdivision for a given parcel or census subdivision from either the 2011 Canadian Census or the 2011 National Household Survey

GetParcelInfo.java - Retrieves information related to a parcel from the municipal government's parcel data

GetShapeIntersection.java - Retrieves all parcels that fall within the coordinates of a given polygon, coordinates are in the NAD 83 UTM 11N CRS

GetSummaryInfo.java - Retrieves a summary of the surrounding census subdivision from the 2011 Canadian Census given a parcel or census subdivision

web/WEB-INF

web.xml - XML file describing the servlets and other components that make up the application

web/assets/css

bcatlas.css - custom styling for the web application

web/assets/images

All images used by the web applications

web/assets/js

bcatlas.js - all of the necessary JavaScript functions needed to load the site and perform non-map related interactions

generate_charts.js - creates the charts displayed in the demographics tabs

map_interact.js - handles all of the user's interactions with the map

map_load.js - initializes and loads the map

proj4.js - 3rd party Javascript library to transform coordinates from one coordinate system to another (http://proj4js.org/)

Third Party Libraries Accessed via CDN

jQuery - https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js

Bootstrap

CSS - https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css

JS - https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js

OpenLayers

CSS - https://cdnjs.cloudflare.com/ajax/libs/ol3/3.6.0/ol.css

JS - https://cdnjs.cloudflare.com/ajax/libs/ol3/3.6.0/ol.js

Coordinate System - http://epsg.io/26911.js

Author

Emily Millard - [email protected]

About

BCAtlas Analytics - Undergraduate honours thesis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published