Hi there,
I am trying to create add content to ArcGIS Online using a Python script via the ArcGIS notebooks. Can you add external WFS/WMS using the below?
import arcgis
from arcgis.gis import GIS
gis = GIS("home")
data_path = r'This is the WFS URL'
HBSMR_Properties = {'title':'HBSMR Test2','tags':'test', 'type':'WFS'}
HBSMR_item = gis.content.add(item_properties=HBSMR_Properties, data = data_path)
It manages to add to my content but no features appear.
Thanks!
Joe
Hello Joseph,
I found this information that may assist you in your task: https://pro.arcgis.com/en/pro-app/latest/help/data/services/use-wfs-services.htm
Thank you!