Skip to content

About

CLI tool that ingests city streets, parking, and sidewalks from OSM and ArcGIS, and forecasts pavement condition and repair costs.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1,042 Commits

Folders and files

Repository files navigation

solvent-streets

CI Release Go Version License

Can a city afford the streets it has? pvmt measures how much pavement a city maintains — roads, parking, sidewalks — from OpenStreetMap and agency GIS data, forecasts how it deteriorates and what keeping it up costs, and publishes the result as an interactive map and financial dashboard. It is a single pure-Go binary with a local SQLite database, and it handles many cities side by side.

Live showcase: https://joncrussell.com/solvent-streets/ — 407 US cities, built from the configs in examples/.

Install

Download a .deb or a Linux/macOS tarball from the latest release:

sudo apt install ./pvmt_<version>_linux_amd64.deb   # Debian/Ubuntu: binary, completions, manpages
tar -xzf pvmt_<version>_<os>_<arch>.tar.gz && sudo mv pvmt /usr/local/bin/   # anywhere else

On macOS, a tarball downloaded with a browser is quarantined, so clear it before the first run with xattr -d com.apple.quarantine pvmt. To build from source, clone the repo and run make install, which installs to ~/.local/bin (with the Go version go.mod names; see CONTRIBUTING.md). go install github.com/jcrussell/solvent-streets/cmd/pvmt@latest also works, but builds without the in-browser forecast, so it can't export or serve a dashboard (see troubleshooting).

Quickstart

Create a pvmt.toml:

[[cities]]
name = "Alameda, CA"
overpass = true

Fetch the data, compute it, snapshot it, and look at it:

pvmt all ingest
pvmt all compute
pvmt snapshots create 2026-11 # freeze every city under a name, like a git tag
pvmt serve                    # http://localhost:8080; publishes the newest snapshot
pvmt export                   # or: a static site in ./site for any web host

pvmt forecast prints the same deterioration and cost projections in the terminal. The forecast is simulated whenever it is read, so tuning [forecast] never needs a recompute.

Where next

Every command documents itself: pvmt help <command>, or man pvmt-<command> once the .deb is installed (the tarballs carry the same manpages). Configuration covers every pvmt.toml setting, and examples holds real multi-city configs to start from. When something fails, the error's hint has a matching section in troubleshooting; when a release needs action from you, upgrading says what. The methodology explains the models behind the dashboard (whose About tab is a short summary of it), and validation tests them against published city data. To work on the code, start with CONTRIBUTING.md and architecture.

License

BSD-3-Clause. See LICENSE.

About

CLI tool that ingests city streets, parking, and sidewalks from OSM and ArcGIS, and forecasts pavement condition and repair costs.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages