Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@financial-times/annotated-atlas
Advanced tools
This is a fork of topojson/world-atlas that merges in topojson/us-atlas and other shapefiles.
It leaves all the original shapefile metadata attached, meaning the resulting files are not optimised for web-use but are much easier to use, particularly in non-production settings.
In a browser (using d3-geo and Canvas), bl.ocks.org/3783604:
<!DOCTYPE html>
<canvas width="960" height="500"></canvas>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://unpkg.com/topojson-client@3"></script>
<script>
var context = d3.select("canvas").node().getContext("2d"),
path = d3.geoPath(d3.geoOrthographic(), context);
d3.json("https://unpkg.com/world-atlas@1/world/110m.json", function(error, world) {
if (error) throw error;
context.beginPath();
path(topojson.mesh(world));
context.stroke();
});
</script>
In Node (using d3-geo and node-canvas), bl.ocks.org/885fffe88d72b2a25c090e0bbbef382f:
var fs = require("fs"),
d3 = require("d3-geo"),
topojson = require("topojson-client"),
Canvas = require("canvas"),
world = require("./node_modules/world-atlas/world/110m.json");
var canvas = new Canvas(960, 500),
context = canvas.getContext("2d"),
path = d3.geoPath(d3.geoOrthographic(), context);
context.beginPath();
path(topojson.mesh(world));
context.stroke();
canvas.pngStream().pipe(fs.createWriteStream("preview.png"));
A TopoJSON topology containing two 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, version 2.0.0. The land boundary is computed by merging countries, ensuring a consistent topology.
# world.objects.countries
# world.objects.land
Equivalent to world/110m.json, but at 1:50m medium scale.
# world.objects.countries
# world.objects.land
FAQs
Pre-built TopoJSON with additional properties
The npm package @financial-times/annotated-atlas receives a total of 1 weekly downloads. As such, @financial-times/annotated-atlas popularity was classified as not popular.
We found that @financial-times/annotated-atlas demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.