Advertisement
Guest User

PyWPS process part

a guest
May 22nd, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.97 KB | None | 0 0
  1. def __init__(self):
  2.  
  3.         # Process initialization
  4.         WPSProcess.__init__(self,
  5.                 identifier = "knn_qgis",
  6.                 title="grass_pokus",
  7.                 abstract="""ess of PyWPS, returns
  8.                the same file, it gets on input, as the output.""",
  9.                 version = "1.0.0",
  10.                 storeSupported = "true",
  11.                 statusSupported = "true",
  12.                 grassLocation = True,
  13.  
  14.                 )# Adding process outputs
  15.        
  16.    
  17.      self.vystupOut = self.addComplexOutput(
  18.                         identifier="result",
  19.                         title="composite picture",
  20.                         useMapscript=True,
  21.                         formats=[
  22.                         {'mimeType': 'image/tiff'},
  23.                         {'mimeType': 'image/geotiff'},
  24.                         {'mimeType': 'application/geotiff'},
  25.                         {'mimeType': 'application/x-geotiff'}]
  26.                         )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement