NoeFlandre/osm-polygon-wikidata-and-wikipedia
OSM Polygon Wikidata + Wikipedia, V2 V2 builds on the V1 Wikidata-only dataset with multilingual Wikipedia and Wikivoyage text. It also retains valid multilingual wikipedia=* references, including polygons without a Wikidata QID. Source code: GitHub repository. Dataset snapshot Metric Value Polygon rows across regional extracts 1,259,424 Unique polygon identities (osm_type, osm_id) 1,188,854 Polygons with successful non-empty text (unique OSM… See the full description on the dataset page: https://huggingface.co/datasets/NoeFlandre/osm-polygon-wikidata-and-wikipedia.
OSM Polygon Wikidata + Wikipedia, V2
V2 builds on the V1 Wikidata-only dataset with multilingual Wikipedia and Wikivoyage text. It also retains valid multilingual wikipedia=* references, including polygons without a Wikidata QID.
Source code: GitHub repository.
Dataset snapshot
Polygon rows preserve regional records. Identity metrics use one deterministic representative per (osm_type, osm_id). Text requires fetch_status=ok and a trimmed non-empty full_text.
Text volume: 833,590,596 document words; 74,791,929 sentence rows.
Document words count full Wikipedia and Wikivoyage document text; section rows are excluded. Sentence rows include split and explicitly unsplit unsupported-language rows when sentence sidecars exist.
Sentence-splitting coverage
Measured over input text units (sections), not output sentence rows.
- Eligible text units: 12,666,253
- Units split because language is supported: 11,197,076
- Units left unsplit because language is unsupported: 1,469,177
- Supported-language coverage: 88.4%
- Unsupported-language share: 11.6%
- Top unsupported languages by count:
arz(277,524);ce(178,753);tt(97,105);sh(58,760);hr(43,936);nn(37,168);zh-min-nan(36,499);ast(36,246);azb(31,494);simple(26,509)
Coverage maps
All polygon identities
One point per unique retained polygon identity, including identities without text.
Polygon identities with text
One point per unique identity with successful non-empty text (684,411).
H3 text density
Each H3 cell shows the absolute count of unique text-covered polygon identities; it is not a proportion.
Geographic distribution by continent
Counts use one deterministic representative per polygon identity and the same text definition as the maps.
Polygon area and geometry
Recorded polygon area: 181,690,954.0535 km² total; median 1,301.0 m². Complete area distribution, histogram, geometry, extent, and per-source statistics: `stats.json`.
Schema
Dataset Viewer schema. The published tables are documented by their Dataset Viewer configurations.
Data sources & licenses
OpenStreetMap polygons are ODbL; Wikidata is CC0; Wikipedia and Wikivoyage text are CC BY-SA 4.0.
How to load
from datasets import load_dataset
ds = load_dataset("parquet", data_files={"polygons": "hf://datasets/NoeFlandre/osm-polygon-wikidata-and-wikipedia/polygons/*.parquet"})Citation
Download the dataset citation metadata from `CITATION.cff`.
Reproducibility
Run V2 explicitly with sync-dir --dataset-version v2. V1 remains a separate contract and is not modified by V2 processing.
Language partitions
The V2 language release is an additive, row-level partition of the published text tables. Each source row is routed by its normalized language value; multilingual rows are not collapsed to a polygon-level preferred language. Missing, blank, malformed, and legacy-unusable values are preserved in the explicit lang-unknown partition.
Validated languages: 350 (including unknown).
The release manifest records the source fingerprint, schema, row counts, and SHA-256 hash for every generated file.
