walteryu / ndoch

CFA NDoCH 2020 - Asset Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code of America NDoCH 2020 - Asset Map

Code for Sacramento

Change Log

  • 08-21-2020: Baseline Version v0.1

Introduction

This project focuses on the asset map item for the CFA NDoCH event; it consists of a web application to visualize various assets within the Sacramento area. The data is sourced from various open data portals.

Software and Tools

Software used for this project are as follows:

  1. ESRI Open Data GIS Portal
  2. Google Earth Pro
  3. Node.js
  4. Express.js
  5. NPM Package Manager
  6. QGIS

Installation

Clone Github repository, then run locally as follows:

  1. GIS Data Layers - Open Shapefiles with QGIS (open-source)
  2. Google Earth and KML Data Layers - Open with Google Earth Desktop
  3. Node.js Web Application - Install dependences and run on local server
  4. Node.js Deployment - Heroku instructions listed below for reference

Node.js Web Application

Node.js web app using the ESRI JS API and as listed below; it visualizes various GIS layers for additional analysis.

  1. Visit Web Application
  2. Shows ESRI AGOL major US cities and freeway layers
  3. Developed using Node.js and Express web frameworks
  4. ESRI and Heroku templates used as referenced below

References:

Web app was developed using these templates/tutorials:

  1. ESRI/JS API: 2D Map Template
  2. ESRI JS API: Layer Template
  3. ESRI AGOL: US Major Cities Layer
  4. Heroku Node.js Tutorial

Heroku Node.js Tutorial Instructions

A barebones Node.js app using Express.js.

This application supports the Getting Started with Node on Heroku article - check it out.

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

$ git clone git@github.com:heroku/node-js-getting-started.git # or clone your own fork
$ cd node-js-getting-started
$ npm install
$ npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy to Heroku

Heroku Documentation

For more information about using Node.js on Heroku, see these Dev Center articles:

About

CFA NDoCH 2020 - Asset Map


Languages

Language:HTML 90.3%Language:JavaScript 4.9%Language:CSS 4.8%