コード例 #1
0
ファイル: execute.py プロジェクト: KatiRG/pyramid-phoenix
 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
ファイル: execute.py プロジェクト: rmoorman/pyramid-phoenix
 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
ファイル: wpsprocess.py プロジェクト: KatiRG/pyramid-phoenix
 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
ファイル: list.py プロジェクト: KatiRG/pyramid-phoenix
 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
ファイル: done.py プロジェクト: rmoorman/pyramid-phoenix
 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)