You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
It’d be nice if this library were easier to use when saving spherically-clipped GeoJSON. For example:
https://beta.observablehq.com/d/d706c7f9c6e46907
The tedious parts are:
You need to wrap the d3.geoClipPolygon instance with an object that has a stream method.
You need to compose the d3.geoClipPolygon instance with streams that transform from degrees to radians and then back again.
Part of me wonders if it’s worth revisiting a more composable geographic projection pipeline…
(Also, I think d3.geoProject sometimes breaks polygon semantics, but that’s a separate issue.)
The text was updated successfully, but these errors were encountered: