connecting to a WFS using python (or arcpy)

2662
1
02-02-2011 05:51 AM
JustinShepard
Occasional Contributor II
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.
Tags (2)
0 Kudos
1 Reply
DonaldBrown
Occasional Contributor
Justin, did you ever figure out a way to implement this in your python script. I am looking to do the same thing, but I can't find any good examples.
0 Kudos