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

Support non-anti-meridian split on alternate projections #11180

Open
mourner opened this issue Oct 26, 2021 · 4 comments
Open

Support non-anti-meridian split on alternate projections #11180

mourner opened this issue Oct 26, 2021 · 4 comments

Comments

@mourner
Copy link
Member

mourner commented Oct 26, 2021

For conical projections where center is close to the anti-meridian, such as Albers or Lambert for Alaska or New Zealand, having the divide across the anti-meridian is a significant user experience problem and could be a blocker for adoption.

We should find a way to move the split to the opposite side of the world from projection center so that it doesn't interfere with interaction around the target area. Not sure what's the best approach for this yet technically, but one idea is to use one more "world copy" on the left side of the anti-meridian, and modify tile clipping masks for tiles close to the longitude opposite from projection center.

image

@ansis
Copy link
Contributor

ansis commented Oct 26, 2021

Not sure what's the best approach for this yet technically, but one idea is to use one more "world copy" on the left side of the anti-meridian, and modify tile clipping masks for tiles close to the longitude opposite from projection center.

Sounds good to me. This same approach would let us put the center of the winkelTripel, etc, at a different longitude

@johnlaur
Copy link
Contributor

Moving the "split" is equivalent to a pre-projection global offset (rotation) of longitude. I don't know enough about mapbox internals in this area to know if that makes it easier or not or how it relates to any future globe/3d surface work . Thanks again so much for the alternate projection work and for taking a look at this use case.

@asheemmamoowala asheemmamoowala removed this from the projections milestone Dec 15, 2021
@tayalav
Copy link
Contributor

tayalav commented Jan 25, 2022

This is a great point! I've just got some feedback from our users that's they couldn't use projections because we cut a small part of the continent on the east side
Screenshot 2022-01-24 at 20 13 06
.

@stevage
Copy link
Contributor

stevage commented Feb 15, 2022

Thanks. I just came here to raise this issue. I'm based in Australia, and it's very noticeable that of the 6 projections now available, 4 of them put Australia at the edge of the world. I can't really see myself making much use of them for that reason (just confirming your suspicions about blockers to adoption).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
6 participants