public-tree-map

Public Tree Map uses open datasets to document publicly owned park + street + landmark trees in Santa Monica, California. Please see below for more information about the data sources and project.

We primarily use:

  • Flask
  • GraphQL
  • React + Foundation
  • SQLite but will move to PostgreSQL

Protocol for pull requests + code review

  • Please review open issues and link your pull request to the relevant issue.
  • Please create new branch!
  • In your pull request, please list and explain all proposed changes to the code base (additions, deletions). If you reuse code from elsewhere, please make sure you've attributed it.
  • Please apply all relevant labels to your pull request.
  • Please request a review (either from a specific person or from the slack channel).
  • Reviewers: please review all proposed changes, write comments and questions in line notes. Please review all updates made at your request.
  • Reviewer and requester: please confirm with each other that the PR is ready to merge. Please make sure that the PR branch name documents the new changes.

Running locally

Running this requires Python 3 and nodejs.

  1. Install the Python requirements:
pip install -r requirements.txt
  1. Install the Javascript requirements:
npm install
  1. Build the project and install it into the flask app:
npm run flask:build
  1. Start the application
python run.py
  1. Navigate to localhost:5000 in your browser.

Data Sources

Tree attributes and current sources

Related projects/inspiration