Data Registry

A curated catalog of free, open data sources — boundaries, live feeds, static datasets, and basemaps. The AI knows about all of these, and you can use them directly in specs.

Boundaries

NameDescriptionPropertiesSize
India StatesState and union territory boundaries — 35 featuresNAME_1, TYPE_1, ENGTYPE_12 MB
India DistrictsDistrict boundaries — 820 features (post-2020)district, state, statecode15 MB

Live Data

NameDescriptionRefresh
USGS Earthquakes (Past Hour)All earthquakes in the past hour60s
USGS Earthquakes (Past Day)All earthquakes in the past 24 hours5 min
USGS Earthquakes (Past 7 Days)All earthquakes in the past week — ~2,000 features5 min
USGS Earthquakes (Past 30 Days)All earthquakes in the past month — ~10,000 features15 min
USGS Significant Earthquakes (Past 7 Days)Only M4.5+ earthquakes5 min

All USGS feeds include: mag, place, time, type, tsunami, sig, magType, title.

Datasets

NameDescriptionGeometryProperties
World Airports~700 major airports worldwidePointname, abbrev, iata_code, type
World PortsMajor ports worldwidePointname, scalerank
World Urban AreasUrban area polygonsPolygonscalerank, area_sqkm
World Populated Places~7,000 cities and townsPointname, pop_max, adm0name
World RiversMajor rivers worldwideLinename, scalerank
World LakesMajor lakes worldwidePolygonname, scalerank

All datasets sourced from Natural Earth (public domain).

Tiles

NameDescriptionFormat
Overture BuildingsBuilding footprints worldwide via FusedMVT (sourceLayer: "udf")

Basemaps

NameDescription
CartoDB PositronClean light basemap
CartoDB Dark MatterDark basemap
CartoDB VoyagerStreet-level detail basemap

Usage

With the AI

Just describe what you want — the AI knows all registry datasets:

"Show earthquakes worldwide" → uses USGS earthquake feed

"Show India states" → uses India state boundaries

With registry: prefix

Reference any dataset by ID:

{
  "layers": {
    "quakes": {
      "type": "geojson",
      "data": "registry:usgs-earthquakes-week",
      "style": { "pointColor": "#ef4444", "pointRadius": 4 },
      "tooltip": ["place", "mag"]
    }
  }
}

With direct URLs

Copy the URL from the registry and use it directly:

{
  "layers": {
    "airports": {
      "type": "geojson",
      "data": "https://d2ad6b4ur7yvpq.cloudfront.net/naturalearth-3.3.0/ne_10m_airports.geojson",
      "tooltip": ["name", "iata_code"]
    }
  }
}

Example

India state boundaries from the registry:

Contributing

The registry is a single JSON file — adding a new dataset is just a PR.

  1. Fork json-maps on GitHub
  2. Edit lib/data-registry.json
  3. Add your entry following this schema:
{
  "id": "my-dataset",
  "name": "My Dataset",
  "description": "Short description of what this contains",
  "url": "https://example.com/data.geojson",
  "format": "geojson",
  "category": "datasets",
  "tags": ["keyword1", "keyword2"],
  "license": "public-domain",
  "source": "Organization or author name",
  "properties": ["name", "population"],
  "geometry": "point"
}
  1. Submit a pull request

Requirements:

  • Data must be freely available with a stable URL
  • License must allow redistribution (public domain, CC-BY, ODbL, etc.)
  • URL must serve GeoJSON, MVT tiles, or raster tiles directly — no auth required