Repository navigation
Releases
Nightly wheel
The Linux x86_64 wheel of main at a3c923d (run 46). For tests only: the releases for users are on PyPI.
v0.9.0
What's Changed
- Docs: Export sorted by level by @Khoshkhah in #297
- Docs: Export levels as a diagram by @Khoshkhah in #298
- Docs: levels diagram as boxes by @Khoshkhah in #300
- Docs: levels diagram on the home page by @Khoshkhah in #301
- Docs: Mac mini (Apple M6) by @Khoshkhah in #302
- Docs: edge id section on the home page by @Khoshkhah in #304
- README: one edge id for each direction by @Khoshkhah in #305
- Docs: home page with its On this page column by @Khoshkhah in #307
- Docs: shorter Quick start lines by @Khoshkhah in #308
- Docs: shorter edge id section by @Khoshkhah in #309
- Docs: the fixes file in the home page intro by @Khoshkhah in #310
- Docs: polished tagline by @Khoshkhah in #311
- Docs: a simple home page by @Khoshkhah in #312
- Docs: edge id section off the home page by @Khoshkhah in #313
- Docs: SDK cards on the home page; Quick start on Install by @Khoshkhah in #314
- Docs: Command line card on the home page by @Khoshkhah in #315
- Docs: credit OpenStreetMap and Geofabrik by @Khoshkhah in #316
- Docs: short home page footer by @Khoshkhah in #317
- Docs: Start chapter review by @Khoshkhah in #318
- Docs: Build an area chapter, short and clean by @Khoshkhah in #319
- Docs: embedded maps with today's dashboard by @Khoshkhah in #321
- Docs: clear 'Several areas from one region' by @Khoshkhah in #322
- Docs: title 'Cut an area from a built region' by @Khoshkhah in #323
- Docs: link texts for 'Cut an area from a built region' by @Khoshkhah in #324
- Docs: three ways to cut an area by @Khoshkhah in #325
- Docs: Build a network, clearer by @Khoshkhah in #326
- Docs: Fix the OSM data, clearer by @Khoshkhah in #327
- Docs: Add elevation, clearer by @Khoshkhah in #328
- Docs: admin boundaries, clearer table by @Khoshkhah in #329
- Docs: Check a build with the real keys by @Khoshkhah in #330
- Docs: Use the network chapter, short and clean by @Khoshkhah in #331
- Docs: a clear Route page by @Khoshkhah in #333
- Docs: Route, Large areas in plain words by @Khoshkhah in #334
- Docs home: new pictures in the hero and A tour by @Khoshkhah in #292
- duckosm edit, ask and viz draw the area's ground as the 3D terrain by @Khoshkhah in #320
- One roadstyle pin: roadstyle main 53135c49, docs maps made again by @Khoshkhah in #332
- Docs: the Ask guide lists every question group again by @Khoshkhah in #337
- Docs: Speed and memory table in each export page by @Khoshkhah in #338
- Level 0 of the outputs, the OSM file: duckosm get, cut --fixes, the boundary format by @Khoshkhah in #306
- Tour: one Monaco junction from GMNS and from SUMO; duckosm sumo-map by @Khoshkhah in #335
- Docs: Export chapter review, chapter overview pages by @Khoshkhah in #341
- Docs: How it works and Compare chapters reviewed by @Khoshkhah in #343
- Port duckosm bus and duckosm multimodal to Rust by @Khoshkhah in #288
- Build: tile columns for tileroute by @Khoshkhah in #336
- Docs: bus and multimodal are Rust now by @Khoshkhah in #344
- Docs: osm2pgsql row of Compare by @Khoshkhah in #345
- Docs: Reference chapter reviewed by @Khoshkhah in #347
- CI: release builds on main and tags only by @Khoshkhah in #348
- main.building_faces in the .duckdb file by @Khoshkhah in #342
- No osmium and no GDAL programs: clip-pbf and export-gis in Rust by @Khoshkhah in #279
- quack --geofabrik: Geofabrik's free layers (GeoPackage, shapefiles, GeoParquet) by @Khoshkhah in #299
- cut: id sets as roaring bitmaps (France 9.7 GB to 1.6 GB) by @Khoshkhah in #346
- cut --fixes in the passes of the cut; get(boundary=) takes GeoJSON by @Khoshkhah in #350
- Eight faults of the command line, from the docs review by @Khoshkhah in #286
- quack --pmtiles: Shortbread vector tiles in one PMTiles file by @Khoshkhah in #290
- docs: Vector tiles, Speed and size against Tilemaker by @Khoshkhah in #352
- Exports write while they read: less memory for cut, GraphML, SUMO, MATSim, GeoParquet, GMNS by @Khoshkhah in #339
- Python SDK: build, quack, tiles, extract, boundary, levels call Rust by @Khoshkhah in #275
- main.building_entrances in the Rust build by @Khoshkhah in #349
- Docs review: Reference pages and five export pages by @Khoshkhah in #354
- duckosm.AreaPicker: choose an area on a map in Jupyter by @Khoshkhah in #340
- quack --osm2pgsql: the four tables of osm2pgsql, into PostGIS, GeoParquet or DuckDB by @Khoshkhah in #303
- Docs: links to the new export pages; Tilemaker row on Kentucky and France by @Khoshkhah in #355
- quack --pmtiles --tile-zoom: memory does not grow with the area by @Khoshkhah in #353
- quack --pmtiles --tile-zoom: no deadlock on France (the sort on its own pool) by @Khoshkhah in #356
- docs: Vector tiles, France numbers after PR 356 by @Khoshkhah in #357
- opendrive: write the file while reading the rows (Kentucky 8.3 GB to 0.5 GB) by @Khoshkhah in #358
- Five demo notebooks in the manual, run in CI by @Khoshkhah in #360
- Docs: badges and tables on the notebook pages by @Khoshkhah in #361
- Docs: left-align all cells of the pandas tables by @Khoshkhah in #363
- Proposal: the design of the Python SDK by @Khoshkhah in #364
- Docs: Python SDK modules page by @Khoshkhah in #365
- The Python SDK, PR 1: the core and the modules by @Khoshkhah in #362
- Docs: SDK modules approved, with the decisions of module 1 by @Khoshkhah in #366
- SDK module gis: features, to_osm_xml, admin_boundaries by @Khoshkhah in #367
- SDK module fixes: Fixes, net.fixes, rebuild, diff, edit by @Khoshkhah in #369
- duckosm.routing: Route, routes, k shortest paths, matrix, isochrones, accessibility by @Khoshkhah in #368
- SDK module sim: sumo_net, edge_map by @Khoshkhah in #370
- SDK module planning: to_path4gmns, to_aequilibrae by @Khoshkhah in #371
- SDK module hdmap: to_commonroad by @Khoshkhah in #372
- gmns: make the export tile by tile (Kentucky 25.9 GB to 4.9 GB) by @Khoshkhah in #359
- SDK module analysis: the functions of OSMnx, in Rust by @Khoshkhah in #374
- SDK module ml: to_pyg, to_dgl, graph_arrays by @Khoshkhah in #373
- SDK module mobility: map matching onto edge_id, in Rust by @Khoshkhah in #375
- Docs: Python SDK chapter, function lists, notebook Module column by @Khoshkhah in #376
- SDK: the schema of the file (net.schema, columns with descriptions, summarize, connect) and comments in every build by @Khoshkhah in #378
- Docs nav: Notebooks and Python SDK after Export by @Khoshkhah in #379
- Nightly wheel for Colab tests by @Khoshkhah in https://github.com...
v0.8.0
What's Changed
- Fixes editor: roadstyle's editor frame and parts, one bar, a reverse one-way by @Khoshkhah in #18
- Fixes editor: roadstyle's highlight sets for the roads, and the JSON columns of duckosm edit by @Khoshkhah in #20
- Fixes editor: checks of the forms, guards, and the shapes on the map by @Khoshkhah in #19
- Pin roadstyle at main 9226569d by @Khoshkhah in #21
- Fixes editor: roadstyle's own parts in place of the editor's CSS by @Khoshkhah in #22
- Pin roadstyle at main 418854ac by @Khoshkhah in #23
- duckosm ask: no extra line over the roads of a result by @Khoshkhah in #24
- duckosm ask: the shapes of a result have colours by @Khoshkhah in #25
- Pin roadstyle at main af9038fc by @Khoshkhah in #26
- duckosm ask: a row of the table selects its item on the map and in the card by @Khoshkhah in #28
- Fixes editor: the wall hover works again (paintHover was defined twice) by @Khoshkhah in #27
- Pin roadstyle at main 6deb643d by @Khoshkhah in #30
- duckosm ask: the H3 cells of the boundary, and more example questions by @Khoshkhah in #29
- Pin roadstyle at main 21effaa3 by @Khoshkhah in #31
- duckosm ask: the real road classes for Ask, and examples for the map tools by @Khoshkhah in #32
- Pin roadstyle at main b9e79441 by @Khoshkhah in #33
- duckosm ask: the questions to ask the AI agent, in groups by @Khoshkhah in #34
- duckosm ask: the examples in groups, after roadstyle's general groups by @Khoshkhah in #35
- Pin roadstyle at main a666cf3f by @Khoshkhah in #36
- duckosm ask: an H3 row selects its cell on the map, and Ask can change the opacity of the shapes by @Khoshkhah in #37
- Editor: Turn tab shows all roads at the junction; picked objects are found more often by @Khoshkhah in #38
- Pin roadstyle at main 29c65b16 (PR 99) by @Khoshkhah in #39
- duckosm ask: 115 example questions in 14 groups, in one file by @Khoshkhah in #40
- Pin roadstyle at main 760813d2 (PR 100): building hover in vector overlays and 3D by @Khoshkhah in #41
- Editor: the Turn tab shows every junction of the picked road on the map by @Khoshkhah in #42
- Editor: read the road table of the map by itself by @Khoshkhah in #43
- duckosm ask: what Ask knows about the tables is one module by @Khoshkhah in #44
- Add the library crate duckosm-editor: the editor files for a host by @Khoshkhah in #45
- Test: the junction dot click waits for the map to stand still by @Khoshkhah in #46
- Pin roadstyle at main a5c94d95 (PR 102): hover state with the source of the rendered feature by @Khoshkhah in #49
- Editor: no tags column, start junctions, no jumps while loading by @Khoshkhah in #48
- Rules for hosts of the editor and Ask; first Host changes in the changelog by @Khoshkhah in #47
- web/ask/schema.js: object kinds, the base-map tables and SQL hints for Ask by @Khoshkhah in #50
- Tests: the editor checks of Studio move into duckOSM; hosts with the shape of Studio by @Khoshkhah in #51
- web/ask/schema.js: askTables names an entry mode.table first by @Khoshkhah in #52
- Pin roadstyle at main fc6fa738 (PR 111 to 113) by @Khoshkhah in #53
- duckosm build makes main.building_entrances by @Khoshkhah in #54
- Table views: design and web/ask/views.js (kinds for the tables that need nothing new) by @Khoshkhah in #55
- Pin roadstyle at main 4d0b205d (PR 114 to 123, Street View Classic) by @Khoshkhah in #56
- duckosm ask: the dock draws the objects of a result of ids (viewKinds) by @Khoshkhah in #57
- Turn tables and H3 cells on the map with a card; pin roadstyle d7902251 by @Khoshkhah in #58
- Pin roadstyle at main deeba949 (road row card, Reset undoes Ask, guard accepts use) by @Khoshkhah in #59
- Pin roadstyle at main c3822d74; turn kinds work on files without uses by @Khoshkhah in #61
- Fixes editor: Hide takes the changed roads off the map by @Khoshkhah in #60
- Docs: every table on the map, the card sections, H3 cells and Reset by @Khoshkhah in #62
- Kinds on the tables of the Rust engine (Studio); aboutText kinds by @Khoshkhah in #63
- Docs: the ground reference (one ground for each area) by @Khoshkhah in #64
- Move the roadstyle pin to f3d1efc5: kinds as a function by @Khoshkhah in #65
- Elevation step: the DEM grid as the table main.elevation_grid, and the DEM as bytes for the browser by @Khoshkhah in #66
- Docs: a page about the terrain of an area by @Khoshkhah in #67
- Ground id (sha256) and the area's DEM in the config by @Khoshkhah in #68
- The Ground step: a DEM source catalog and a web part by @Khoshkhah in #69
- Docs: check the map terrain at the tile pixels' points by @Khoshkhah in #70
- Docs: each part and its terrain, and the road profile by @Khoshkhah in #71
- Docs: the heights are columns of nodes and edges in both builds by @Khoshkhah in #72
- Docs: the heights have two forms today by @Khoshkhah in #74
- Docs: the terrain data of SimReady and roadstyle by @Khoshkhah in #75
- Docs: how a vehicle on the road gets its height by @Khoshkhah in #76
- duckosm studio: make the data of an area on your computer by @Khoshkhah in #73
- duckosm studio: the cards of duckOSM Studio by @Khoshkhah in #78
- duckosm-rust: write the H3 columns, features.* with raw.* and features.ocean by @Khoshkhah in #77
- duckosm studio: no patches for a page with no roads (roadstyle 8dfd5e2c) by @Khoshkhah in #80
- duckosm studio: the search and the Draw tab of Studio by @Khoshkhah in #79
- duckosm studio: the H3 tab, the hover, the buffer, the fixes file and the build details by @Khoshkhah in #81
- duckosm studio: Download in steps 3 and 4, Open and Delete, all in Rust by @Khoshkhah in #82
- duckosm studio: Open in place, Ground after Build, NRCan download, the area's own terrain by @Khoshkhah in #83
- Pin roadstyle at b1c07734: no lag on a pan with the 3D terrain on by @Khoshkhah in #84
- duckosm studio: the map of an area is roadstyle's way D by @Khoshkhah in #85
- Pin roadstyle at d07131ab: the phone keeps the blank base map by @Khoshkhah in #86
- duckosm studio: card 8, Edit levels by @Khoshkhah in #87
- duckosm studio: Edit levels selects a road, and the map has the 3D walls by @Khoshkhah in #89
- Load raw.* in Rust: read_osm and a fast PBF decoder by @Khoshkhah in #90
- Docs: duckOSM's online and offline versions by @Khoshkhah in #91
- Compute the global junctions one time for all modes by @Khoshkhah in #92
- docs: the network step in limited memory (design) by @Khoshkhah in #93
- docs: offline and online builds, step by step by @Khoshkhah in #94
- Network step part A1: raw.* first, the network input from DuckDB by @Khoshkhah in #95
- Network step: write the edge graph rows while they are made (part C) by @Khoshkhah in #96
- Levels take the edges of a mode, with no copy of the geometry by @Khoshkhah in #97
- Docs: a diagram of the network step and the memory of each sub-st...
v0.7.0
What's Changed
- Move the Rust engine into duckOSM: the plan and step M1 (import the crates) by @Khoshkhah in #1
- M2: the Rust module is duckosm._rust in the duckosm wheel by @Khoshkhah in #2
- M3: release workflow with wheels, CLI archives and sdist by @Khoshkhah in #3
- M4: the Rust engine is the default (options.engine: rust) by @Khoshkhah in #4
- docs: where the DuckDB files live (design note) by @Khoshkhah in #5
- Rust engine: take the changes of duckosm-rust main after the import by @Khoshkhah in #6
- Rust engine: raw.* from OSM JSON, so the layers work with Overpass by @Khoshkhah in #7
- Fixes editor in duckOSM; duckosm build applies every fix kind of the page by @Khoshkhah in #8
- README: the Rust engine, duckOSM Studio and Edit OSM data by @Khoshkhah in #9
- Site: no Development page by @Khoshkhah in #10
- Fixes editor: no gap under the bar, and a dropdown list for the junctions by @Khoshkhah in #11
- Fixes editor: the box "This road is in your changes" (Edit it, Delete it), and the records of one object joined by @Khoshkhah in #12
- duckosm edit: the fixes editor on a page on your computer, with a Rust server, and Build again by @Khoshkhah in #13
- README: duckosm edit by @Khoshkhah in #14
- duckosm edit: roadstyle's current look; docs: the page in pictures and the Rust engine by @Khoshkhah in #15
- Release 0.7.0 by @Khoshkhah in #16
New Contributors
- @Khoshkhah made their first contribution in #1
Full Changelog: v0.6.1...v0.7.0
duckOSM 0.6.0
Added
- A feature layer
paved: squares (place=square), pedestrian areas (area:highway=*, a pedestrian way witharea=yes, or a
multipolygon relation), piers, breakwaters and quays, helipads, marketplaces. They were in no table, so the map had empty places
where OSM has areas (Monaco: Place du Casino and 82 more). Design:docs/design/missing_polygons.md. leisure=swimming_poolis inwater_polygons(kind=swimming_pool),leisure=beach_resortandnatural=shrubberyare in
land, andtourism=zoois insites.amenity=grave_yardis inlandandrailway=platforminsites(found byfeatures-checkon Norrmalm).duckosm features-check DB: lists the polygons ofraw.*that no feature table holds, grouped by tag, with the reason when the
build leaves a group out on purpose. A group with no reason is a possible miss.
Finished sample databases (Monaco)
Two files, made with this version from config/sample_monaco.yaml. Use them to try duckOSM without a build.
| File | Contains | SHA-256 |
|---|---|---|
monaco.duckdb |
The core database: driving, walking, cycling and bus networks, multimodal tables, base-map layers (features.*), the raw OSM tables (raw.*) and the road levels (visualization.edge_levels) with the hand edits of the level editor |
3c1e53dccff4599477be74ab68dce6abafa31166c1ac211b92585382b13ea383 |
monaco_gmns.duckdb |
The lane-level GMNS database (duckosm gmns) |
ebe08ec77d39c88b75f63e6f6a4252ababaec63911bba93c5bd01da3c2cdbace |
Open them with duckdb 1.5.x. DuckDB files are not stable between major versions. The map data is © OpenStreetMap contributors (ODbL).
duckOSM 0.5.0
Added
duckosm levels-edit DB: edit the drawing order (levels) of a database in a browser. It uses
mapstyle's base map and shows every road, also the roads inprivate_edges. The editor and the
maps use one port (8000).- The build makes the drawing-order tables (
visualization.edge_levels,level_edits,
level_heads,level_caps,level_unmatched) as its last step (options.levels, default
true). A rebuild keeps your edits. A clip build copies the rows of its parent. Thelevelsextra
needs roadstyle 0.22.2 or later. driving.private_edgesholds the roads that cars cannot use freely, each with a label:private,
bus,deliveryorpedestrian. Everyhighway=pedestrianstreet stays in the driving build.edge_graphhas the turns of every restricted edge, labelled in the newusescolumn.
routed_graph(..., uses=),to_networkx(..., uses=),write_graph(uses=)and
export-graph --usesselect the labels. By default a reader gets only the edges of its own mode.export-gis --format geoparquetandto_gis(..., fmt="geoparquet")write one GeoParquet file per
layer into a folder:edges_<mode>.parquet,nodes_<mode>.parquetandboundary.parquet, and
layers.json(the list of the files), with one file perfeatures.*table. GeoLibre
(?data=<url>) and RustGIS open these files.- Each edges file gets the columns of
visualization.edge_levels(all butedge_id) when the table
exists. An edge with no row there gets NULL values. - Turn restrictions in full: exceptions, conditions, vehicle classes and via ways (a via-way
restriction can name severaltoways). SUMO joined junctions keep their turns. osm_overridesruleremove: drops any way fromraw.ways.duckosm viz:--google-3d(default on whenGOOGLE_MAPS_KEYis set), one page for each mode,
and a blank base map in the roadstyle script. Thevizextra needs mapstyle 0.5.1 or later.- Boundaries for Norrmalm and Sundbyberg (
data/boundaries/).
Fixed
- SUMO and GMNS: roads are centred on their line, a path is one lane of path width, and a bridge
has no turn-back.edge_attrstakes ids as text too. global_junctionscounts the pedestrian ways that the driving build keeps. Before, six of them
were lost (Norrmalm: 2293 driving edges, now 2322).duckosm route-map: the planner page opens with MapLibre 5 (roadstyle 0.23 and later). Before, it read
the road data from a field that MapLibre 5 moved, and it did not start.- OSM fixes: Boulevard du Larvotto and Beausoleil (Monaco), Granville Bridge and Fir Street (lane
counts, lane arrows), Centralbron at Tegelbacken, and 8 streets in Norrmalm.
duckOSM 0.1.0
First release on PyPI (pip install duckosm). OSM .osm.pbf to a routable road network in DuckDB (driving, walking, cycling), and the GMNS export: lanes with their own geometry, movements, lane connectors (half-circle U-turns), footway joins (gmns_walking.lane_connector), crossings, link_along (a footpath's route along roads), meso and micro tables. Works with lanestyle >= 0.2.1 for lane-level maps (pip install 'duckosm[viz]'). Optional system tools: GDAL and osmium for boundary / clip-pbf.