opt-sol commited on
Commit
316040d
·
verified ·
1 Parent(s): 5544974

Natural Earth (current)

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ display/ne_admin1_med.geojson filter=lfs diff=lfs merge=lfs -text
DISCLAIMER.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Disclaimer
2
+
3
+ This dataset is redistributed by **OptimalSolution LLC** as part of the multimod
4
+ data bank. The original publisher is **Natural Earth**.
5
+
6
+ **Redistribution only; no responsibility.** OptimalSolution LLC redistributes this
7
+ data and is not responsible for its content, accuracy, completeness, currency or
8
+ fitness for any purpose. Questions about what the data says, how it was
9
+ collected or what it means belong to the original publisher.
10
+
11
+ **No endorsement and no position.** Inclusion in this data bank implies no
12
+ judgement, endorsement or position by OptimalSolution LLC regarding the data, its
13
+ publisher, the methodology behind it, or any conclusion that anyone draws from
14
+ it. Datasets are included because they are useful inputs to energy-system
15
+ models, not because OptimalSolution LLC agrees with them.
16
+
17
+ **No affiliation.** OptimalSolution LLC is not affiliated with, sponsored by or
18
+ endorsed by Natural Earth. All trademarks, names and credit remain with the
19
+ original publisher.
20
+
21
+ **Provided as-is; no warranty.** This copy is provided as-is, without warranty of
22
+ any kind, express or implied. The original publisher's licence and terms govern
23
+ your use of the data; where this copy and the publisher's own release differ, the
24
+ publisher's release is authoritative.
25
+
26
+ ## Changes made to the published data
27
+
28
+ The exact/ tier is a format conversion only: geometry is carried through as published, coordinate for coordinate. The display/ tier is simplified with rmapshaper::ms_simplify() and its coordinates therefore DIFFER from the published data -- it is for drawing maps, never for measurement. Two country-code corrections and one boundary change are applied to both tiers and are listed in source.yml under `changes`.
29
+
30
+ Per-dataset detail is recorded in each `dataset.yml` under `bank.modifications`
31
+ and `bank.changes`, and is served by the platform API alongside the data.
LICENSE-public-domain.txt ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Natural Earth is public domain. From the Natural Earth terms of use:
2
+
3
+ "All versions of Natural Earth raster and vector map data found on this
4
+ website are in the public domain. You may use the maps in any manner,
5
+ including modifying the content and design, electronic dissemination, and
6
+ offset printing. The primary authors, Tom Patterson and Nathaniel Vaughn
7
+ Kelso, and all other contributors renounce all financial claim to the
8
+ maps and invites you to use them for personal, educational, and commercial
9
+ purposes."
10
+
11
+ "No permission is needed to use Natural Earth. Crediting the authors is
12
+ unnecessary."
13
+
14
+ See https://www.naturalearthdata.com/about/terms-of-use/
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ pretty_name: Natural Earth
4
+ tags:
5
+ - geometry
6
+ - boundaries
7
+ - basemap
8
+ - global
9
+ license_name: public-domain
10
+ license_link: https://www.naturalearthdata.com/about/terms-of-use/
11
+ ---
12
+
13
+ # Natural Earth basemaps
14
+
15
+ Public-domain country and admin-1 boundaries, shared by every source in the data bank. Two tiers: `exact/` is GeoParquet 1.0 at full precision for spatial work, `display/` is simplified GeoJSON for maps.
16
+
17
+ ## Terms
18
+
19
+ - **Licence**: public domain (https://www.naturalearthdata.com/about/terms-of-use/)
20
+ - **Attribution**: Boundaries: Natural Earth (public domain)
21
+ - **Cite as**: Natural Earth. Free vector and raster map data @ naturalearthdata.com
22
+ - **Source**: https://www.naturalearthdata.com/
23
+
24
+ Redistributed by OptimalSolution LLC -- see `DISCLAIMER.md`. Redistribution only: no responsibility for the content, no endorsement or position, no affiliation with the publisher, no warranty. What was changed from the published data is recorded per dataset under `bank.modifications` and `bank.changes`.
25
+
26
+ ## Read this before you aggregate
27
+
28
+ - **110m covers only 175 of Ember's 209 countries.** It omits Singapore, Malta, Bahrain, Hong Kong, Macao and 30 small island states, which render as holes. 50m is the default and 50m and 10m both reach 209/209.
29
+ - Three adm0_a3 codes are aliased to ISO 3166-1: KOS to XKX, SDS to SSD, PSX to PSE. Without them an ISO3 join loses Kosovo, South Sudan and Palestine.
30
+ - The four French overseas departments were lifted out of France's polygon and ERASED from it. Natural Earth folds them into FRA (636,062 km2 against 551,695 for metropolitan France), so anyone reporting them separately would otherwise count the same territory twice. FRA here is 548,374 km2.
31
+ - Every layer is GEOS-valid. s2 validity is NOT guaranteed and cannot be: raw 110m already reports SDN and RUS as s2-invalid while GEOS accepts them, and repairing under s2 breaks RUS, FJI and ATA for GEOS. `source.yml` records the per-layer count.
32
+ - `display/` geometry is SIMPLIFIED -- its coordinates differ from the published data. Use it to draw, never to measure.
33
+ - admin-1 is admin-1 AS NATURAL EARTH DEFINES IT. Unit counts are wildly uneven (GBR 232, SVN 193, LVA 119); this is not a uniform NUTS-like tier and units are not comparable across countries.
34
+
35
+ ## Using it
36
+
37
+ ```r
38
+ # exact tier: sfarrow drops the CRS, because GeoParquet 1.0 stores it as
39
+ # a PROJJSON object and sf::st_crs() takes only strings
40
+ x <- sfarrow::st_read_parquet("exact/ne_countries_50m.parquet")
41
+ if (is.na(sf::st_crs(x))) sf::st_crs(x) <- "OGC:CRS84"
42
+
43
+ # display tier: ECharts registerMap, joined on the `iso3` property
44
+ # geojson <- display/ne_countries_50m.geojson
45
+ ```
46
+
display/ne_admin1_low.geojson ADDED
The diff for this file is too large to render. See raw diff
 
display/ne_admin1_med.geojson ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b554c12af87faa56e573d98e12fd28ec44b1d9ba182faf871fcb61fab904169b
3
+ size 11121559
display/ne_countries_10m.geojson ADDED
The diff for this file is too large to render. See raw diff
 
display/ne_countries_110m.geojson ADDED
The diff for this file is too large to render. See raw diff
 
display/ne_countries_50m.geojson ADDED
The diff for this file is too large to render. See raw diff
 
exact/ne_admin1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b302a2e9ec2e4b104f6e4a4bd626c750a14faeabccf047450f48683d6df7e2b3
3
+ size 15262390
exact/ne_countries_10m.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6faf619552ee76a37b6fa4bb4e687ecc80a19233f84f7718b7c23b495fde5df
3
+ size 5953957
exact/ne_countries_110m.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f99b4f66e70ebb634e53417840c13bce69da94dc0ac1b76e17dfd0cbdb65344f
3
+ size 155667
exact/ne_countries_50m.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81360904464a608e484d44c8f8cd807825d96f84d2aa6537d26a66c5f6d5c8b6
3
+ size 950220
ne_admin1_attrs.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c833a13552b1bb0ec2cdb446bf3b77509992277c964a8e80c6770dd78271460
3
+ size 68210
ne_countries_attrs.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9162468a95ef2344c6584a64b5491f1be08a6842284cdbb2bf3ce99a77669155
3
+ size 8751
source.yml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version: 1
2
+ id: naturalearth
3
+ name: Natural Earth
4
+ publisher: Natural Earth
5
+ description: Public-domain country and admin-1 boundaries, used as the shared basemap
6
+ for every source in the data bank.
7
+ homepage: https://www.naturalearthdata.com/
8
+ tags:
9
+ - geometry
10
+ - boundaries
11
+ - basemap
12
+ - global
13
+ license: public-domain
14
+ license_file: LICENSE-public-domain.txt
15
+ license_url: https://www.naturalearthdata.com/about/terms-of-use/
16
+ attribution: 'Boundaries: Natural Earth (public domain)'
17
+ attribution_required: no
18
+ citation: Natural Earth. Free vector and raster map data @ naturalearthdata.com
19
+ redistribution: permitted
20
+ visibility: public
21
+ disclaimer_file: DISCLAIMER.md
22
+ disclaimer:
23
+ redistributor: OptimalSolution LLC
24
+ role: redistribution-only
25
+ responsibility: none
26
+ endorsement: none
27
+ affiliation: none
28
+ warranty: none
29
+ governing_terms: The original publisher's licence and terms govern.
30
+ retrieval:
31
+ method: r-package
32
+ package: rnaturalearth
33
+ package_version: 1.2.0
34
+ data_version: 1.0.0
35
+ hires_version: 1.0.0.9000
36
+ fetched_at: '2026-09-17T21:35:18Z'
37
+ build_tool: r-worker/build_basemaps.R
38
+ modifications: reformatted
39
+ changes:
40
+ - Converted sf geometry to GeoParquet 1.0.0 (WKB, zstd) and simplified GeoJSON.
41
+ - 'Aliased three adm0_a3 codes to ISO 3166-1 alpha-3: KOS->XKX, SDS->SSD, PSX->PSE.
42
+ Without these, ISO3 joins lose Kosovo, South Sudan and Palestine.'
43
+ - Lifted the four French overseas departments (Guadeloupe, Guyane, Martinique, Reunion)
44
+ out of France's polygon as separate features and ERASED them from FRA. Natural Earth
45
+ folds them into FRA (measured area 636,062 km2 against 551,695 for metropolitan
46
+ France); publishers that report them separately would otherwise double-count. FRA
47
+ is 548,374 km2 after the erase.
48
+ - 'Geometry is repaired only where GEOS reports it invalid, and never under s2: a
49
+ blanket st_make_valid() with s2 enabled rewrites RUS, FJI and ATA into GEOS-invalid
50
+ forms.'
51
+ layers:
52
+ countries:
53
+ resolutions:
54
+ - 110m
55
+ - 50m
56
+ - 10m
57
+ default: 50m
58
+ key: iso3
59
+ note: 110m covers only 175 of Ember's 209 countries -- it omits Singapore, Malta,
60
+ Bahrain, Hong Kong, Macao and 30 small island states, which render as holes.
61
+ 50m and 10m cover all 209.
62
+ admin1:
63
+ resolutions:
64
+ - 10m
65
+ key: iso_3166_2
66
+ units: 4596
67
+ countries: 251
68
+ note: ne_states() takes no scale argument; it is always the hires dataset. Unit
69
+ counts are wildly uneven across countries (GBR 232, SVN 193, LVA 119), so this
70
+ is admin-1 AS NATURAL EARTH DEFINES IT, not a uniform NUTS-like tier. Do not
71
+ treat units as comparable.
72
+ coverage:
73
+ - layer: ne_countries_110m
74
+ features: 181
75
+ iso3: 181
76
+ s2_invalid: 2
77
+ - layer: ne_countries_50m
78
+ features: 246
79
+ iso3: 246
80
+ s2_invalid: 0
81
+ - layer: ne_countries_10m
82
+ features: 262
83
+ iso3: 262
84
+ s2_invalid: 0
85
+ crs: OGC:CRS84
86
+ notes:
87
+ - 'GEOS validity is guaranteed for every shipped layer. s2 validity is NOT: raw Natural
88
+ Earth 110m already reports SDN and RUS as s2-invalid while GEOS accepts them, and
89
+ the two engines cannot be satisfied at once for antimeridian and pole geometry.
90
+ The per-layer s2_invalid count above records the discrepancy.'