hi all thanks for answering, I want to do and know is how to download a
standard layer with wfs gml not see how to do it not in the documentation, I
get the following errors of GeoServer and others of python.
*Error 1:*
pydev debugger: starting
/usr/local/lib/python2.6/dist-packages/OWSLib-0.3.2beta-py2.6.egg/owslib/feature/wfs100.py:60:
DeprecationWarning: object.__new__() takes no parameters
obj=object.__new__(self, url, version, xml)
*Error 2:*
File "/usr/local/lib/python2.6/dist-packages/pywps/processes/owslibwfs.py",
line 6, in <module>
segmentos =wfs.getfeature(typename="univalle:vias", method='{
http://www.opengis.net/wfs}Get',format='{http://www.opengis.net/wfs}GML2')
TypeError: getfeature() got an unexpected keyword argument 'format'
*Error 3:*
execfile(file, globals, locals) #execute the script
File
"/usr/local/lib/python2.6/dist-packages/pywps/processes/owslibwfs.py", line
8, in <module>
segmentos = wfs.getfeature(typename=["univalle:vias"] )
File
"/usr/local/lib/python2.6/dist-packages/OWSLib-0.3.2beta-py2.6.egg/owslib/feature/wfs100.py",
line 207, in getfeature
raise ServiceException, str(se.text).strip()
owslib.feature.wfs100.ServiceException: No such operation WFS 1.0.0
GetFeaturetypename=univalle:vias
*wfs = WebFeatureService( ** that goes in here. )*
thanks for your answers and help
Ricardo Rodríguez
Univalle
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community