keepset

California Road Network

Large undirected, weighted road network of California. Nodes represent road intersections or endpoints, edges represent roads. Edge weights represent the Euclidean distance between intersections in miles. Highly connected large-scale transportation network suitable for testing scalability of graph algorithms.

npx keepset fetch snap-road-network-ca

Nodes
1,965,206
Edges
5,533,214
Size
17.1 MiB

Fetch and preview this dataset on this page, or download the result as JSON. The command line fetches it without a browser.

Overview

Idsnap-road-network-ca
Namespacesnap
Aliasesroad-network-ca
Categorygraph/v1
Kindgraph
DomainTransportation network
Licencenot recorded by the source
Cataloguekeepset 1.33.0

Sources and provenance

#URLStatusRetrievedRead by recipePinned snapshotSHA-256
0https://snap.stanford.edu/data/roadNet-CA.txt.gzlive2026-03-26yes

Citations

Recipe

Source#0
Archivegzip
Parser format"edge-list"
Parser encoding"utf-8"
Parser delimiter"detect"
Parser skipLines0
Parser commentPrefixes["#","%"]
Parser sourceColumn0
Parser targetColumn1

Crosswalk

keepset/topology to graph/v1, as a crossmap crosswalk.

RuleFromToDirection
movemetametaboth
movenodes[].idnodes[].idboth
moveedges[].sourceedges[].sourceboth
moveedges[].targetedges[].targetboth

Expected counts

Edges5,533,214
Nodes1,965,206

Properties

Components2,638
Connectedno
Cyclicyes
Density0.000001433
Directedno
Download bytes17.1 MiB
Edge types1
Heterogeneousno
Multigraphyes
Node types1
Raw bytes0 B
Self loopsno
Weightedyes