0

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.

GforGIS
  • 3,126
  • 3
  • 19
  • 38
GBh
  • 381
  • 1
  • 3
  • 17

1 Answers1

1

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

BradHards
  • 12,881
  • 2
  • 37
  • 70
  • actually all WFS implementations follow the standard - otherwise they aren't a WFS :-) – Ian Turton Jul 31 '13 at 07:09
  • I agree, but "follow" is a lot more subjective than we'd all like :-) – BradHards Jul 31 '13 at 09: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 (https://fedorahosted.org/suds/) – nmtoken Mar 29 '14 at 21:19