world-atlas

Pre-built TopoJSON from Natural Earth.


Keywords
topojson, geojson, shapefile
License
ISC
Install
npm install world-atlas@2.0.2

Documentation

World Atlas TopoJSON

This repository provides a convenient redistribution of Natural Earth鈥檚 vector data, version 4.1.0 as TopoJSON. For earlier editions, see past releases.

Usage

In a browser, using d3-geo and Canvas:
https://observablehq.com/@d3/world-map

In a browser, using d3-geo and SVG:
https://observablehq.com/@d3/world-map-svg

In Node, using d3-geo and node-canvas:
https://bl.ocks.org/mbostock/885fffe88d72b2a25c090e0bbbef382f

File Reference

# countries-110m.jsonDownload

A TopoJSON file containing the geometry collections countries and land. The geometry is quantized, but not projected; it is in spherical coordinates, decimal degrees. This topology is derived from the Natural Earth鈥檚 Admin 0 country boundaries, 1:110m small scale. The land boundary is computed by merging countries, ensuring a consistent topology.

# countries-50m.jsonDownload

A TopoJSON file containing the geometry collections countries and land. The geometry is quantized, but not projected; it is in spherical coordinates, decimal degrees. This topology is derived from the Natural Earth鈥檚 Admin 0 country boundaries, 1:50m medium scale. The land boundary is computed by merging countries, ensuring a consistent topology.

# countries-10m.jsonDownload

A TopoJSON file containing the geometry collections countries and land. The geometry is quantized, but not projected; it is in spherical coordinates, decimal degrees. This topology is derived from the Natural Earth鈥檚 Admin 0 country boundaries, 1:10m large scale. The land boundary is computed by merging countries, ensuring a consistent topology.

# land-110m.jsonDownload

A TopoJSON file containing the geometry collection land. The geometry is quantized, but not projected; it is in spherical coordinates, decimal degrees. This topology is derived from the Natural Earth鈥檚 land boundaries, 1:110m small scale.

# land-50m.jsonDownload

A TopoJSON file containing the geometry collection land. The geometry is quantized, but not projected; it is in spherical coordinates, decimal degrees. This topology is derived from the Natural Earth鈥檚 land boundaries, 1:50m medium scale.

# land-10m.jsonDownload

A TopoJSON file containing the geometry collection land. The geometry is quantized, but not projected; it is in spherical coordinates, decimal degrees. This topology is derived from the Natural Earth鈥檚 land boundaries, 1:10m large scale.

# world.objects.countries

Each country has two fields:

# world.objects.land