osm/saint_paul_mn/theme_vectors/Themes

47 themed GeoPackages, one per subject

The lossless cut. Every feature goes to its primary theme's file, plus a secondary theme's when another tag matches. Columns: theme, class, subclass, tags as JSON.

Metadata

Units
OSM features; see the theme's class and subclass columns
Licence
ODbL-1.0 (© OpenStreetMap contributors, https://www.openstreetmap.org/copyright)
Source
OpenStreetMap contributors, via the planet GeoParquet of openplanetdata.com (build 2026-10-27), clipped to the ee_r264 region and classified with linneabean.osm (osm_themes.csv, osm_theme_rules.csv).
Description
OpenStreetMap features intersecting the ee_r264 region saint_paul_mn, assigned to one of 47 themes by linneabean.osm's precedence rules (osm_theme_rules.csv). theme_vectors/ holds one GeoPackage per theme, in layers points / lines / polygons / collections with columns theme, class, subclass, is_primary, theme_other, the theme's tag columns and all tags as JSON; a feature with a secondary theme is in both themes' files. The rasters are presence, distance and density products of the themes on the 10-arcsecond pyramid grid over the region's bounding box, in derived_rasters/. product_vectors/ holds the merged single-geometry GeoPackages built from the themes (linneabean.osm.osm_products).
Code
base_data/osm/osm_processing/run_osm_processing.py (linneabean/osm/osm_tasks.py)
File Version Release Size Resolution Earlier versions Metadata
osm_saint_paul_mn_addresses_entrances.gpkg v1 2026.10.30.1 1.4 MB vector – yml
osm_saint_paul_mn_admin_boundaries.gpkg v1 2026.10.30.1 3.2 MB vector – yml
osm_saint_paul_mn_aerialways.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_saint_paul_mn_agriculture.gpkg v1 2026.10.30.1 131.1 KB vector – yml
osm_saint_paul_mn_aviation.gpkg v1 2026.10.30.1 155.6 KB vector – yml
osm_saint_paul_mn_barriers.gpkg v1 2026.10.30.1 2.4 MB vector – yml
osm_saint_paul_mn_boundaries_other.gpkg v1 2026.10.30.1 2.3 MB vector – yml
osm_saint_paul_mn_buildings.gpkg v1 2026.10.30.1 40.0 MB vector – yml
osm_saint_paul_mn_construction_lifecycle.gpkg v1 2026.10.30.1 397.3 KB vector – yml
osm_saint_paul_mn_culture_heritage_tourism.gpkg v1 2026.10.30.1 331.8 KB vector – yml
osm_saint_paul_mn_education.gpkg v1 2026.10.30.1 380.9 KB vector – yml
osm_saint_paul_mn_emergency.gpkg v1 2026.10.30.1 262.1 KB vector – yml
osm_saint_paul_mn_energy.gpkg v1 2026.10.30.1 540.7 KB vector – yml
osm_saint_paul_mn_extraction.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_saint_paul_mn_finance.gpkg v1 2026.10.30.1 163.8 KB vector – yml
osm_saint_paul_mn_government.gpkg v1 2026.10.30.1 167.9 KB vector – yml
osm_saint_paul_mn_hazards.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_saint_paul_mn_health.gpkg v1 2026.10.30.1 245.8 KB vector – yml
osm_saint_paul_mn_hospitality_food.gpkg v1 2026.10.30.1 458.8 KB vector – yml
osm_saint_paul_mn_landuse_built.gpkg v1 2026.10.30.1 831.5 KB vector – yml
osm_saint_paul_mn_logistics_storage.gpkg v1 2026.10.30.1 163.8 KB vector – yml
osm_saint_paul_mn_manufacturing.gpkg v1 2026.10.30.1 155.6 KB vector – yml
osm_saint_paul_mn_military.gpkg v1 2026.10.30.1 118.8 KB vector – yml
osm_saint_paul_mn_monitoring_science.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_saint_paul_mn_offices_services.gpkg v1 2026.10.30.1 294.9 KB vector – yml
osm_saint_paul_mn_other.gpkg v1 2026.10.30.1 454.7 KB vector – yml
osm_saint_paul_mn_pipelines.gpkg v1 2026.10.30.1 114.7 KB vector – yml
osm_saint_paul_mn_places.gpkg v1 2026.10.30.1 1.3 MB vector – yml
osm_saint_paul_mn_ports_maritime.gpkg v1 2026.10.30.1 237.6 KB vector – yml
osm_saint_paul_mn_protected_areas.gpkg v1 2026.10.30.1 184.3 KB vector – yml
osm_saint_paul_mn_public_transport.gpkg v1 2026.10.30.1 5.8 MB vector – yml
osm_saint_paul_mn_railways.gpkg v1 2026.10.30.1 958.5 KB vector – yml
osm_saint_paul_mn_recreation_sport.gpkg v1 2026.10.30.1 1.7 MB vector – yml
osm_saint_paul_mn_religion.gpkg v1 2026.10.30.1 299.0 KB vector – yml
osm_saint_paul_mn_retail.gpkg v1 2026.10.30.1 581.6 KB vector – yml
osm_saint_paul_mn_roads.gpkg v1 2026.10.30.1 23.9 MB vector – yml
osm_saint_paul_mn_routes_other.gpkg v1 2026.10.30.1 4.8 MB vector – yml
osm_saint_paul_mn_social_services.gpkg v1 2026.10.30.1 262.1 KB vector – yml
osm_saint_paul_mn_structures_other.gpkg v1 2026.10.30.1 278.5 KB vector – yml
osm_saint_paul_mn_telecom.gpkg v1 2026.10.30.1 147.5 KB vector – yml
osm_saint_paul_mn_terrain.gpkg v1 2026.10.30.1 167.9 KB vector – yml
osm_saint_paul_mn_transport_services.gpkg v1 2026.10.30.1 1.6 MB vector – yml
osm_saint_paul_mn_vegetation.gpkg v1 2026.10.30.1 2.5 MB vector – yml
osm_saint_paul_mn_waste.gpkg v1 2026.10.30.1 192.5 KB vector – yml
osm_saint_paul_mn_water.gpkg v1 2026.10.30.1 520.2 KB vector – yml
osm_saint_paul_mn_water_infrastructure.gpkg v1 2026.10.30.1 159.7 KB vector – yml
osm_saint_paul_mn_waterways.gpkg v1 2026.10.30.1 864.3 KB vector – yml

Processing steps

OpenStreetMap features intersecting the city of Saint Paul, Minnesota, sorted into 47 themes, merged into ten single-geometry products and rasterised on the 10-arcsecond grid, from the openplanetdata.com planet build of 2026-10-27.

How these files are made (base_data/osm/osm_base_data_ingestion.py, a ProjectFlow run file whose tasks live in linneabean/osm/osm_tasks.py; this script is a thin entry point that runs it, and regions whose files exist are skipped):

  1. Region polygon (osm_<region>_region.gpkg). Saint Paul is not an ee_r264 region, so its boundary was looked up in the planet file itself: the polygon tagged boundary=administrative, admin_level=8, name=Saint Paul inside the search box -93.25,44.85,-92.95,45.05. The polygon is written once with its definition (region_source, region_query, search_bbox) and every later step reads its extent from it.
  2. Themes (theme_vectors/). One streaming pass over the planet GeoParquet of openplanetdata.com (build 2026-10-27, openplanetdata.com/planet; the full planet, 204 GB, kept in osm/raw/ and never uploaded), pruned to the row groups that overlap the region, clipped to the polygon. Every feature is classified by the precedence-ordered rules in linneabean/osm/osm_theme_rules.csv into one of 47 themes (linneabean/osm/osm_themes.csv: theme, domain, ISIC rev.4 section) with a class (the matched tag’s value) and a subclass (a refining tag such as admin_level, voltage, cuisine or damage grade). A feature whose other tags match a later rule of a different theme is also written to that secondary theme’s file, so a bakery in a building is in retail and in buildings, flagged by is_primary and theme_other. Features no rule catches land in the theme “other”. Each theme is one GeoPackage with layers points, lines, polygons and collections, the theme’s tag columns and all tags as JSON.
  3. Products (product_vectors/). The themes merged into ten files with one geometry type and one layer each (linneabean/osm/osm_products.py): facilities, buildings, landcover, landcover_mosaic, boundaries, settlements, transport_lines, water_lines, utility_lines, utility_nodes. Polygons become representative points where the product is points (with area_m2), boundary edge ways are dropped in favour of the relation polygons, building survey points are joined onto the footprint they fall in or given an estimated square footprint, and the landcover mosaic resolves overlaps so the smaller feature keeps the ground. Lifecycle state (construction, proposed, disused, …), damage and flood_prone are columns, not categories. Every row keeps osm_type, osm_id and geometry_source.
  4. Rasters (derived_rasters/). Presence of roads, main roads, energy features, power lines and buildings; distance in metres to roads and to main roads; building density in a 5-cell window, burnt on the 10-arcsecond pyramid grid over the region’s bounding box and expanded to global-extent POGs when listed.
  5. Listing. hb.add_directory_to_base_data lists every file in osm_<region>_base_data_manifest.csv with its licence (ODbL-1.0, (c) OpenStreetMap contributors), source, description and variable class, and ends with the publishing dry run.

What is in each theme, tag by tag, is documented in linneabean/osm/osm_themes_readme.md; the thematic structure and the products in linneabean/osm/readme.md. Counts and the tag vocabulary differ by region: a country built from imports and a city mapped by its residents look different, and the residual theme “other” shows what the rules miss.

From the ingestion script that made these files, base_data/osm/saint_paul_mn/osm_saint_paul_mn_base_data_ingestion.py.