Skip to content

Add OSM boundary extraction tool for state/county packs (#968, #788) - #1224

Open
AgreeDK wants to merge 4 commits into
betafrom
osm-extract
Open

AgreeDK wants to merge 4 commits into
betafrom
osm-extract

Conversation

@AgreeDK

@AgreeDK AgreeDK commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Draft: wait until v1.22.0 stable is out.

Builds state/county GeoJSON packs from a Geofabrik extract at the admin_level configured per country in osm_countries.toml (Switzerland first), in the same format as gsak_to_opensak.py. Reads relations only, keeps same-named regions apart, supports official_name, prefix stripping, renames and exclusions per country, and writes a report comparing the packs with existing ones and with names known from caches.

Adds pyosmium to the dev dependencies.

AgreeDK and others added 4 commits October 28, 2026 21:55
Builds state/county GeoJSON packs from a Geofabrik extract at the
admin_level configured per country in osm_countries.toml (Switzerland
first), in the same format as gsak_to_opensak.py. Reads relations only,
keeps same-named regions apart, supports official_name, prefix stripping,
renames and exclusions per country, and writes a report comparing the
packs with existing ones and with names known from caches.

Adds pyosmium to the dev dependencies.
Ctrl+W is the usual "close window/tab" key, and on macOS Qt turns it
into Cmd+W. Pressing it out of habit would silently replace the user's
column widths, with no undo. Ctrl+Alt+W is now the default on every
platform, and "Reset all" in the Shortcuts dialog restores it.

Users who clicked OK in the Shortcuts dialog in beta.11 keep Ctrl+W,
because the dialog saved it, until they use "Reset all".

Follow-up to #1212.
Qt treats "&" in button labels as a keyboard-shortcut marker, so the
update dialog showed "Download _Install" ("Herunterladen _installieren"
in German/Swiss German, also Dutch). Escape it as "&&" where the button
is created; the translations stay unchanged because the same wording
in the dialog's info text displays "&" correctly.

Fixes #1218

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants