osm/rwa/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 RWA, 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_rwa_addresses_entrances.gpkg v1 2026.10.30.1 180.2 KB vector – yml
osm_rwa_admin_boundaries.gpkg v1 2026.10.30.1 12.9 MB vector – yml
osm_rwa_aerialways.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_rwa_agriculture.gpkg v1 2026.10.30.1 12.7 MB vector – yml
osm_rwa_aviation.gpkg v1 2026.10.30.1 208.9 KB vector – yml
osm_rwa_barriers.gpkg v1 2026.10.30.1 659.5 KB vector – yml
osm_rwa_boundaries_other.gpkg v1 2026.10.30.1 19.5 MB vector – yml
osm_rwa_buildings.gpkg v1 2026.10.30.1 436.3 MB vector – yml
osm_rwa_construction_lifecycle.gpkg v1 2026.10.30.1 348.2 KB vector – yml
osm_rwa_culture_heritage_tourism.gpkg v1 2026.10.30.1 192.5 KB vector – yml
osm_rwa_education.gpkg v1 2026.10.30.1 671.7 KB vector – yml
osm_rwa_emergency.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_rwa_energy.gpkg v1 2026.10.30.1 1.5 MB vector – yml
osm_rwa_extraction.gpkg v1 2026.10.30.1 147.5 KB vector – yml
osm_rwa_finance.gpkg v1 2026.10.30.1 163.8 KB vector – yml
osm_rwa_government.gpkg v1 2026.10.30.1 233.5 KB vector – yml
osm_rwa_hazards.gpkg v1 2026.10.30.1 1.6 MB vector – yml
osm_rwa_health.gpkg v1 2026.10.30.1 737.3 KB vector – yml
osm_rwa_hospitality_food.gpkg v1 2026.10.30.1 495.6 KB vector – yml
osm_rwa_landuse_built.gpkg v1 2026.10.30.1 8.4 MB vector – yml
osm_rwa_logistics_storage.gpkg v1 2026.10.30.1 184.3 KB vector – yml
osm_rwa_manufacturing.gpkg v1 2026.10.30.1 151.6 KB vector – yml
osm_rwa_military.gpkg v1 2026.10.30.1 118.8 KB vector – yml
osm_rwa_monitoring_science.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_rwa_offices_services.gpkg v1 2026.10.30.1 184.3 KB vector – yml
osm_rwa_other.gpkg v1 2026.10.30.1 290.8 KB vector – yml
osm_rwa_pipelines.gpkg v1 2026.10.30.1 118.8 KB vector – yml
osm_rwa_places.gpkg v1 2026.10.30.1 1.3 MB vector – yml
osm_rwa_ports_maritime.gpkg v1 2026.10.30.1 151.6 KB vector – yml
osm_rwa_protected_areas.gpkg v1 2026.10.30.1 626.7 KB vector – yml
osm_rwa_public_transport.gpkg v1 2026.10.30.1 1.0 MB vector – yml
osm_rwa_railways.gpkg v1 2026.10.30.1 98.3 KB vector – yml
osm_rwa_recreation_sport.gpkg v1 2026.10.30.1 520.2 KB vector – yml
osm_rwa_religion.gpkg v1 2026.10.30.1 364.5 KB vector – yml
osm_rwa_retail.gpkg v1 2026.10.30.1 364.5 KB vector – yml
osm_rwa_roads.gpkg v1 2026.10.30.1 115.8 MB vector – yml
osm_rwa_routes_other.gpkg v1 2026.10.30.1 2.1 MB vector – yml
osm_rwa_social_services.gpkg v1 2026.10.30.1 262.1 KB vector – yml
osm_rwa_structures_other.gpkg v1 2026.10.30.1 172.0 KB vector – yml
osm_rwa_telecom.gpkg v1 2026.10.30.1 135.2 KB vector – yml
osm_rwa_terrain.gpkg v1 2026.10.30.1 458.8 KB vector – yml
osm_rwa_transport_services.gpkg v1 2026.10.30.1 278.5 KB vector – yml
osm_rwa_vegetation.gpkg v1 2026.10.30.1 15.7 MB vector – yml
osm_rwa_waste.gpkg v1 2026.10.30.1 118.8 KB vector – yml
osm_rwa_water.gpkg v1 2026.10.30.1 4.6 MB vector – yml
osm_rwa_water_infrastructure.gpkg v1 2026.10.30.1 184.3 KB vector – yml
osm_rwa_waterways.gpkg v1 2026.10.30.1 13.3 MB vector – yml

Processing steps

OpenStreetMap features intersecting Rwanda (the ee_r264 region RWA), 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). Rwanda is the ee_r264 region RWA, taken from cartographic/ee/ee_r264_correspondence.gpkg. 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/rwa/osm_rwa_base_data_ingestion.py.