-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geoTransverseProjection? #157
Comments
A much simpler solution:
Should we add it to https://github.com/d3/d3-geo/blob/master/README.md#projection_angle ? |
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. |
Yes, I guess it should be requalified as a bug of projection.angle |
The issue seems to lie in clipAntimeridianInterpolate which takes large strides along the antimeridian line. This doesn't work well later with clipExtent. A way to fix it is to take smaller steps; but as it adds intermediate points, it breaks about a dozen unit tests which expect an exact path, and makes a heavier SVG path.
|
It’s pretty easy to do generically:
The text was updated successfully, but these errors were encountered: