China Atlas GeoJSON/TopoJSON
This repository provides a convenient redistribution of China's cartographic boundary shapfiles that derived from the ruiduobao/shengshixian.com, 2023 edition as TopoJSON and GeoJSON.
Usage
File Formats
Each prefecture has four fields in prefecture
object:
-
prefecture.id
: the six-digit administrative division codes, such as"110000"
-
prefecture.区划码
: same asprefecture.id
-
prefecture.name
: the prefecture English name, such as"Beijing"
-
prefecture.地名
: the prefecture name, such as"北京市"
Each province has four fields in provinces
object:
-
province.id
: the six-digit administrative division codes, such as"130000"
-
province.区划码
: same asprovince.id
-
province.name
: the province English name, such as"Hebei"
-
province.地名
: the province name, such as"河北省"
nation
object has three fields:
-
nation.id
: the string"CN"
-
nation.name
: the string"People's Republic of China"
-
nation.地名
: the string"中华人民共和国"
cn-atlas.json
A TopoJSON file containing the geometry collection prefetures
, provinces
, nation
. The geometry is quantized and simplified, but not projected.
prefectures.json
A GeoJSON file containing the geometry object prefetures
. The geometry is quantized and simplified, but not projected.
provinces.json
A GeoJSON file containing the geometry object provinces
. The geometry is quantized and simplified, but not projected.
nation.json
A GeoJSON file containing the geometry object nation
. The geometry is quantized and simplified, but not projected.
Credit
-
ruiduobao/shengshixian.com: provides high-quality adminstrative division
shp
files - topojson/us-atlas: inspiration source
- mbloch/mapshaper: simplify GeoJSON and export TopoJSON
-
qgis/QGIS: modify raw
shp
file fields and export GeoJSON - observablehq/plot: plot preview images