world-atlas

Pre-built TopoJSON from Natural Earth.

ISC 12 个版本
安装
npm install world-atlas
yarn add world-atlas
pnpm add world-atlas
bun add world-atlas
README

World Atlas TopoJSON

This repository provides a convenient redistribution of Natural Earth’s 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.json · Download

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’s Admin 0 country boundaries, 1:110m small scale. The land boundary is computed by merging countries, ensuring a consistent topology.

# countries-50m.json · Download

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’s Admin 0 country boundaries, 1:50m medium scale. The land boundary is computed by merging countries, ensuring a consistent topology.

# countries-10m.json · Download

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’s Admin 0 country boundaries, 1:10m large scale. The land boundary is computed by merging countries, ensuring a consistent topology.

# land-110m.json · Download

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’s land boundaries, 1:110m small scale.

# land-50m.json · Download

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’s land boundaries, 1:50m medium scale.

# land-10m.json · Download

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’s land boundaries, 1:10m large scale.

# world.objects.countries

Each country has two fields:

# world.objects.land

版本列表
2.0.2 2019-09-05
2.0.1 2019-08-31
2.0.0 2019-08-31
1.1.4 2017-04-01
1.1.3 2017-04-01
1.1.2 2017-03-31
1.1.1 2017-01-25
1.1.0 2016-11-07
1.0.0 2016-11-03
0.0.3 2013-05-10
0.0.2 2013-03-08
0.0.1 2013-03-05