duckOSM Studio¶

Build the routable road network of any area from OpenStreetMap data, in your browser.
Choose an area. The page builds the driving, walking and cycling networks. Fix the OSM data, build again, and export. The build runs in your browser.

Open duckOSM Studio Make your first map View on GitHub
What you can do¶
-
Choose and build
Search a place, draw a shape, load a file or pick H3 cells. Build the three networks.
-
Fix the OSM data
Change a road, a building, a node or a turn rule. Build again.
-
Levels and design
Say which bridge or road is on top. Choose a theme, or set each color and width.
-
Ask the data
Query the tables with SQL, or ask a question in words. The roads of the result light on the map.
-
Export
PMTiles, MBTiles, GeoPackage, GeoJSON, kepler.gl, MATSim and SUMO.
-
The tables
The same tables as duckOSM, with a stable
edge_id.
What you get¶
- Nothing to install. Open the page and start.
- A routable network. Each edge has a length, a speed and a travel time. The build applies the turn restrictions.
- A stable
edge_id. The same road has the sameedge_idin every build. - Fast. Monaco builds in less than one second. Estonia (a 121 MB region file) builds its driving network in about 10 seconds, and it needs about 710 MiB of memory (measured on 2026-10-22; see the design, section 7, "Memory and streaming").
- The same tables as duckOSM.
- A fix loop. Change a road, a building, a node or a turn rule. Build again.
- Ask the data. Query the tables with SQL, or ask a question in words. The roads of the result light on the map, and the answer can be a chart.
- Export to PMTiles, MBTiles, GeoPackage, GeoJSON, kepler.gl, MATSim and SUMO.
Read the manual¶
| Page | Use it to |
|---|---|
| The editing cycle | See all the work on one picture. |
| The page | Know the parts of the window. |
| Steps 1 and 2 | Choose the area. |
| Steps 3 and 4 | Get the data and build. |
| Steps 5 and 6 | Download the result and show the map. |
| Step 7 and the fixes file | Fix the OSM data. |
| Step 8 | Fix bridges and tunnels. |
| Step 9 | Set the look of the map. |
| Step 10 | Export the network. |
| Ask and query the data | Query the tables with SQL, or ask in words. |
| The tables, the roads, the columns | Know what the result holds. |
| Concepts | Learn the words. |
| Command line and Python | Build from a script. |
Built on¶
roadstyle (the map and the dashboard), duckOSM (the engine and the fixes editor), MapLibre GL JS, DuckDB, OpenFreeMap (the base map) and OpenStreetMap (the data, © OpenStreetMap contributors, ODbL).