-
Notifications
You must be signed in to change notification settings - Fork 95
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 Mercator.GOOGLE and cartopy.crs.epsg() projections #77
Comments
Hmm. This library predates I can naively add support for the Google projection, probably. It irks me that |
Hi, closing this issue now because I am tracking these feature requests in #146 and #147. Thanks for reporting! I don't have a timeline yet for these things, but they're pretty high on the list of priorities for after this next |
A special |
I'm trying to add a basemap in the same fashion as #48.
I'm using GeoPandas data (gdf1 to gdfX) with local crs to compose a map and add a background map from web tiles.
The problem is with Mercator() that centers the coordinate system to the center of the plot and messes up the boundaries (ax.axis returns "garbage").
Since we're talking about webtiles, that always use EPSG 3857, there should be a way to directly specify that projection.
Maybe you already know, but I found that cartopy has the Mercator.GOOGLE projection that could be used for this goal.
Using directly that class doesn't work because of the "load" method missing.
Manually passing the parameters works:
It would be nice to have a convenience class for this directly in geoplot.
There's also a cartopy.crs.epsg() function to create the projection from an arbitrary EPSG (I'm thinking about outputting the maps in the original CRS), supporting it could open to many possibilities.
The text was updated successfully, but these errors were encountered: