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

True antimeridian cutting #218

Open
asinghvi17 opened this issue Sep 26, 2024 · 0 comments
Open

True antimeridian cutting #218

asinghvi17 opened this issue Sep 26, 2024 · 0 comments

Comments

@asinghvi17
Copy link
Member

asinghvi17 commented Sep 26, 2024

I have a feeling that spherical geometry can make this really easy.

Below are some resources as to how you can do this:

https://www.movable-type.co.uk/scripts/latlong.html

https://www.movable-type.co.uk/scripts/latlong-vectors.html#intersection

Algorithm considerations

When looking at the plate-carree projection, and most projections really, there are two major discontinuities. One is the seam at the antimeridian, and the other is the zero-to-180 stretching at each pole.

Antimeridian cutting is itself relatively straightforward, but we would also want to somehow fix the polar issue. Maybe with a dynamic resampling at different angles around the same point? Points within some radius of the pole could also receive this treatment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant