This is an interactive map of bike racks and trails and sidewalks in Denver.
- Install project dependencies:
yarn install
- Run
yarn copy-env
to copy the.env.local.example
contents into a new.env.local
file. ReplaceYOUR_TOKEN_HERE
with your Mapbox token. - Start the client:
yarn start
- Visit
http://localhost:3000
in your browser.
- Download "City and County of Denver: Existing Denver Bicycle Facilities - Shapefile" and unzip the file.
- Go to https://mapshaper.org/ and upload the .shp, .prj, and .dbf files into the tool.
- Use the mapshaper console to filter out unneeded fields and rename fields. For 2022 data:
- filter:
filter-fields EXISTING_F,FULLNAME,FROMNAME,TONAME,SUM_ROAD_L,SUM_BIKE_L
- rename:
rename-fields type=EXISTING_F,name=FULLNAME,fromStreet=FROMNAME,toStreet=TONAME,roadLength=SUM_ROAD_L,bikeLength=SUM_BIKE_L
- filter:
- Export the filtered data.
- Upload zipped data as a new tileset to https://studio.mapbox.com/tilesets/.
2022 DATA FORMAT:
FACILITYID 3166
EXISTING_F Shared Roadway
INSTALL_YE Pre-DMoves
YEAR_UPGRA
PLAN_YEAR
SUM_BIKE_L 0.73267267
SUM_ROAD_L 0.36633634
FULLNAME CHEESMAN PARK 2
FROMNAME E 11TH AVE/NMCHG
TONAME E 8TH AVE
FACILITY_U
FUNDING_SO
INSTALL_ME
2020 DATA FORMAT
EXISTING_F Shared Roadway
RECOMMEND_
ACTION_TAK ASM
YEAR_BUILT Pre-DMoves
MILEAGE 0.73267267
FULLNAME CHEESMAN PARK 2
FROMNAME E 11TH AVE/NMCHG
TONAME E 8TH AVE
NEXT_STEPS
RECOMMEND1
EXISTING_1 Shared Roadway
BICYCLE_FA 1
BICYCLE_PH 1
BIKELANECO 2