Quickstart¶
This is a compact example that can be used as a starting point. You will need to re-run the last cell to refresh the map after moving outside of the initialized zone.
[ ]:
from ipyleaflet import Map
from birdy import IpyleafletWFS
# Initialize the connection
url = "http://boreas.ouranos.ca/geoserver/wfs"
version = "2.0.0"
boreas_wfs = IpyleafletWFS(url, version)
# Create and render map
m = Map(center=(46.42, -64.14), zoom=8)
m
[ ]:
# List available layers
boreas_wfs.layer_list
[ ]:
# Build the WFS layer
boreas_wfs.build_layer(layer_typename="public:HydroLAKES_poly", source_map=m)