-
Notifications
You must be signed in to change notification settings - Fork 362
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
Refactor basemap module on top of xyzservices #854
Comments
Great idea for having a unified place for XYZ tiles rather than managing them in each individual package. I look forward to using it in geemap and leafmap. Would A lot of WMS services can be found at https://apps.nationalmap.gov/services |
-> geopandas/xyzservices#49 (comment) tldr: Yes, it sounds like a good addition. |
@martinRenou, @davidbrochart If you guys agree I would like to work on this. |
I don't know if @giswqs is already on it? |
I have not started yet. Maybe @sackh can refactor and basemap module first. Once his pull request is merged, I can work on the toolbar and basemap GUI. |
I have the below questions:
|
You can map the same functionality onto Take
The object itself has an empty attribute So instead of
I guess you can map those onto |
Thanks, @martinfleis |
Hi all,
I'd like to start a focused discussion as a follow-up of geopandas/contextily#153 and #741.
We have built a new package called
xyzservices
to serve as a unified place for XYZ tile management. The idea behind this is that other packages will depend on that instead of having their own system.In the case of
ipyleaflet
, that means refactoringbasemaps
module in a way that does not contain any hard-coded data and only wraps what ``xyzservices` provides.From a quick look, it could take the form of replacing your
Bunch
withxyzservices.providers
Bunch and of small changes inipyleaflet/ipyleaflet/leaflet.py
Line 36 in c969f79
xyzservices
API (to get the proper form of URL (xref geopandas/xyzservices/pull/60) and attribution).xyzservices
itself does not have any dependencies which makes it a non-problematic dependency.Some of you also mentioned you wanted the JSON stored in
share
. That also comes withxyzservices
if you have a use case for that.I am happy to do any changes in
xyzservices
needed to make it as useful for you as possible if that allows centralising maintenance of providers in one place.What are your thoughts on this?
The text was updated successfully, but these errors were encountered: