示例#1
0
 def __init__(self, request):
     self.wps_id = request.params.get("wps")
     self.wps = WebProcessingService(url=wps_url(request, self.wps_id))
     identifier = request.params.get("process")
     # TODO: need to fix owslib to handle special identifiers
     self.process = self.wps.describeprocess(identifier)
     super(ExecuteProcess, self).__init__(request, name="processes_execute", title="")
示例#2
0
 def __init__(self, request):
     self.wps_id = request.params.get('wps')
     self.wps = WebProcessingService(url=wps_url(request, self.wps_id), verify=False)
     identifier = request.params.get('process')
     # TODO: need to fix owslib to handle special identifiers
     self.process = self.wps.describeprocess(identifier)
     super(ExecuteProcess, self).__init__(request, name='processes_execute', title='')
示例#3
0
 def __init__(self, request):
     super(ChooseWPSProcess, self).__init__(
         request,
         name='wizard_process',
         title='Choose WPS Process')
     from owslib.wps import WebProcessingService
     self.wps = WebProcessingService(wps_url(request, self.wizard_state.get('wizard_wps')['identifier']))
     self.title = "Choose WPS Process of {0}".format(self.wps.identification.title)
示例#4
0
 def __init__(self, request):
     super(ComplexInputs, self).__init__(
         request, name='wizard_complex_inputs',
         title="Choose Input Parameter")
     from owslib.wps import WebProcessingService
     self.wps = WebProcessingService(wps_url(request, self.wizard_state.get('wizard_wps')['identifier']), verify=False)
     self.process = self.wps.describeprocess(self.wizard_state.get('wizard_process')['identifier'])
     self.title = "Choose Input Parameter of {0}".format(self.process.title)
示例#5
0
 def __init__(self, request):
     self.wps_id = request.params.get('wps')
     self.wps = WebProcessingService(url=wps_url(request, self.wps_id))
     super(ProcessList, self).__init__(request, name='processes_list', title='')
示例#6
0
 def __init__(self, request):
     super(Done, self).__init__(
         request, name='wizard_done', title="Done")
     self.description = "Describe your Job and start Workflow."
     from owslib.wps import WebProcessingService
     self.wps = WebProcessingService(wps_url(request, self.wizard_state.get('wizard_wps')['identifier']), verify=False)
示例#7
0
 def __init__(self, request):
     super(LiteralInputs, self).__init__(request, name='wizard_literal_inputs', title="Literal Inputs")
     from owslib.wps import WebProcessingService
     self.wps = WebProcessingService(wps_url(request, self.wizard_state.get('wizard_wps')['identifier']))
     self.process = self.wps.describeprocess(self.wizard_state.get('wizard_process')['identifier'])
     self.title = "Literal inputs of {0}".format(self.process.title)