azavea / pfb-network-connectivity

PFB Bicycle Network Connectivity
Other
39 stars 10 forks source link

Facilitate UI-driven analyses for non-US places (#889) (#890) (#891) #897

Closed lydiascarf closed 2 years ago

lydiascarf commented 2 years ago

Overview

The client needs to be able to run analyses using non-US places. To run a successful analysis for a non-US place, a custom population file and jobs file will need to be provided to the analysis script. An OSM extract may be needed as well if the file cannot be found at the geofabrik URL, which we derive the country's alpha3 code. This PR parameterizes the analysis script to fulfill those needs, then extends those parameters to the UI through the "Run Analysis" button in the Analysis Jobs admin page.

Demo

Screenshot from 2022-07-05 13-46-20

Notes

We had to increase the allowable geographic width of a shapefile in detect_utm_zone.

Testing Instructions

Checklist

Resolves #614, #889, #890, #891