1 | # World Atlas TopoJSON
|
2 |
|
3 | This repository provides a convenient redistribution of [Natural Earth](http://www.naturalearthdata.com/)’s [vector data](http://www.naturalearthdata.com/downloads/), version 4.1.0 as TopoJSON. For earlier editions, see [past releases](https://github.com/topojson/world-atlas).
|
4 |
|
5 | ### Usage
|
6 |
|
7 | In a browser, using [d3-geo](https://github.com/d3/d3-geo) and Canvas:<br>
|
8 | https://observablehq.com/@d3/world-map
|
9 |
|
10 | In a browser, using [d3-geo](https://github.com/d3/d3-geo) and SVG:<br>
|
11 | https://observablehq.com/@d3/world-map-svg
|
12 |
|
13 | In Node, using [d3-geo](https://github.com/d3/d3-geo) and [node-canvas](https://github.com/Automattic/node-canvas):<br>
|
14 | https://bl.ocks.org/mbostock/885fffe88d72b2a25c090e0bbbef382f
|
15 |
|
16 | ## File Reference
|
17 |
|
18 | <a href="#countries-110m.json" name="countries-110m.json">#</a> <b>countries-110m.json</b> · [Download](https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json "Source")
|
19 |
|
20 | A [TopoJSON file](https://github.com/topojson/topojson-specification/blob/master/README.md#21-topology-objects) containing the geometry collections <i>countries</i> and <i>land</i>. 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](http://www.naturalearthdata.com/downloads/110m-cultural-vectors/), 1:110m small scale. The land boundary is computed by [merging](https://github.com/topojson/topojson-client/blob/master/README.md#merge) countries, ensuring a consistent topology.
|
21 |
|
22 | <a href="#countries-50m.json" name="countries-50m.json">#</a> <b>countries-50m.json</b> · [Download](https://cdn.jsdelivr.net/npm/world-atlas@2/countries-50m.json "Source")
|
23 |
|
24 | A [TopoJSON file](https://github.com/topojson/topojson-specification/blob/master/README.md#21-topology-objects) containing the geometry collections <i>countries</i> and <i>land</i>. 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](http://www.naturalearthdata.com/downloads/50m-cultural-vectors/), 1:50m medium scale. The land boundary is computed by [merging](https://github.com/topojson/topojson-client/blob/master/README.md#merge) countries, ensuring a consistent topology.
|
25 |
|
26 | <a href="#countries-10m.json" name="countries-10m.json">#</a> <b>countries-10m.json</b> · [Download](https://cdn.jsdelivr.net/npm/world-atlas@2/countries-10m.json "Source")
|
27 |
|
28 | A [TopoJSON file](https://github.com/topojson/topojson-specification/blob/master/README.md#21-topology-objects) containing the geometry collections <i>countries</i> and <i>land</i>. 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](http://www.naturalearthdata.com/downloads/10m-cultural-vectors/), 1:10m large scale. The land boundary is computed by [merging](https://github.com/topojson/topojson-client/blob/master/README.md#merge) countries, ensuring a consistent topology.
|
29 |
|
30 | <a href="#land-110m.json" name="land-110m.json">#</a> <b>land-110m.json</b> · [Download](https://cdn.jsdelivr.net/npm/world-atlas@2/land-110m.json "Source")
|
31 |
|
32 | A [TopoJSON file](https://github.com/topojson/topojson-specification/blob/master/README.md#21-topology-objects) containing the geometry collection <i>land</i>. 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](http://www.naturalearthdata.com/downloads/110m-physical-vectors/), 1:110m small scale.
|
33 |
|
34 | <a href="#land-50m.json" name="land-50m.json">#</a> <b>land-50m.json</b> · [Download](https://cdn.jsdelivr.net/npm/world-atlas@2/land-50m.json "Source")
|
35 |
|
36 | A [TopoJSON file](https://github.com/topojson/topojson-specification/blob/master/README.md#21-topology-objects) containing the geometry collection <i>land</i>. 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](http://www.naturalearthdata.com/downloads/50m-physical-vectors/), 1:50m medium scale.
|
37 |
|
38 | <a href="#land-10m.json" name="land-10m.json">#</a> <b>land-10m.json</b> · [Download](https://cdn.jsdelivr.net/npm/world-atlas@2/land-10m.json "Source")
|
39 |
|
40 | A [TopoJSON file](https://github.com/topojson/topojson-specification/blob/master/README.md#21-topology-objects) containing the geometry collection <i>land</i>. 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](http://www.naturalearthdata.com/downloads/10m-physical-vectors/), 1:10m large scale.
|
41 |
|
42 | <a href="#countries" name="countries">#</a> *world*.objects.<b>countries</b>
|
43 |
|
44 | <img src="https://raw.githubusercontent.com/topojson/world-atlas/master/img/countries.png" width="480" height="300">
|
45 |
|
46 | Each country has two fields:
|
47 |
|
48 | * *country*.id - the three-digit [ISO 3166-1 numeric country code](https://en.wikipedia.org/wiki/ISO_3166-1_numeric), such as `"528"`
|
49 | * *country*.properties.name - the country name, such as `"Netherlands"`
|
50 |
|
51 | <a href="#land" name="land">#</a> *world*.objects.<b>land</b>
|
52 |
|
53 | <img src="https://raw.githubusercontent.com/topojson/world-atlas/master/img/land.png" width="480" height="300">
|