Rootkit29's picture
Dataset card: strip roads and road probability
5a85276 verified
|
Raw History Blame Contribute Delete
5.28 kB
metadata
license: other
license_name: mixed-cc-by-sa-4.0-odbl-cdla
license_link: https://huggingface.co/datasets/Rootkit29/spacenet-speedrun-map-data#licenses
pretty_name: SpaceNet Speedrun cloud-native map data
tags:
  - geospatial
  - remote-sensing
  - cloud-native
  - geoparquet
  - cog
  - pmtiles
  - spacenet
  - buildings
  - roads
size_categories:
  - 1M<n<10M

SpaceNet Speedrun: cloud-native map data

Everything behind the SpaceNet cloud-native map: building footprints and road networks predicted by the SpaceNet Speedrun models, the SpaceNet labels they were trained and tested on, 0.3 m WorldView-3 imagery, and Overture Maps buildings, roads and places for the same areas.

The map has no server. The page reads manifest.json, then fetches only the byte ranges it needs from the files below with HTTP range requests:

  • COG: one tile per request.
  • GeoParquet: the footer once, then one row group per request.
  • PMTiles: one vector tile per request.

Files

Path Format What
imagery/AOI_2_Vegas.tif COG (WebP, EPSG:3857) Whole Las Vegas WorldView-3 strip at 0.30 m (z19), 8 overviews
imagery/AOI_{3_Paris,4_Shanghai,5_Khartoum}/*_z12_{x}_{y}.tif COG (WebP, EPSG:3857) Paris, Shanghai and Khartoum at 0.30 m: one COG per z12 Web Mercator tile that holds SpaceNet tiles (24 in all)
imagery/AOI_*/*_overview.tif COG (WebP, EPSG:3857) Each of those three whole strips at 2.4 m (z16)
vectors/buildings_model.parquet GeoParquet 1.1 Model footprints: the whole Vegas strip (157k), plus our held-out val chips in Paris, Shanghai and Khartoum
vectors/roads_model.parquet GeoParquet 1.1 Model road centre-lines: the whole Vegas strip (74.8k segments, 3,998 km, 5-model ensemble with road-end-aware extraction), plus the shared buildings + roads model on our SN3 / SN5 test tiles elsewhere, with per-tile APLS
rasters/AOI_2_Vegas_road_prob.tif COG (WebP, EPSG:3857) The road ensemble's probability over the whole Vegas strip at 2.4 m, coloured as a heatmap
vectors/buildings_spacenet.parquet GeoParquet 1.1 SpaceNet 2 building labels (train set), with this project's train / tune / val split
vectors/roads_spacenet.parquet GeoParquet 1.1 SpaceNet 3 and 5 road labels (road type, lanes, paved, speed)
vectors/spacenet_tiles.parquet GeoParquet 1.1 SN2 chips and SN3 / SN5 tiles with their split
vectors/overture_{buildings,roads,places}.parquet GeoParquet 1.1 Overture Maps (release 2026-11-18) over each strip: 2.7 M buildings, 537 k road and rail segments, 274 k places
basemap/basemap.pmtiles PMTiles v3 Protomaps basemap: world z0–6, the six cities to z15; with fonts/ and sprites/
manifest.json JSON Index the map reads first: files, sizes, extents, footer sizes, city views

GeoParquet layout.

  • EPSG:4326, WKB geometry, a GeoParquet 1.1 bbox covering column.
  • Rows sorted by city, then along a Hilbert curve.
  • Row groups of 2–8 k rows that never cross a city boundary.
  • Only the bbox columns carry statistics, so footers are 18–350 KB.
  • Any GeoParquet reader can skip row groups by bounding box.

COG layout.

  • GDAL COG driver with the GoogleMapsCompatible tiling scheme and 512 px tiles.
  • WebP RGBA (outside the strip is transparent).
  • The per-city 1–99 % stretch the models were trained on.

Query it remotely

import duckdb  # reads only the row groups that intersect the box
duckdb.sql("""
  SELECT count(*) FROM 'hf://datasets/Rootkit29/spacenet-speedrun-map-data/vectors/overture_buildings.parquet'
  WHERE bbox.xmin < 32.54 AND bbox.xmax > 32.52 AND bbox.ymin < 15.59 AND bbox.ymax > 15.57""")
import geopandas as gpd
url = "https://huggingface.co/datasets/Rootkit29/spacenet-speedrun-map-data/resolve/main/vectors/buildings_model.parquet"
gdf = gpd.read_parquet(url, bbox=(-115.25, 36.18, -115.23, 36.20))
import rasterio  # one COG tile per read
with rasterio.open("/vsicurl/https://huggingface.co/datasets/Rootkit29/spacenet-speedrun-map-data/resolve/main/imagery/AOI_2_Vegas.tif") as r:
    print(r.overviews(1))

Licenses

Content Source License
Imagery, SpaceNet labels, tiles SpaceNet (Maxar, CosmiQ Works) on the AWS Registry of Open Data CC BY-SA 4.0
Model buildings and roads (derived from SpaceNet imagery) SpaceNet Speedrun CC BY-SA 4.0
Overture buildings and roads Overture Maps Foundation (incl. OpenStreetMap) ODbL 1.0 (see Overture attribution)
Overture places Overture Maps Foundation CDLA Permissive 2.0
Basemap tiles Protomaps build of OpenStreetMap ODbL 1.0, © OpenStreetMap contributors
Fonts Noto Sans (via protomaps/basemaps-assets) SIL Open Font License 1.1

Rebuild

The scripts are in scripts/map/ of the project repository. They cover the COGs, GeoParquet layers, basemap extract and manifest.