File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ``` {code-cell} ipython3
2- ---
3- nbsphinx: hidden
4- ---
5- import folium
6- import folium.plugins
7- ```
8-
91# TimestampedWmsTileLayers
102
113Add a time dimension to a WMS tile layer.
124
5+ Note that we don't render the output in this example, because the web service
6+ used here is not always available.
7+
138### Exploring the WMS with OWSLib
149
15- ``` {code-cell} ipython3
10+ ```
1611from owslib.wms import WebMapService
1712
1813
@@ -25,7 +20,7 @@ print("\n".join(web_map_services.contents.keys()))
2520
2621### Layer metadata
2722
28- ``` {code-cell} ipython3
23+ ```
2924layer = "CRW_SST"
3025wms = web_map_services.contents[layer]
3126
@@ -46,7 +41,7 @@ if style not in wms.styles:
4641
4742### Map with WmsTileLayer and TimestampedWmsTileLayers
4843
49- ``` {code-cell} ipython3
44+ ```
5045m = folium.Map(location=[-40, -50], zoom_start=5)
5146
5247wms_tile_layer = folium.WmsTileLayer(
You can’t perform that action at this time.
0 commit comments