class_id stringlengths 10 57 | primary_key stringclasses 12
values | primary_value stringlengths 3 23 | refine_key stringclasses 17
values | refine_value stringlengths 0 27 | n_cand_windows int64 5 228k | n_cells int64 5 9.57k | n_deg_cells int64 5 9.57k | n_train int64 3 161k | n_val int64 0 23k | n_test int64 0 44.6k | name stringlengths 3 43 | alias_class_ids listlengths 1 3 | is_candidate bool 1
class | class_idx int64 0 484 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aeroway=aerodrome | aeroway | aerodrome | 7,345 | 2,373 | 2,373 | 5,130 | 752 | 1,463 | aerodrome | [
"aeroway=aerodrome"
] | true | 0 | ||
aeroway=aerodrome|aerodrome:type=airfield | aeroway | aerodrome | aerodrome:type | airfield | 87 | 52 | 52 | 66 | 3 | 18 | airfield aerodrome | [
"aeroway=aerodrome|aerodrome:type=airfield"
] | true | 1 |
aeroway=aerodrome|aerodrome:type=civil | aeroway | aerodrome | aerodrome:type | civil | 51 | 15 | 15 | 45 | 2 | 4 | civil aerodrome | [
"aeroway=aerodrome|aerodrome:type=civil"
] | true | 2 |
aeroway=aerodrome|aerodrome:type=gliding | aeroway | aerodrome | aerodrome:type | gliding | 8 | 7 | 7 | 7 | 0 | 1 | gliding aerodrome | [
"aeroway=aerodrome|aerodrome:type=gliding"
] | true | 3 |
aeroway=aerodrome|aerodrome:type=international | aeroway | aerodrome | aerodrome:type | international | 2,037 | 446 | 446 | 1,400 | 206 | 431 | international aerodrome | [
"aeroway=aerodrome|aerodrome:type=international"
] | true | 4 |
aeroway=aerodrome|aerodrome:type=military | aeroway | aerodrome | aerodrome:type | military | 20 | 8 | 8 | 13 | 3 | 4 | military aerodrome | [
"aeroway=aerodrome|aerodrome:type=military"
] | true | 5 |
aeroway=aerodrome|aerodrome:type=military/public | aeroway | aerodrome | aerodrome:type | military/public | 500 | 136 | 136 | 336 | 61 | 103 | military/public aerodrome | [
"aeroway=aerodrome|aerodrome:type=military/public"
] | true | 6 |
aeroway=aerodrome|aerodrome:type=private | aeroway | aerodrome | aerodrome:type | private | 53 | 27 | 27 | 31 | 7 | 15 | private aerodrome | [
"aeroway=aerodrome|aerodrome:type=private"
] | true | 7 |
aeroway=aerodrome|aerodrome:type=public | aeroway | aerodrome | aerodrome:type | public | 2,196 | 652 | 652 | 1,453 | 234 | 509 | public aerodrome | [
"aeroway=aerodrome|aerodrome:type=public"
] | true | 8 |
aeroway=aerodrome|aerodrome:type=public/military | aeroway | aerodrome | aerodrome:type | public/military | 39 | 13 | 13 | 34 | 0 | 5 | public/military aerodrome | [
"aeroway=aerodrome|aerodrome:type=public/military"
] | true | 9 |
aeroway=aerodrome|aerodrome:type=regional | aeroway | aerodrome | aerodrome:type | regional | 350 | 166 | 166 | 208 | 49 | 93 | regional aerodrome | [
"aeroway=aerodrome|aerodrome:type=regional"
] | true | 10 |
aeroway=apron | aeroway | apron | 70 | 55 | 55 | 49 | 6 | 15 | apron | [
"aeroway=apron"
] | true | 11 | ||
aeroway=construction | aeroway | construction | 9 | 7 | 7 | 6 | 1 | 2 | construction | [
"aeroway=construction",
"landuse=construction",
"power=construction"
] | true | 12 | ||
aeroway=spaceport | aeroway | spaceport | 238 | 17 | 17 | 163 | 30 | 45 | spaceport | [
"aeroway=spaceport"
] | true | 13 | ||
amenity=animal_breeding | amenity | animal_breeding | 23 | 16 | 16 | 9 | 5 | 9 | animal breeding | [
"amenity=animal_breeding"
] | true | 14 | ||
amenity=animal_shelter | amenity | animal_shelter | 15 | 6 | 6 | 8 | 0 | 7 | animal shelter | [
"amenity=animal_shelter"
] | true | 15 | ||
amenity=college | amenity | college | 808 | 410 | 410 | 590 | 55 | 163 | college | [
"amenity=college"
] | true | 16 | ||
amenity=conference_centre | amenity | conference_centre | 5 | 5 | 5 | 3 | 1 | 1 | conference centre | [
"amenity=conference_centre"
] | true | 17 | ||
amenity=events_venue | amenity | events_venue | 23 | 13 | 13 | 21 | 2 | 0 | events venue | [
"amenity=events_venue"
] | true | 18 | ||
amenity=exhibition_centre | amenity | exhibition_centre | 10 | 10 | 10 | 9 | 0 | 1 | exhibition centre | [
"amenity=exhibition_centre"
] | true | 19 | ||
amenity=festival_grounds | amenity | festival_grounds | 7 | 6 | 6 | 5 | 0 | 2 | festival grounds | [
"amenity=festival_grounds"
] | true | 20 | ||
amenity=grave_yard | amenity | grave_yard | 98 | 51 | 51 | 57 | 8 | 33 | grave yard | [
"amenity=grave_yard"
] | true | 21 | ||
amenity=hospital | amenity | hospital | 160 | 124 | 124 | 121 | 12 | 27 | hospital | [
"amenity=hospital"
] | true | 22 | ||
amenity=marketplace | amenity | marketplace | 37 | 28 | 28 | 34 | 0 | 3 | marketplace | [
"amenity=marketplace"
] | true | 23 | ||
amenity=monastery | amenity | monastery | 11 | 6 | 6 | 11 | 0 | 0 | monastery | [
"amenity=monastery"
] | true | 24 | ||
amenity=parking | amenity | parking | 50 | 39 | 39 | 34 | 3 | 13 | parking | [
"amenity=parking"
] | true | 25 | ||
amenity=place_of_worship | amenity | place_of_worship | 23 | 14 | 14 | 16 | 4 | 3 | place of worship | [
"amenity=place_of_worship"
] | true | 26 | ||
amenity=police | amenity | police | 45 | 25 | 25 | 34 | 1 | 10 | police | [
"amenity=police"
] | true | 27 | ||
amenity=prison | amenity | prison | 648 | 196 | 196 | 449 | 75 | 124 | prison | [
"amenity=prison"
] | true | 28 | ||
amenity=recycling | amenity | recycling | 16 | 15 | 15 | 8 | 2 | 6 | recycling | [
"amenity=recycling"
] | true | 29 | ||
amenity=refugee_site | amenity | refugee_site | 505 | 93 | 93 | 311 | 54 | 140 | refugee site | [
"amenity=refugee_site"
] | true | 30 | ||
amenity=research_institute | amenity | research_institute | 680 | 158 | 158 | 496 | 38 | 146 | research institute | [
"amenity=research_institute"
] | true | 31 | ||
amenity=school | amenity | school | 595 | 250 | 250 | 397 | 81 | 117 | school | [
"amenity=school"
] | true | 32 | ||
amenity=social_facility | amenity | social_facility | 27 | 15 | 15 | 17 | 2 | 8 | social facility | [
"amenity=social_facility"
] | true | 33 | ||
amenity=studio | amenity | studio | 12 | 7 | 7 | 10 | 0 | 2 | studio | [
"amenity=studio"
] | true | 34 | ||
amenity=university | amenity | university | 3,924 | 1,244 | 1,244 | 2,617 | 293 | 1,014 | university | [
"amenity=university"
] | true | 35 | ||
amenity=waste_transfer_station | amenity | waste_transfer_station | 24 | 14 | 14 | 16 | 4 | 4 | waste transfer station | [
"amenity=waste_transfer_station"
] | true | 36 | ||
amenity=water | amenity | water | 129 | 8 | 8 | 99 | 0 | 30 | water | [
"amenity=water",
"natural=water"
] | true | 37 | ||
historic=archaeological_site | historic | archaeological_site | 823 | 201 | 201 | 573 | 35 | 215 | archaeological site | [
"historic=archaeological_site"
] | true | 38 | ||
historic=battlefield | historic | battlefield | 139 | 22 | 22 | 79 | 14 | 46 | battlefield | [
"historic=battlefield"
] | true | 39 | ||
historic=castle | historic | castle | 44 | 28 | 28 | 34 | 3 | 7 | castle | [
"historic=castle"
] | true | 40 | ||
historic=cemetery | historic | cemetery | 13 | 5 | 5 | 12 | 1 | 0 | cemetery | [
"historic=cemetery",
"landuse=cemetery"
] | true | 41 | ||
historic=citywalls | historic | citywalls | 22 | 11 | 11 | 18 | 2 | 2 | citywalls | [
"historic=citywalls"
] | true | 42 | ||
historic=district | historic | district | 68 | 23 | 23 | 54 | 0 | 14 | district | [
"historic=district"
] | true | 43 | ||
historic=factory | historic | factory | 14 | 12 | 12 | 11 | 0 | 3 | factory | [
"historic=factory"
] | true | 44 | ||
historic=fort | historic | fort | 21 | 13 | 13 | 16 | 2 | 3 | fort | [
"historic=fort"
] | true | 45 | ||
historic=heritage | historic | heritage | 209 | 27 | 27 | 130 | 62 | 17 | heritage | [
"historic=heritage"
] | true | 46 | ||
historic=maritime | historic | maritime | 40 | 8 | 8 | 31 | 9 | 0 | maritime | [
"historic=maritime"
] | true | 47 | ||
historic=military | historic | military | 133 | 12 | 12 | 97 | 31 | 5 | military | [
"historic=military"
] | true | 48 | ||
historic=mine | historic | mine | 106 | 22 | 22 | 69 | 26 | 11 | mine | [
"historic=mine",
"man_made=mine"
] | true | 49 | ||
historic=ruins | historic | ruins | 314 | 71 | 71 | 224 | 38 | 52 | ruins | [
"historic=ruins"
] | true | 50 | ||
landcover=cultivated | landcover | cultivated | 40 | 5 | 5 | 37 | 3 | 0 | cultivated | [
"landcover=cultivated"
] | true | 51 | ||
landcover=meadow | landcover | meadow | 49 | 13 | 13 | 31 | 4 | 14 | meadow | [
"landcover=meadow",
"landuse=meadow"
] | true | 52 | ||
landcover=sand | landcover | sand | 41 | 5 | 5 | 38 | 2 | 1 | sand | [
"landcover=sand",
"natural=sand"
] | true | 53 | ||
landcover=trees | landcover | trees | 269 | 25 | 25 | 164 | 31 | 74 | trees | [
"landcover=trees"
] | true | 54 | ||
landuse=agriculture | landuse | agriculture | 26 | 9 | 9 | 20 | 0 | 6 | agriculture | [
"landuse=agriculture"
] | true | 55 | ||
landuse=allotments | landuse | allotments | 7,386 | 752 | 752 | 5,015 | 961 | 1,410 | allotments | [
"landuse=allotments"
] | true | 56 | ||
landuse=animal_keeping | landuse | animal_keeping | 174 | 27 | 27 | 104 | 40 | 30 | animal keeping | [
"landuse=animal_keeping"
] | true | 57 | ||
landuse=aquaculture | landuse | aquaculture | 2,635 | 298 | 298 | 1,765 | 304 | 566 | aquaculture | [
"landuse=aquaculture"
] | true | 58 | ||
landuse=aquaculture|produce=fish | landuse | aquaculture | produce | fish | 88 | 19 | 19 | 28 | 3 | 57 | fish aquaculture | [
"landuse=aquaculture|produce=fish"
] | true | 59 |
landuse=aquaculture|produce=shrimp | landuse | aquaculture | produce | shrimp | 256 | 25 | 25 | 202 | 21 | 33 | shrimp aquaculture | [
"landuse=aquaculture|produce=shrimp"
] | true | 60 |
landuse=basin | landuse | basin | 1,105 | 232 | 232 | 807 | 75 | 223 | basin | [
"landuse=basin",
"natural=basin",
"natural=water|water=basin"
] | true | 61 | ||
landuse=brownfield | landuse | brownfield | 1,444 | 430 | 430 | 947 | 137 | 360 | brownfield | [
"landuse=brownfield"
] | true | 62 | ||
landuse=commercial | landuse | commercial | 3,074 | 786 | 786 | 2,115 | 228 | 731 | commercial | [
"landuse=commercial"
] | true | 63 | ||
landuse=education | landuse | education | 71 | 31 | 31 | 32 | 24 | 15 | education | [
"landuse=education"
] | true | 64 | ||
landuse=fairground | landuse | fairground | 6 | 5 | 5 | 5 | 0 | 1 | fairground | [
"landuse=fairground"
] | true | 65 | ||
landuse=farm | landuse | farm | 257 | 15 | 15 | 172 | 25 | 60 | farm | [
"landuse=farm"
] | true | 66 | ||
landuse=farmland | landuse | farmland | 149,098 | 7,514 | 7,514 | 104,553 | 14,728 | 29,817 | farmland | [
"landuse=farmland"
] | true | 67 | ||
landuse=farmland|crop=Arroz | landuse | farmland | crop | Arroz | 40 | 5 | 5 | 27 | 7 | 6 | Arroz farmland | [
"landuse=farmland|crop=Arroz"
] | true | 68 |
landuse=farmland|crop=barley | landuse | farmland | crop | barley | 92 | 17 | 17 | 60 | 2 | 30 | barley farmland | [
"landuse=farmland|crop=barley"
] | true | 69 |
landuse=farmland|crop=cana-de-açúcar | landuse | farmland | crop | cana-de-açúcar | 221 | 13 | 13 | 145 | 73 | 3 | cana-de-açúcar farmland | [
"landuse=farmland|crop=cana-de-açúcar"
] | true | 70 |
landuse=farmland|crop=cereal | landuse | farmland | crop | cereal | 848 | 125 | 125 | 517 | 109 | 222 | cereal farmland | [
"landuse=farmland|crop=cereal",
"landuse=farmland|produce=cereal"
] | true | 71 |
landuse=farmland|crop=coffee | landuse | farmland | crop | coffee | 90 | 14 | 14 | 86 | 0 | 4 | coffee farmland | [
"landuse=farmland|crop=coffee"
] | true | 72 |
landuse=farmland|crop=corn | landuse | farmland | crop | corn | 592 | 139 | 139 | 406 | 100 | 86 | corn farmland | [
"landuse=farmland|crop=corn"
] | true | 73 |
landuse=farmland|crop=cotton | landuse | farmland | crop | cotton | 208 | 21 | 21 | 135 | 61 | 12 | cotton farmland | [
"landuse=farmland|crop=cotton"
] | true | 74 |
landuse=farmland|crop=cranberries | landuse | farmland | crop | cranberries | 74 | 14 | 14 | 62 | 7 | 5 | cranberries farmland | [
"landuse=farmland|crop=cranberries"
] | true | 75 |
landuse=farmland|crop=fast_growing_wood | landuse | farmland | crop | fast_growing_wood | 31 | 9 | 9 | 20 | 5 | 6 | fast growing wood farmland | [
"landuse=farmland|crop=fast_growing_wood"
] | true | 76 |
landuse=farmland|crop=field_cropland | landuse | farmland | crop | field_cropland | 391 | 38 | 38 | 218 | 1 | 172 | field cropland farmland | [
"landuse=farmland|crop=field_cropland"
] | true | 77 |
landuse=farmland|crop=forage | landuse | farmland | crop | forage | 43 | 12 | 12 | 31 | 1 | 11 | forage farmland | [
"landuse=farmland|crop=forage"
] | true | 78 |
landuse=farmland|crop=grape | landuse | farmland | crop | grape | 133 | 31 | 31 | 88 | 32 | 13 | grape farmland | [
"landuse=farmland|crop=grape"
] | true | 79 |
landuse=farmland|crop=grass | landuse | farmland | crop | grass | 538 | 125 | 125 | 353 | 17 | 168 | grass farmland | [
"landuse=farmland|crop=grass"
] | true | 80 |
landuse=farmland|crop=hay | landuse | farmland | crop | hay | 7 | 6 | 6 | 5 | 0 | 2 | hay farmland | [
"landuse=farmland|crop=hay"
] | true | 81 |
landuse=farmland|crop=hop | landuse | farmland | crop | hop | 47 | 6 | 6 | 47 | 0 | 0 | hop farmland | [
"landuse=farmland|crop=hop"
] | true | 82 |
landuse=farmland|crop=lavender | landuse | farmland | crop | lavender | 23 | 5 | 5 | 19 | 2 | 2 | lavender farmland | [
"landuse=farmland|crop=lavender"
] | true | 83 |
landuse=farmland|crop=maize | landuse | farmland | crop | maize | 41 | 16 | 16 | 35 | 2 | 4 | maize farmland | [
"landuse=farmland|crop=maize"
] | true | 84 |
landuse=farmland|crop=market_gardening | landuse | farmland | crop | market_gardening | 39 | 13 | 13 | 28 | 3 | 8 | market gardening farmland | [
"landuse=farmland|crop=market_gardening"
] | true | 85 |
landuse=farmland|crop=mixed | landuse | farmland | crop | mixed | 9 | 6 | 6 | 9 | 0 | 0 | mixed farmland | [
"landuse=farmland|crop=mixed"
] | true | 86 |
landuse=farmland|crop=native_pasture | landuse | farmland | crop | native_pasture | 65 | 16 | 16 | 22 | 3 | 40 | native pasture farmland | [
"landuse=farmland|crop=native_pasture"
] | true | 87 |
landuse=farmland|crop=palm | landuse | farmland | crop | palm | 67 | 10 | 10 | 61 | 6 | 0 | palm farmland | [
"landuse=farmland|crop=palm"
] | true | 88 |
landuse=farmland|crop=potato | landuse | farmland | crop | potato | 8 | 5 | 5 | 7 | 0 | 1 | potato farmland | [
"landuse=farmland|crop=potato"
] | true | 89 |
landuse=farmland|crop=rape | landuse | farmland | crop | rape | 81 | 15 | 15 | 81 | 0 | 0 | rape farmland | [
"landuse=farmland|crop=rape"
] | true | 90 |
landuse=farmland|crop=rice | landuse | farmland | crop | rice | 4,765 | 430 | 430 | 2,926 | 598 | 1,241 | rice farmland | [
"landuse=farmland|crop=rice",
"landuse=farmland|produce=rice"
] | true | 91 |
landuse=farmland|crop=sisal | landuse | farmland | crop | sisal | 73 | 8 | 8 | 49 | 0 | 24 | sisal farmland | [
"landuse=farmland|crop=sisal"
] | true | 92 |
landuse=farmland|crop=soy | landuse | farmland | crop | soy | 431 | 43 | 43 | 316 | 63 | 52 | soy farmland | [
"landuse=farmland|crop=soy"
] | true | 93 |
landuse=farmland|crop=sugarcane | landuse | farmland | crop | sugarcane | 2,609 | 158 | 158 | 1,784 | 373 | 452 | sugarcane farmland | [
"landuse=farmland|crop=sugarcane",
"landuse=farmland|produce=sugarcane"
] | true | 94 |
landuse=farmland|crop=sunflower | landuse | farmland | crop | sunflower | 25 | 10 | 10 | 11 | 13 | 1 | sunflower farmland | [
"landuse=farmland|crop=sunflower"
] | true | 95 |
landuse=farmland|crop=tea | landuse | farmland | crop | tea | 250 | 28 | 28 | 150 | 46 | 54 | tea farmland | [
"landuse=farmland|crop=tea"
] | true | 96 |
landuse=farmland|crop=vegetable | landuse | farmland | crop | vegetable | 97 | 17 | 17 | 71 | 12 | 14 | vegetable farmland | [
"landuse=farmland|crop=vegetable"
] | true | 97 |
landuse=farmland|crop=vegetables | landuse | farmland | crop | vegetables | 18 | 5 | 5 | 18 | 0 | 0 | vegetables farmland | [
"landuse=farmland|crop=vegetables",
"landuse=farmland|produce=vegetables"
] | true | 98 |
landuse=farmland|crop=wheat | landuse | farmland | crop | wheat | 904 | 118 | 118 | 582 | 83 | 239 | wheat farmland | [
"landuse=farmland|crop=wheat"
] | true | 99 |
MegaEarth: an OpenStreetMap × Sentinel-2 dataset
MegaEarth pairs Sentinel-2 Level-2A surface-reflectance windows with area labels from OpenStreetMap (OSM). It was built to test whether an image representation carries structure that transfers to categories it was never fitted on, which needs far more classes than the usual land-cover benchmarks provide. Each window is a 2.56 km footprint stored at native 10 m and 20 m resolution with the scene classification layer. Labels are exact polygon coverages for 485 classes drawn from OSM tags, of which 188 meet support requirements. Each class has a name and, where the OSM wiki supplies one, a mapper-written description. Classes are grouped into families so that whole groups of related categories can be held out, and train, validation and test geography are separated by one-degree cells with a 5 km buffer.
| Windows (accepted after quality control) | 44,355 |
| Windows retained after a cap of 150 per acquisition-target class | 34,992 (train 24,574, validation 3,539, test 6,879) |
| Classes inventoried / admitted | 485 / 188 |
| Families among admitted classes | 91 |
| Footprint | 2.56 km (256 × 256 px at 10 m); analysis footprint is the central 1.28 km |
| Bands | B02, B03, B04, B08 at 10 m; B05, B06, B07, B8A, B11, B12 at 20 m; SCL at 20 m |
| Imagery dates | 1 November 2024 to 31 December 2025, one scene per window |
| Label source | OpenStreetMap planet snapshot of 29 December 2025 |
| Size | 188 archives and 11 tables, 22 GB |
Example imagery
Nine Sentinel-2 windows from three OSM categories, with three examples per row.
Each tile covers 2.56 × 2.56 km at 10 m resolution; the study labels apply to its central 1.28 km footprint. All nine source windows were checked against their recorded pixel hashes. Select the image to view it at full size.
The gliding-aerodrome examples are outside the 188-class evaluation. Oxbow and recreation ground are included. Labels come from OpenStreetMap; the previews contain modified Copernicus Sentinel data (2024–2025).
Contents
data-00000.tar.zst … data-00187.tar.zst windows, up to 250 per archive
tables/
vocab/classes.parquet 485 classes: tag, refinement, name, aliases
vocab/taxonomy.yaml primary keys, exclusions, refinements, synonyms, name templates
select/windows.parquet 46,833 selected windows: location, cell, split, target class, coverage
assemble/windows_qa.parquet 44,355 accepted windows: scene, source, date, radiometry, quality
labels_exact/labels.parquet exact labels and coverages on four footprints
admit/classes_final.parquet per-class support and the admitted flag
admit/windows_final.parquet retained-window mask
families/families.parquet family and fold of every class
families/folds.json five family folds and five random class folds
text/phrases.parquet class names and OSM-wiki descriptions with source URLs
text/attribution.json wiki attribution and licence
manifest.json SHA-256 of every file
Each archive is a zstd-compressed tar with one directory per window:
| File | Shape | Type | Content |
|---|---|---|---|
b10.npy |
4 × 256 × 256 | uint16 | B02, B03, B04, B08 at 10 m |
b20.npy |
6 × 128 × 128 | uint16 | B05, B06, B07, B8A, B11, B12 at 20 m |
scl.npy |
128 × 128 | uint8 | Sen2Cor scene classification layer |
metadata.json |
window_id, item_id, source, datetime, epsg, x0, y0, dn_offset, dn_scale, baseline, bad_frac, snow_frac, mgrs_tile |
Arrays are stored as digital numbers (DN) on the native grid, never resampled. Reflectance is (DN + dn_offset) * dn_scale; every window in this release has offset −1000 and scale 0.0001. x0, y0 is the upper-left corner in metres in the window's UTM zone (epsg), snapped to the 20 m grid so the two resolutions nest exactly. The analysis footprint is rows and columns 64–191 of the 10 m arrays and 32–95 of the 20 m arrays.
Loading
import io, json, tarfile, zstandard, numpy as np, pandas as pd
with open("data-00010.tar.zst", "rb") as f, zstandard.ZstdDecompressor().stream_reader(f) as z, \
tarfile.open(fileobj=z, mode="r|") as tar:
for member in tar:
if member.name.endswith("b10.npy"):
b10 = np.load(io.BytesIO(tar.extractfile(member).read()), allow_pickle=False)
elif member.name.endswith("metadata.json"):
meta = json.load(tar.extractfile(member))
reflectance = (b10.astype("float32") + meta["dn_offset"]) * meta["dn_scale"]
qa = pd.read_parquet("tables/assemble/windows_qa.parquet") # keyed by widx and window_id
labels = pd.read_parquet("tables/labels_exact/labels.parquet") # labels_idx holds class_idx values
retained = pd.read_parquet("tables/admit/windows_final.parquet")
classes = pd.read_parquet("tables/admit/classes_final.parquet")
The per-window tables share the integer key widx (0 to 44,354 in window_id order). Classes are keyed by class_idx (0 to 484) with a stable string class_id such as natural=water|water=lake. To reproduce the study's inventory, keep rows with retained == True and classes with admitted == True, and take positive labels from labels_idx on the 1.28 km footprint. Apply the retained-window mask during both fitting and scoring. For a held-out-family fold, exclude from fitting any window whose labels_idx or multi_idx contains a class of a held-out family. Check these exclusions against the full 485-class taxonomy, including classes that fail admission; use the admitted classes for the evaluation gallery. The companion study scores 8,755 image-label pairs from 5,942 retained test windows. The remaining retained test windows lack an eligible scored pair under this protocol.
Classes and labels
A class is one OSM primary tag (landuse, natural, amenity, leisure, man_made, power, aeroway, historic, tourism, waterway, landcover, or place for islands), optionally refined by one secondary tag from a fixed allowlist, for example landuse=farmland|crop=rice or natural=wetland|wetland=mangrove. Administrative and legal tags are excluded. A window is labelled with a class when the union of that class's polygons covers at least 30% of the analysis footprint; classes covering at least 5% are recorded as secondary labels in multi_idx. A window can have several valid labels. Coastline, island and vegetation labels can describe the same footprint at different geographic scales. Coverage measures overlap with a mapped object; the central RGB crop can leave a regional extent, land use or subtype unresolved. Class names come from a fixed template; descriptions are the English OSM-wiki descriptions of the primary and refinement tags, fetched on 17 October 2026 with their page URL and retrieval time.
Families join classes that share a primary tag, an identical name, an alias, or a text cosine similarity above 0.90 under any of three sentence encoders. Families are defined from labels and text only, never from images. Five outer folds hold out whole families; after admission their galleries contain 17, 33, 41, 64 and 33 classes.
A class is admitted when it has at least 30 training, 5 validation and 10 test windows among retained windows, test windows from at least 5 cells and windows from at least 8 cells overall. Admitted classes range from 50 to 3,966 windows with a median of 159; the largest are island, wood and peninsula. The retention cap applies to the class used to acquire a window. Overlapping labels allow an admitted class to occur in more than 150 retained windows. Per-key counts are in classes.parquet and classes_final.parquet.
Splits and geography
A salted hash assigns each one-degree cell to train, validation or test with nominal fractions 0.7, 0.1 and 0.2, so every window in a cell shares its split. Windows of different splits are at least 5 km apart at the stored-footprint edge, and windows of the same class do not overlap. Accepted windows lie in 10,408 cells. Coverage follows OSM mapping: 35,079 windows are north of the equator and 9,276 south; Europe, North America and Asia hold 29,491 windows, Africa and South America 9,113. Each window carries a RESOLVE ecoregion and biome identifier, a Natural Earth continent name and a local mapping-density value for stratified reporting.
Imagery and quality control
Scenes were searched in one season per latitude band: all of 2025 within 23.5° of the equator, May to September 2025 north of that, and November 2024 to March 2025 south of it. Imagery comes from Microsoft Planetary Computer, with Element 84 Earth Search as a fallback for 4,702 windows whose primary catalogue search failed; both serve the same Level-2A products (processing baseline 05.11), and a 20-window pilot check confirmed pixel agreement between them. Scenes were tried in order of cloud and snow cover, at most six per window. A scene was rejected if more than 1% of the analysis footprint's SCL pixels were no-data, defective, cloud shadow, cloud or cirrus, or if any analysis pixel was zero or saturated. Of 46,833 selected windows, 44,355 passed and 2,478 were rejected on quality; there were no technical failures. Snow fraction is recorded, not filtered: 1,558 windows have more than 5% snow pixels.
A class-balanced visual review sampled 376 image-label pairs from the frozen test cohort, with two geographic cells per admitted class and 370 unique windows. One reviewer assessed the central 1.28 km RGB crop: 271 pairs were visually compatible (72.07%), 85 were unresolved (22.61%) and 20 were apparently inconsistent (5.32%). These counts describe the sampled pairs. The sampling design and two pairs per class provide limited precision and do not establish dataset-wide label accuracy.
A subsequent model-assisted source check traced the sampled labels to 1,915 objects in the frozen OSM snapshot. Recomputed polygon coverage agreed with the stored values to within 2.93 × 10⁻⁸. Of the 370 sampled windows, 178 carried multiple canonical mapped labels before admitted-class filtering. This check establishes provenance consistency; it followed the human judgements and provides no independent human annotation. All original review answers were retained. The review left the released images, labels and frozen evaluation cohort unchanged.
Licences and attribution
| Component | Licence | Attribution |
|---|---|---|
| Labels and study tables (derived from OSM) | ODbL 1.0 | © OpenStreetMap contributors |
Class descriptions in text/phrases.parquet |
CC BY-SA 2.0 | © OpenStreetMap Wiki contributors; one source URL per phrase |
| Image arrays and SCL | Copernicus Sentinel data terms | Contains modified Copernicus Sentinel data (2024–2025) |
| Ecoregion and biome fields | CC BY 4.0 | RESOLVE Ecoregions 2017, Dinerstein and colleagues |
| Continent field | Public domain | Natural Earth |
The release is a derived database of OpenStreetMap data. Anyone who redistributes a further derived database must observe the ODbL share-alike condition.
Limitations
- OSM records what mappers have drawn. A window with no polygon of a class is not evidence that the class is absent: labels are sparse positives, not complete annotations. Polygons may be out of date relative to a 2025 scene.
- Coverage follows OSM mapping density, which is highest in Europe and North America. Per-continent reporting is advisable, and
mapping_densitylets users stratify by it. - Classes are imbalanced. Class-balanced scoring is recommended.
- Some classes name a function rather than an appearance, for example college or prison, and are hard to separate at 10 m. Regional labels can extend beyond the crop, while crop species and industrial subtypes may require dated external evidence. An unresolved visual judgement alone is insufficient grounds for deleting or relabelling a pair.
- All imagery is single-date within one growing season per hemisphere. Multi-temporal structure and change are not represented.
- Cell-level splits control leakage between windows. Overlap with the pretraining data of released models remains unknown.
- A readout fitted to category text prototypes introduces category supervision even when the image encoder is frozen and was pretrained on images alone. Its performance measures transfer under that fitted readout. Causal attribution to pretraining requires a matched experimental design.
- The companion study's transfer-calibration gate remains unsatisfied. Current retrieval comparisons are descriptive for the tested cohort and fitting design; population confidence and significance claims require a separately validated uncertainty procedure that covers the intended sources of variation.
Citation
A dataset descriptor and the companion study are in preparation; this section will carry their citations once they are public. Until then, please cite the dataset by its Hugging Face identifier together with the OpenStreetMap, Copernicus and RESOLVE sources above.
@misc{ball2026megaearth,
author = {Ball, James Edward},
title = {MegaEarth: an OpenStreetMap x Sentinel-2 dataset for open-vocabulary semantic evaluation of geospatial foundation models},
year = {2026},
url = {https://huggingface.co/datasets/Mead0w1ark/megaearth-osm-sentinel2}
}
- Downloads last month
- 666
