Changeset 107 for trunk/zoo-services/ogr/base-vect-ops-py
- Timestamp:
- Feb 2, 2011, 1:39:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-services/ogr/base-vect-ops-py/cgi-env/ogr_sp.py
r106 r107 7 7 doc=libxml2.parseMemory(my_wfs_response,len(my_wfs_response)) 8 8 ctxt = doc.xpathNewContext() 9 res=ctxt.xpathEval("/*/*/*/*/*[local-name()='Polygon' or local-name()='MultiPolygon' or local-name()='Point' or local-name()='MultiPoint' or local-name()='MultiLine string' or local-name()='MultiLinestring' ]")9 res=ctxt.xpathEval("/*/*/*/*/*[local-name()='Polygon' or local-name()='MultiPolygon' or local-name()='Point' or local-name()='MultiPoint' or local-name()='MultiLineString' or local-name()='LineString' ]") 10 10 geometry=[] 11 11 try: … … 91 91 def BufferPy(conf,inputs,outputs): 92 92 try: 93 bdist= int(inputs["BufferDistance"]["value"])93 bdist=float(inputs["BufferDistance"]["value"]) 94 94 except: 95 95 bdist=10
Note: See TracChangeset
for help on using the changeset viewer.