I want to connect to WFS using either python or C#, it would be great if anyone can tell me how to connect and extract features from the service. I'm very new to this. Any help on this is most welcome.



Most WFS implementations support a standard interface - you GetCapabilities, and then do the query you need (usually with KVP, unless you are using a SOAP toolkit). Its pretty much per the standard.

If you need an example, perhaps the QGIS implementation (in C++, but translation to C# or python should be achievable) might be informative: https://github.com/qgis/Quantum-GIS/tree/master/src/providers/wfs

  • actually all WFS implementations follow the standard - otherwise they aren't a WFS :-) – Ian Turton Jul 31 '13 at 7:09
  • I agree, but "follow" is a lot more subjective than we'd all like :-) – BradHards Jul 31 '13 at 9:15
  • Hi Brad and iant , thanks for the reply, is there any ArcGIS example available, I'm very new to this, I would like to make a connection first and for that I looked online but found no C# or Python example. – GBh Jul 31 '13 at 12:55
  • For a python SOAP interface you'll probably want to use SUDS (fedorahosted.org/suds) – nmtoken Mar 29 '14 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.