azavea / pfb-network-connectivity

PFB Bicycle Network Connectivity
Other
40 stars 11 forks source link

Add default speed to AnalysisJob model and display on the frontend #807

Closed kevinearldenny closed 3 years ago

kevinearldenny commented 4 years ago

Overview

The default speed limit for a Neighborhood is an important parameter in the BNA analysis, and it needs to be passed along so it can be displayed on the frontend. It is now being exported as part of the analysis process, and then imported into the default_speed_limit field on the AnalysisJob model through the import_default_speed management command.

It is then displayed on the frontend in a row in the sidebar table, and as a Leaflet control on the bottom of the map.

Demo

image

image

Notes

Testing Instructions

Checklist

Resolves #804

kevinearldenny commented 3 years ago

@KlaasH I've updated the display on the frontend, and added an export of default_speed.csv - this should be ready for review now.