hello all, I have problems with owslib python library as megenera the
following errors:
*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 <http://www.opengis.net/wfs%7DGet>',format='{
http://www.opengis.net/wfs}GML2 <http://www.opengis.net/wfs%7DGML2>')
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
is like you can not read data from GeoServer, I recommend working with
someone as it does owslib downloads your files or getFeature
work with the version 2.02 of GeoServer
thanks for your answers
Ricardo Rodríguez
Univalle
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users