visionscarto-world-atlas

Derived from mbostock's world-atlas: Pre-built TopoJSON from Natural Earth.


Keywords
topojson, geojson, shapefile, cartography, natural-earth
License
BSD-3-Clause
Install
npm install visionscarto-world-atlas@1.0.0

Documentation

Natural Earth vector data, modified & simplified

A modification of topojson/world-atlas 110m and 50m files, with various modifications intended for Visionscarto:

  • fixes topology issues (border of Sudan; North Korea…)
  • adds a few shapes (Kuril Islands; Gaza)
  • better reflects the UN views (Ukraine; Western Sahara)
  • adds names and ids (Norway; Kosovo; North Macedonia…)
  • adds 3-letter codes (as properties.a3)
  • quantized and optimized

Full documentation and examples notebook.

Usage

Consume these files with TopoJSON:

const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@1/world/110m.json").then(d => d.json());
const features = topojson.feature(world, world.objects.countries);
const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@1/world/50m.json").then(d => d.json());
const land = topojson.feature(world, world.objects.land);

Credits

The hard work has been done by the team at Natural Earth.

Mike Bostock has contributed all the necessary tooling and examples in world-atlas.