Skip to content

Commit

Permalink
version 1.
Browse files Browse the repository at this point in the history
changes:
* a3 PSX -> PSE
* a3 ALD -> ALA
  • Loading branch information
Fil committed Apr 1, 2024
1 parent 2747f2d commit 5f14827
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Natural Earth vector data, modified & simplified

A modification of [topojson/world-atlas](https://github.com/topojson/world-atlas) 110m and 50m files, with various modifications intended for Visionscarto:

- fixes topology issues (border of Sudan; North Korea…)
- adds a few shapes (Kuril Islands; Gaza)
- better reflects the UN views (Ukraine; Western Sahara)
Expand All @@ -15,21 +16,19 @@ A modification of [topojson/world-atlas](https://github.com/topojson/world-atlas
Consume these files with TopoJSON:

```{javascript}
const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@0.1.0/world/110m.json").then(d => d.json());
const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@1/world/110m.json").then(d => d.json());
const features = topojson.feature(world, world.objects.countries);
```

```{javascript}
const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@0.1.0/world/50m.json").then(d => d.json());
const world = await fetch("https://cdn.jsdelivr.net/npm/visionscarto-world-atlas@1/world/50m.json").then(d => d.json());
const land = topojson.feature(world, world.objects.land);
```

<img src="img/land.png" width=480>

<img src="img/countries.png" width=480>



## Credits

The hard work has been done by the team
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "visionscarto-world-atlas",
"version": "0.1.0",
"version": "1.0.0",
"description": "Derived from mbostock's world-atlas: Pre-built TopoJSON from Natural Earth.",
"license": "BSD-3-Clause",
"homepage": "https://github.com/Fil/visionscarto-world-atlas",
Expand All @@ -11,6 +11,6 @@
],
"repository": {
"type": "git",
"url": "https://github.com/Fil/visionscarto-world-atlas.git"
"url": "git+https://github.com/Fil/visionscarto-world-atlas.git"
}
}

0 comments on commit 5f14827

Please sign in to comment.