Skip to content
/ bike-lts Public

DVRPC Bike Level of Traffic Stress (LTS) and Connectivity Analysis scrollstory and analysis map

License

Notifications You must be signed in to change notification settings

dvrpc/bike-lts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This regional screening tool was developed to help identify and rank roads where bicycle facility improvements would have the greatest local and regional connectivity benefit to the low-stress bicycle network. LTS is a road classification scheme based on the estimated comfort of bicyclists in the traffic stream. DVRPC’s LTS assignment is based on the number of lanes, effective vehicle speed, and the presence and type of bicycle facility on the road segment.

This repository contains two parts:

Scroll Story

The default landing page for the LTS project is a scrolling story that explains what the Bike LTS analysis is for, why it exists and how it can be useful. This is meant to provide background information and serve as a launching point for the interactive analysis map. The story uses the scrollmagic library to handle scrolling interactions, mapboxgl js for mapping and HTML, CSS and Javascript for everything else.

Analysis Map

An update to the old ESRI AGO LTS map that improves performance, adds more features and streamlines the user experience. We moved away from the AGO platform to a custom solution built with mapboxgl js and custom vector tiles. The app is bootstrapped from the sidebar-float-template-wide folder in resuable components.

Build Process

  • Scroll Story
    • Webpack config currently isn't working for the scroll story, copy source code to staging
  • Analysis Map
    • from root, cd analysis
    • npm install (first time only)
    • npm run build
    • in /build/, delete <script defer type="module" src="./js/index.js"></script> from index.html
    • IF cache busting is needed, rename CSS and other files in both the index.html and CSS (or other) folder to force the newest file to deliver
    • copy files within build folder to staging folder at /webmaps/bike-lts/analysis/

About

DVRPC Bike Level of Traffic Stress (LTS) and Connectivity Analysis scrollstory and analysis map

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published