--- license: odbl tags: - openstreetmap - geospatial - geoparquet - image configs: - config_name: polygons default: true data_files: - split: train path: data/*.parquet - config_name: image_assets data_files: - split: train path: assets/*.assets.parquet --- ![OSM Polygon Image Tag hero](assets/hero.png) # OSM Polygon Image Tag This dataset contains OpenStreetMap Polygon and MultiPolygon observations whose way or relation carries at least one raw image-reference tag. ## Current verified contents - Shards: 282 - Rows: 292321 - Duplicate observations across source PBFs: 13338 - Resolved asset rows: 1791524 - Direct image URLs: 1710445 - Stable direct image URLs: 1710445 - Page URLs: 1702279 - Resolution cache hits: 176315 - Provider resolver requests: 42069 Provider observations: - `image`: 123020 - `wikimedia_commons`: 139470 - `mapillary`: 47519 - `panoramax`: 9630 - `kartaview`: 85 - `flickr`: 530 - `bubbleid`: 609 ## Geographic coverage ### OSM polygon density ![Geographic OSM Polygon Density](assets/geographic_polygon_density.png) Each colored H3 cell contains the raw count of finalized `polygons` rows whose geometry centroid falls inside the cell. Every polygon row contributes exactly once, computed from its Shapely geometry centroid in CRS84 (not its bounding-box midpoint). The map is built at H3 resolution 3. Overlapping Geofabrik extracts are intentionally preserved as separate observations, so two shards covering the same OSM feature will count it twice. The colour scale is logarithmic (`magma`); raw counts per-cell range from 1 to 8,754 across 2,939 H3 cells, with 292,321 finalized polygon rows from 282 shard(s). The `image_assets` configuration is not separately counted in this map. ## Schema Rows include OSM type/ID/version/changeset/timestamp, source PBF identity, full OGC:CRS84 WKB geometry, geodesic `area_m2`, bounds, every original OSM tag, and the exact raw `image`, `wikimedia_commons`, `mapillary`, `panoramax`, `panoramax_values`, `kartaview`, `flickr`, and `bubbleid` values. The `image_assets` configuration is one-to-many. Join it to `polygons` with `osm_type`, `osm_id`, `osm_version`, and `source_pbf`. Asset rows preserve the exact source key/value, canonical provider reference, resolution status, page URL, direct image URL when returned, expiry, MIME type, dimensions, and structured license/author metadata when available. ```python from datasets import load_dataset polygons = load_dataset("NoeFlandre/osm-polygon-image-tag", "polygons") image_assets = load_dataset("NoeFlandre/osm-polygon-image-tag", "image_assets") ``` ## Provenance and license Source extracts are provided by Geofabrik from OpenStreetMap. OpenStreetMap data is available under the Open Database License. Attribution: © OpenStreetMap contributors. ## Limitations and intended use References and resolved URLs may be stale, inaccessible, provider-specific, or unrelated to the current feature. Inclusion does not establish image copyright, licensing, safety, availability, or correspondence to the mapped feature. Wikimedia Commons category membership does not prove depiction of the polygon; it is labeled as `category_membership`. No image body is downloaded. Overlapping Geofabrik extracts are intentionally preserved as separate observations and quantified above. Statistics in this card are generated only from finalized manifests and their size-checked GeoParquet and asset shards. The geographic coverage map references Natural Earth 1:110m landmass data (public domain) for context only.