[Pywps-commits] r537 - in trunk/pywps: Parser Process WPS

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jul 22 16:19:03 CEST 2008


Author: jachym
Date: 2008-07-22 16:19:03 +0200 (Tue, 22 Jul 2008)
New Revision: 537

Modified:
   trunk/pywps/Parser/Execute.py
   trunk/pywps/Process/InAndOutputs.py
   trunk/pywps/Process/Process.py
   trunk/pywps/WPS/DescribeProcess.py
   trunk/pywps/WPS/Response.py
Log:
minor fixes

Modified: trunk/pywps/Parser/Execute.py
===================================================================
--- trunk/pywps/Parser/Execute.py	2008-07-22 14:09:17 UTC (rev 536)
+++ trunk/pywps/Parser/Execute.py	2008-07-22 14:19:03 UTC (rev 537)
@@ -158,7 +158,8 @@
                     outputs[identifier] = {}
                 except IndexError:
                     raise self.wps.exceptions.MissingParameterValue("Identifier")
-                # FIXME Abstract, Title are not supported yet
+                # Abstract, Title are not supported yet
+                # is it necessary ?
 
                 outputs[identifier]["mimetype"] = \
                     outputNode.getAttributeNS("*","mimeType") 
@@ -216,7 +217,7 @@
 
             parsedDataInputs[identifier] = {"value":None, "attributes":{}}
 
-            # FIXME Title and Abstract are only mandatory and not necessary:
+            # Title and Abstract are only mandatory and not necessary:
             # skipping, not supported yet
             
             # formchoice
@@ -255,7 +256,7 @@
         # optional attributes
         #
 
-        # FIXME mimeType, encoding, schema - not yet supported
+        # mimeType, encoding, schema - not yet supported
         
         # method
         attributes["method"] = \

Modified: trunk/pywps/Process/InAndOutputs.py
===================================================================
--- trunk/pywps/Process/InAndOutputs.py	2008-07-22 14:09:17 UTC (rev 536)
+++ trunk/pywps/Process/InAndOutputs.py	2008-07-22 14:19:03 UTC (rev 537)
@@ -90,7 +90,7 @@
                 value = str(value)
             elif self.dataType == types.IntType:
                 value = int(value)
-            #FIXME other types missing
+            #TODO other types missing
         except (ValueError), e:
             raise InvalidParameterValue(value,e)
 

Modified: trunk/pywps/Process/Process.py
===================================================================
--- trunk/pywps/Process/Process.py	2008-07-22 14:09:17 UTC (rev 536)
+++ trunk/pywps/Process/Process.py	2008-07-22 14:19:03 UTC (rev 537)
@@ -164,7 +164,7 @@
 
     def addBBoxInput(self,identifier,title,abstract=None,
                 metadata=[],minOccurs=1,maxOccurs=1,
-                crss=[""]): #FIXME some default crss
+                crss=["EPSG:4326"]):
         self.inputs[identifier] = InAndOutputs.BoundingBoxInput(self,
                 identifier,title,abtract=abstract,
                 metadata=metadata,minOccurs=minOccurs,maxOccurs=maxOccurs,

Modified: trunk/pywps/WPS/DescribeProcess.py
===================================================================
--- trunk/pywps/WPS/DescribeProcess.py	2008-07-22 14:09:17 UTC (rev 536)
+++ trunk/pywps/WPS/DescribeProcess.py	2008-07-22 14:19:03 UTC (rev 537)
@@ -195,8 +195,6 @@
                         valrecord["value"] = val
         except AttributeError:
             pass
-        # FIXME
-        # value reference
 
         return
 

Modified: trunk/pywps/WPS/Response.py
===================================================================
--- trunk/pywps/WPS/Response.py	2008-07-22 14:09:17 UTC (rev 536)
+++ trunk/pywps/WPS/Response.py	2008-07-22 14:19:03 UTC (rev 537)
@@ -98,7 +98,7 @@
             dataType["type"] = "boolean"
             dataType["reference"] = "http://www.w3.org/TR/xmlschema-2/#boolean"
         else:
-            # FIXME To be continued...
+            # TODO To be continued...
             dataType["type"] = "string"
             dataType["reference"] = "http://www.w3.org/TR/xmlschema-2/#string"
             pass



More information about the Pywps-commits mailing list