geopandas / xyzservices

Source of XYZ tiles providers
https://xyzservices.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
169 stars 32 forks source link

Gallery of tiles #61

Closed martinfleis closed 2 years ago

martinfleis commented 3 years ago

It would be nice to have a gallery similar to https://ipyleaflet.readthedocs.io/en/latest/api_reference/basemaps.html. It can be used to check tiles (xref #59) and would provide a nice overview to users. Ideally automatically generated.

giswqs commented 3 years ago

Leafmap has a linked_maps function that can be helpful for creating the basemap gallery.

linked_maps

giswqs commented 3 years ago

I just added a gallery of basemaps in leafmap.

Try it out: https://gishub.org/basemap-gallery Notebook: https://github.com/giswqs/leafmap/blob/master/examples/notebooks/27_basemap_gallery.ipynb

https://user-images.githubusercontent.com/5016453/128373240-4e0625d9-261e-4f4a-b5bf-a5e044d3c8dd.mp4

martinfleis commented 3 years ago

That is so cool 🤩! I have to admit that it is a bit too heavy for my laptop to play with it :).

giswqs commented 3 years ago

Yeah, it can take a while to load. There are 200+ basemaps available, and that example only uses 100. You can easily specify the number of basemaps to show in the gallery.

HaudinFlorence commented 2 years ago

I am currently working on producing a webpage showing a gallery of the basemaps from the .json file (a PR will be soon submitted). Here is a screenshot of the current state of my work.

leaflet_catalog_screenshot

martinfleis commented 2 years ago

@HaudinFlorence Very nice! If we could plug this in out sphinx-generated docs, that would be amazing!

HaudinFlorence commented 2 years ago

It seems that Hydda and HikeBike's basemaps are not available anymore. I also did not manage to display some of HERE's basemaps : both an app_id and an app_code are required but some of the basemaps can be displayed without any code. For the other ones, I can't displayed them. As a question, are basemaps from HERE and HEREv3 really different? At first sight they are looking rather similar.

martinfleis commented 2 years ago

Just skip them. Hydda is known to be broken, but it was supposed to be temporary breakage. HERE are the same, just the API is different if I remember correctly.

martinfleis commented 2 years ago

Closed by #114