Feature request: add support for WMS and WMTS
Description of the desired feature
This is a feature request to add support for plotting WMS and WMTS map data, similar to the already supported for XYZ tiles.
Perhaps OWSLib could be used to enable this?
The GMT.jl Julia package supports WMS as well.
Are you willing to help implement and maintain this feature?
Maybe (skill and knowledge might be a limiting factor)
Also see
https://forum.generic-mapping-tools.org/t/using-wms-or-wmts-source-with-pygmt/4786
👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.
These services are out of my knowledge. What do you say @weiji14?
I'd prefer it if we could get WMS/WMTS integration working through the current fig.tilemap interface. There seems to be some interest at https://github.com/geopandas/xyzservices/issues/49#issuecomment-891856934 (xyzservices is a dependency of contextily, used by fig.tilemap), so it might be possible to get this working out of the box if upstream supports it.
One thing to note with WMS/WMTS is that there are more variations in terms of projection systems, so it can be a little trickier to integrate with, compared to XYZ tilemaps which are typically only EPSG:3857. That said @rhkarls, you are welcome to try and get a high-level function working.
This might be a good reference on what an API for plotting WMS layers could look like - https://eomaps.readthedocs.io/en/v8.2.1/api_webmaps.html