WFS in ArcGIS API for Python

622
1
09-26-2019 04:23 PM
AmosBennett1
New Contributor

I'm trying to load a web feature service (WFS) in using ArcGIS API for Python within Juypter Notebooks. I've been able to do it using the featurelayer call for Map Server and WMS but not WFS yet.

Anyone know if it's possible?

1 Reply
PullarDavid
New Contributor II

ESRI documentation discusses support for OGC sources in ArcGIS Online; they have links to examples of WFS, WMS in ArcGIS Online. You would expect to be able to display and access these examples in a Notebook. But WebView does not display the OGC layers.

Example for USGS Asbestos locations:

asbestos_wfs_webmap = gis.content.get('4d852e3e8f65485688def3211bf7f277')

from arcgis.mapping import WebMap
webview_obj = WebMap(asbestos_wfs_webmap)
webview_obj