Planscape

Help regional planners prioritize landscape treatments for mitigating fire risk, maximizing ecological benefits and helping California′s landscapes adapt to climate change.
https://github.com/ourplanscape/planscape

Category: Biosphere
Sub Category: Wildfire

Keywords from Contributors

archiving transforms measur generic optimize observation compose conversion projection animals

Last synced: about 7 hours ago
JSON representation

Repository metadata

README.md

Planscape

Introduction

Planscape is a new wildfire resilience planning tool, bringing the
best available state and federal data and science together to help regional planners prioritize landscape
treatments for mitigating fire risk, maximizing ecological benefits and helping California’s
landscapes adapt to climate change.

Please see our wiki for more information.

Features

Some of the things you can do in Planscape (WIP):

  • Visualize the Regional Resource Kit data layers
  • Highlight areas with best management potential
  • Generate project plans
  • Share and combine plans with collaborators

Set Up

See the Development getting started guide
for how to download, build, and test Planscape.

Built With

  • PostGIS - database for storing user sessions and plans
  • Django REST framework - backend framework
  • black - code formatter
  • Angular - frontend framework
  • Leaflet - used to display maps and layers
  • ForSys - greedy heuristic optimization software package for land management planning and prioritization
  • PROMOTe - used to compute conditions from basic data, and find new optimal areas for treatment

Fun things

We have django-extensions installed, so there is a bunch of neat commands there.

Useful ones:

  1. python manage.py show_urls
  2. python manage.py shell_plus

Check the docs for more.

How to run black?

black is a uncompromising code formatter. For us to have a standardized repository, black is being used
as the sole formatter.

During CI we will check if this passes black formatting. If it fails, it will stop the build.

This only affects GitHub actions - so we won't be able to merge if it fails.

You should run locally before your commits. You can do so by:

cd src/planscape
black .

Contributing

See CONTRIBUTING for additional information.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 4,258
Total Committers: 28
Avg Commits per committer: 152.071
Development Distribution Score (DDS): 0.832

Commits in past year: 1,124
Committers in past year: 7
Avg Commits per committer in past year: 160.571
Development Distribution Score (DDS) in past year: 0.698

Name Email Commits
George Silva 8****a 716
Elsie L e****g@g****m 697
Pablo Lopez p****z@g****m 411
Sachi Yuan s****n@g****m 337
Hana Lee l****a@a****u 315
Jon Riecke r****e@g****m 288
Wendy Nie n****w@g****m 257
Mark 1****a 255
Roque Betiol Jr j****l@s****m 241
Pablo Lopez p****z@s****m 186
cynthia huang c****g@g****m 178
runforyourlives r****s@g****m 116
Luis Lopez 3****s 97
Laurens Geffert g****t@g****m 37
Sterling Wells s****s@g****m 30
janicejl j****l@g****m 22
Foxbyte0101 m****r@p****m 19
Jessica Lee j****e@g****m 10
Maciek Smuga-Otto m****a@g****m 9
mskim3494 3****4 8
Xinya Yang x****6@g****m 6
Ankit Pandey p****r@g****m 5
Andrew Wang a****g@g****m 5
Jordan Combs j****s@s****m 5
Mac M****c@M****n 5
Michele Turner 1****n 1
dependabot[bot] 4****] 1
dschmidt-sig d****t@s****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 71
Total pull requests: 1,573
Average time to close issues: 5 months
Average time to close pull requests: 2 days
Total issue authors: 6
Total pull request authors: 17
Average comments per issue: 1.39
Average comments per pull request: 0.14
Merged pull request: 1,370
Bot issues: 0
Bot pull requests: 1

Past year issues: 1
Past year pull requests: 1,252
Past year average time to close issues: N/A
Past year average time to close pull requests: 2 days
Past year issue authors: 1
Past year pull request authors: 7
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.1
Past year merged pull request: 1,130
Past year bot issues: 0
Past year bot pull requests: 1

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ourplanscape/planscape

Top Issue Authors

  • riecke (54)
  • JanLauGe (5)
  • elsiel23 (4)
  • lattemilk (4)
  • thequeenofspades (3)
  • zeke (1)

Top Pull Request Authors

  • george-silva (507)
  • pflopez (478)
  • lastminutediorama (233)
  • roquebetioljr (131)
  • LALuis (120)
  • Foxbyte0101 (27)
  • elsiel23 (18)
  • thequeenofspades (12)
  • riecke (10)
  • strangeties (9)
  • lattemilk (9)
  • sachiyuan (7)
  • runforyourlives (5)
  • jeshlee121 (2)
  • JanLauGe (2)

Top Issue Labels

  • frontend (21)
  • beta (18)
  • backend (15)
  • enhancement (9)
  • documentation (9)
  • mvp (8)
  • question (5)
  • ux (5)
  • data (3)
  • alpha phase 4 (3)
  • alpha phase 3 (1)
  • deployment (1)
  • bug (1)
  • experimental (1)

Top Pull Request Labels

  • enhancement (10)
  • frontend (3)
  • bug (2)
  • backend (2)
  • alpha phase 3 (2)
  • experimental (1)
  • dependencies (1)

Dependencies

.github/workflows/angular.yaml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/django.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • psf/black stable composite
  • postgis/postgis 14-3.3 docker
src/interface/Dockerfile docker
  • nginx latest build
  • node alpine build
package-lock.json npm
  • @angular/common 14.2.7
  • @angular/core 14.2.7
  • leaflet.sync 0.2.4
  • ngx-cookie-service 14.0.1
  • rxjs 7.5.7
  • tslib 2.4.0
  • zone.js 0.11.8
package.json npm
  • leaflet.sync ^0.2.4
  • ngx-cookie-service ^14.0.1
src/interface/package-lock.json npm
  • 1051 dependencies
src/interface/package.json npm
  • @angular-devkit/build-angular ^14.2.3 development
  • @angular-eslint/builder 14.4.0 development
  • @angular-eslint/eslint-plugin 14.4.0 development
  • @angular-eslint/eslint-plugin-template 14.4.0 development
  • @angular-eslint/schematics 14.4.0 development
  • @angular-eslint/template-parser 14.4.0 development
  • @angular/cli ~14.2.3 development
  • @angular/compiler-cli ^14.2.0 development
  • @mapbox/vector-tile ^1.3.1 development
  • @types/geojson ^7946.0.10 development
  • @types/jasmine ~4.0.0 development
  • @types/leaflet ^1.9.0 development
  • @types/leaflet-draw ^1.0.4 development
  • @types/shpjs ^3.4.2 development
  • @typescript-eslint/eslint-plugin 5.43.0 development
  • @typescript-eslint/parser 5.43.0 development
  • eslint ^8.28.0 development
  • eslint-config-prettier ^9.0.0 development
  • eslint-plugin-prettier ^5.0.0 development
  • jasmine-core ~4.3.0 development
  • karma ~6.4.0 development
  • karma-chrome-launcher ~3.1.0 development
  • karma-coverage ~2.2.0 development
  • karma-jasmine ~5.1.0 development
  • karma-jasmine-html-reporter ~2.0.0 development
  • prettier ^3.0.2 development
  • prettier-eslint ^15.0.1 development
  • typescript ~4.7.2 development
  • @angular/animations ^14.2.0
  • @angular/cdk ^14.2.2
  • @angular/common ^14.2.0
  • @angular/compiler ^14.2.0
  • @angular/core ^14.2.0
  • @angular/forms ^14.2.0
  • @angular/localize ^14.2.3
  • @angular/material ^14.2.2
  • @angular/platform-browser ^14.2.0
  • @angular/platform-browser-dynamic ^14.2.0
  • @angular/router ^14.2.0
  • @geoman-io/leaflet-geoman-free ^2.13.1
  • @turf/area ^6.5.0
  • @turf/boolean-intersects ^6.5.0
  • @turf/boolean-within ^6.5.0
  • @turf/helpers ^6.5.0
  • chart.js ^3.6.0
  • leaflet ^1.9.2
  • leaflet.sync ^0.2.4
  • leaflet.vectorgrid ^1.3.0
  • loader-utils ^3.2.1
  • material ^0.4.3
  • moment ^2.29.4
  • ng-mocks ^14.3.2
  • ng2-charts ^4.0.0
  • ngx-cookie-service ^14.0.1
  • ngx-google-analytics ^14.0.1
  • rxjs ~7.5.0
  • shpjs ^4.0.4
  • tslib ^2.3.0
  • zone.js ~0.11.4

Score: 6.699500340161678