shepa006

connecting to a WFS using python (or arcpy)

Discussion created by shepa006 on Feb 2, 2011
Latest reply on May 9, 2012 by donbrown44
Does anyone have a sample of how to connect to a WFS in a Python script? I can use arcpy within ArcMap if I have the WFS in my map as a layer (which is really using the layer for the geoprocessing). But I want to be able to automate some tasks and therefore not have to run ArcMap. Basically I'm hoping that there is a way to set something like:
wfs = "http://server/MapServer/WFSServer?VERSION=x.x&TABLE=name"
so that I could then reference the variable for geoprocessing.

Thanks.

Outcomes