Skip to content
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

d3.geoPath draws small CCW shapes in the wrong order #141

Closed
Fil opened this issue Jun 10, 2018 · 1 comment
Closed

d3.geoPath draws small CCW shapes in the wrong order #141

Fil opened this issue Jun 10, 2018 · 1 comment
Assignees

Comments

@Fil
Copy link
Member

Fil commented Jun 10, 2018

See https://beta.observablehq.com/@fil/small-circle-test : for a very small CCW geoCircle(), the resulting map is a small circle, when it should be "the whole earth except the circle".

A (possibly related?) bug is that the centroid of that shape is not at the antipode (where it's supposed to be). The threshold where things go south is not the same for the two bugs.

(My fear is that when we fix this bug, many maps that were ok thanks to that bug will explode.)

All in all, I think what we need here is a tool that will marshall any geojson object into a "reasonably usable" form.

References: #140 #138 (comment)

@Fil
Copy link
Member Author

Fil commented Dec 16, 2022

This is now covered by https://observablehq.com/@fil/rewind

@Fil Fil closed this as completed Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant