Mike Bostock
Mike Bostock
Related, it seems that string concatenation (string +=) is now faster than _array_.join, so perhaps [PathString](https://github.com/d3/d3-geo/blob/master/src/path/string.js) should be reimplemented. See also d3/d3-path#9.
I started back in mid 2014 but I haven’t had time to work on it since. 😦 Here are two examples: https://bl.ocks.org/mbostock/e2a20d86124693ef0f93 https://bl.ocks.org/mbostock/e48a00d4db5c3b042145
That worked for Atlantis, too: https://observablehq.com/@d3/atlantis Maybe it was just Mercator that needed this more elaborate solution because of its automatic clipping behavior.
If you can’t do this with SVG attributes then I think you might need to reverse the path.
Yep, an issue of syntax and abstraction. I would love to revisit the composable geographic projection pipeline idea. I wonder if there is some progress to be made there.
I ported the implementation to a notebook: https://observablehq.com/@d3/petroff-quincuncial
That’s super cool, @jrus!
There’s also the case where you have a MultiPolygon and all the resulting polygons are empty, which should be treated as a Sphere if the input MultiPolygon was non-empty.
Related #33, *node*.name.
I’m not sure we want to make *node*.id part of the official API; we might want *node*.name instead. I think this should be reconsidered as part of the effort to...