Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

Thanks

share|improve this question
add comment

1 Answer

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

share|improve this answer
    
actually all WFS implementations follow the standard - otherwise they aren't a WFS :-) –  iant 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 at 21:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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