Application example
This paper introduces the Geo-Processing Automation (GPA) Workflow by taking the production of the precipitation distribution map in April 2019 as an example.
Data Preparation
The data to be used for this example are:
- Meteorological Station Precipitation Data
- National Administrative Profile Data (.shp File)
- Provincial administrative and other data
Workflow
- Open the Precipitation _ Apr. UDB "Datasource.
- Click the New button in the Geo-Processing Automation (GPA) tab, and in the Geo-Processing Automation (GPA) window that opens, Add Import EXCEL, Dataset Projection Transformation, Ordinary Kriging interpolation, Extract all lines, Extract all polygons, import SHP, intersection and clipping in turn. The corresponding connection relationship is established, and the position of the tool in the canvas is adjusted, as shown in the following figure:
- Cut: When connecting, set the Result Data Settings of the Extract All Isolines as the source data, and import the SHPData Settings as Overlay Data;
- Intersection: When connecting, take the Result Data Settings of the Extract All Isoregions as the source data, and import the SHPData Settings as Overlay Data;
- DatasetParameter Settings: Select the Target Coordinate System consistent with the national administrative Footprint Data coordinate system, otherwise the subsequent execution of clipping and intersection will Failed to execute due to different coordinate systems. This is set to "China _ 2000".
- Ordinary KrigingParameter Settings:
- Source Dataset: Set the source dataset settings to Precipitation _ Apr _ P "point data.
- Parameter Settings: Interpolate Field Settings to "PrecipitationeAverage" and Scale Factor to 1;
- Result: Set Pixel Format to "Double" and Other Parameters to use the default value;
- Other Parameters: Use the default values for the parameters listed above.
- Extract All Isolines Parameter Settings: Set Isometry to 8, Smooth Method to B-Spline, and Smoothness to 2.
- Extract All Isoregion sParameter Settings: Set Isometry to 8, Smooth Method to B-Spline, and Smoothness to 2.
- Import SHP File: Select the path of the China _ R. SHP File.
- After setting the above parameters, click the "Check" button in the "Geo-Processing Automation (GPA)" tab, and the Output Window prompts "Geo-Processing Automation (GPA) passes the check and can be run."
- Clicking the Execute button in the Geo-Processing Automation (GPA) tab starts the sequential execution of functions in the specified sequence of workflows.
- If the model is found to have problems after executing Geo-Processing Automation (GPA), you can go through the Geo-Processing Automation (GPA) tab-& gt; Geo-Processing Automation (GPA) group-& gt Cancel button to cancel the model run in time.
- After the workflow is executed, superimpose the Result Data of clipping and intersection with the Existing Data for map matching to obtain the national average precipitation map in April as shown in the figure below.
- Click the Save As Tool "button in the Geo-Processing Automation (GPA) tab, set the grouping and Tool name of the Model tool in the pop-up dialog box, and click OK. You can view the saved Model tool in the toolbox and drag it to the canvas to reuse the model.
- Click the Publish Model "button in the Geo-Processing Automation (GPA) tab, fill in the Model Name and Model Grouping, select the iServerServer Address that you have logged in, Click Publish to publish the Geo-Processing Automation (GPA) model as a tool to The iServer can run the model at the same time, and calculate the average monthly precipitation from January to December according to the data of different months.
Caution: |
Related content
Geo-Processing Automation (GPA) Overview