Roadsο
Roads Default model
Example result: road polygons built from a cleaned centreline network.
Cost
5 credits per kmΒ² + imagery
Example: 10 kmΒ² on Mapbox zoom 18 β 80 credits.
Finds road centrelines, cleans the graph (simplifies geometry, merges gaps, removes double edges and short detached pieces) and turns it back into road polygons. Multi-task learning keeps the network connected where trees or buildings hide the road.
What you get
Road polygons built from a cleaned centreline network.
Works best with
Rural and suburban areas with 0.6β0.3 m imagery (zoom 18). Dense city centres with wide sidewalks and complex crossings are harder.
Usage examples
Map access roads and tracks for rural planning
Add forestry and field tracks missing from OSM
Check the street network in new suburbs
- Version
1.1
- Geo domain
Global, best in rural and suburban areas
- Method
Segmentation + graph post-processing
- GSD / zoom
0.6β0.3 m / z18
How it worksο
The model is trained mostly on rural and suburban areas. Multi-task learning keeps the road mask connected where trees or buildings hide the road. It can fail in cities with wide roads, sidewalks and complex crossings.
The model extracts road centrelines to reduce clutter, cleans the network, then inflates the lines back into road polygons. Since version 1.1 the road graph is post-processed:
geometry simplification;
merging of gaps;
removal of double edges;
removal of detached and too short segments.
Sample resultsο
Post-processing: road network vs. full surface areaο
By default, π Roads is delivered post-processed: the road mask is reduced to centrelines, cleaned (simplification, merging of gaps, removal of double, short and detached edges) and inflated back into tidy polygons β a connected, map-ready network for mapping and routing.
A no post-processing variant keeps the raw segmentation mask, which covers the full road surface area β wide roads, junctions and paved surfaces included. Because it captures total road coverage rather than a thin connected graph, it is intended for land-use / land-cover classification, where the share of surface occupied by roads matters more than network topology.
These visuals illustrate the difference on the same areas (they are not a benchmark). In each pair, π§ π Roads β no post-processing (orange, full surface area) is shown next to π¦ π Roads β post-processing (blue, cleaned network).
India β Haldwani
π Roads β no post-processing (full road surface area)ο
π Roads β post-processing (cleaned network)ο
Germany β Berlin
π Roads β no post-processing (full road surface area)ο
π Roads β post-processing (cleaned network)ο
Argentina β Balcarce
π Roads β no post-processing (full road surface area)ο
π Roads β post-processing (cleaned network)ο
Lebanon β Beirut
π Benchmarksο
We evaluated the update using open benchmark datasets, including SpaceNet 3 Roads, supplemented with our own validation data across different urban environments.
We focused on two complementary metrics:
IoU (Intersection over Union) measures how accurately the predicted road mask matches the actual road coverage. It tells us how well the model identifies roads and captures their spatial extent.
Topology F1 (Topo-F1) evaluates the connectivity of the extracted road network. This is particularly important for mapping and routing, where roads need to remain connected even when partially obscured by vegetation, buildings or shadows.
The new model improves both metrics across all seven validation datasets. Compared with the original baseline, the average scores across these datasets increased significantly:
IoU: 0.386 β 0.599 (+55%)
Topo-F1: 0.465 β 0.758 (+63%)
IoU by validation dataset (higher is better)ο
Topology F1 by validation dataset (higher is better)ο
Some of the most impressive improvements are in challenging urban environments:
Validation area |
IoU (before β after) |
Topo-F1 (before β after) |
|---|---|---|
Shanghai |
0.180 β 0.562 |
0.171 β 0.717 |
Khartoum |
0.277 β 0.584 |
0.224 β 0.735 |
India |
0.344 β 0.551 |
0.245 β 0.637 |
Las Vegas |
0.490 β 0.685 |
0.668 β 0.882 |
Why do both metrics matter?
A road network may look connected but still miss substantial portions of the actual road coverage. Conversely, a model can accurately identify individual road segments but fail to connect them into a usable network.
The updated Roads model makes progress on both fronts: more accurate road coverage and better-connected networks. This is especially valuable in densely built-up areas with narrow streets, irregular layouts and frequent occlusions β precisely where automated road mapping remains challenging.
Need a different object?
We train custom models on your imagery and classes, and connect them to your Mapflow account.