Process automation modeling |
SuperMap iPortal has a built-in Processing automation modeling App for visually building processing automation models. In iPortal home page, click "Resource Center" > "GPA Model" to enter GPA model resource page, and click "Create GPA model" button on the right (login required) to enter Processing automation modeling App page; Through this WebApp you can: visually drag and drop and connect tools to build a model that meets your work requirements, run the model step by step, run to your selected tools to verify the correctness of the processing automation process, and run the entire model to automate the spatial data processing and analysis process.
Before you can use Processing Automation Modeling, you need to add a server from the Administration > Servers > Server List page of iPortal and Specify the server as a managed server. After adding a hosted server, the administrator needs to configure GPA shared storage and specify a storage path for the data.
The Data Catalog in GPAModelBuilder has access to the data in the portal and can be dragged and dropped directly into the modeling process to participate in the calculations, see: drag and drop data.
You can add processing automation tools through the following methods:
Drag-and-drop to canvas processing automation tools support movement and manipulation of:
A model usually needs to be composed of multiple automated processing tools, and connections need to be established between the tools. The main operation for drawing connections is:
When the model contains multiple tools with the same name or the tool name does not match the usage scenario, you can click the left mouse button to select the tool node and select "Rename" in the right-click menu to rename the tool.
If the visual modeling page is cluttered with too many tool parameters or too many tools, you can right-click on a blank area of the canvas and select the "Collapse All" button to collapse the tool parameters. The collapsed tools also support movement.
At the same time, You can also select "Horizontal Auto Layout" or "Vertical Auto Layout" from the menu on the right side of the canvas to tidy up the canvas layout. By doing so, you can optimize the display of the visual modeling.
When the model is complex and the business process is not easy to understand, you can add annotations to the model elements to improve the readability of the model. To add annotations to the model, simply right-click on a blank area of the canvas and select "Create Annotation". Alternatively, you can add annotations to a single tool node by clicking the left mouse button to select the tool node and selecting "Create Annotation" in the right-click menu. The annotation added to a tool node can be moved together with the tool node when it is moved.
Alternatively, the xml template for visual modeling can be imported into the canvas for modeling via File-> Import Model.
To specify the parameter settings for the tool in the model, you need to click on the input node with the left mouse button, and then the parameter filling comment will appear in the parameter field on the right side of the page. Simply enter the parameter values that meet the formatting requirements according to the comments. After all the required parameters of the current tool are filled in, the function node of the tool will change from gray to blue, so you can quickly check the filling in of the model parameters according to the color of the outer node.
If you don't want to use the default configuration of the operator parameter, then you can customize the operator parameter to suit your needs. See: customized operator parameters.
Using Apache Spark for distributed analysis of spatial big data, you can configure the cluster environment parameters before running the model in the following two ways:
When the big data tool is used in the modeling page of processing automation service, click the tool node to switch the option of "spark Environment Settings "in the parameter panel, set the corresponding parameters, and connect the cluster and submit the processing automation task when running the model.
To reuse cluster environment parameters, you can configure global Spark environment parameters. The specific steps are as follows:
Cluster environment parameters include the following four parts:
It is possible to run part of the model or the whole model in the modeler.
A successful run will be indicated by a green success message in the upper right corner of the tool node, and vice versa by a red failure message in the upper right corner of the tool node. During the execution of the model, the execution log information can be viewed in real time through the execution log window at the bottom of the page. In addition, the execution log window can be used to filter different levels of information for quick diagnosis of model error.
Processing automation modeling supports publish custom models to the server and import and export models to support model reuse.
The processing modeler allows the processing automation model to be saved as a tool in the server-side processing automation tool list, thus allowing the model to be used multiple times for processing spatial big data without having to repeat the modeling effort, The main operations for publishing are as follows:
Note: To ensure the security of the tool's use, the model published as a custom tool must have been successfully run.
Add successfully, click "Model", the added tool can display in the tool list under the list of custom tools, drag and drop with the mouse to the canvas can begin to reuse, the specific use of the previous steps can refer to.
You can also export the visual modeling template locally by File-> Export Model, and load the visual modeling into the canvas again by importing the model when you need to use and edit it again.
After publish a model as a custom tool, you can edit its parameters to make them more intuitive and relevant to the tool's usage scenario.
Model metadata, important information that describes the model, illustrates how the model is used. Detailed model metadata allows others to fully understand the scope of application of the model to reduce barriers to knowledge sharing and application sharing. The contents of model metadata include:
Model metadata can be viewed and edited by following the steps below:
After creating the model, click the "Save" button on the upper right corner to save the created model.
Clicking the "Share" button on the upper right corner, you can set the sharing settings for the created GPA model, and the supported sharing scopes are: private, public, specified departments, specified groups and specified users can retrieve, download/execute or edit.
Click the "Task Center" button in the upper right corner, you can query the list of current user data analysis tasks, track model execution in real time, and view the progress, time consumption, details and log information of historical tasks. In addition, you can click the "Restore" button to restore the original parameters of the model to the canvas through the execution log for debugging execution.
Click the "Skin" button in the upper right corner to switch themes. The system provides four default themes: blue theme, orange theme, dark orange theme and dark red theme.