visionscarto-world-atlas
v1.0.0
Published
Derived from mbostock's world-atlas: Pre-built TopoJSON from Natural Earth.
Downloads
3,766
Readme
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/[email protected]/world/110m.json").then(d => d.json());
const features = topojson.feature(world, world.objects.countries);
const world = await fetch("https://cdn.jsdelivr.net/npm/[email protected]/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.