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

set_extent over 360 longitudes #1633

Open
qdnse opened this issue Aug 13, 2020 · 1 comment
Open

set_extent over 360 longitudes #1633

qdnse opened this issue Aug 13, 2020 · 1 comment

Comments

@qdnse
Copy link

qdnse commented Aug 13, 2020

Description

For a routing purpose, i need to plot a route which do more than a world tour (360+ in longitudes). But, you can't set an extent more than -180/180 longitude.

Is there any way to create a map similar to the next one, using the set_extent method like this : set_extent([-180, 540, -90, 90])
map

Thanks for the amazing work done!

@dopplershift
Copy link
Contributor

I don't know that any of the projections are set up to even handle that--that's PROJ limitation. Everything I can think of is going to map a longitude of 470 to the same location as longitude 110.

The best I can come up with is to plot without a projection (straight matplotlib) and plot two copies of the map information, with one having all longitudes offset by 360.

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

2 participants