A Process Design of Spatial Statistical Analysis Using SuperGIS Toolkit

SuperGIS Server is designed for giving the organizations with the ability to create, manage, integrate and publish the various types of GIS services. With SuperGIS Server, the spatial data and image in all types as well as GIS functions can be applied as GIS services in desktop, mobile and web applications over the Internet.

Besides basic functions like dynamic map, static map tile, data editing and so on, the newest SuperGIS Server 3.1a additionally supports function of publishing Geoprocessing Service to provide the custom websites in diverse projects with more professional analyses.

fa1_2013051040294297-aeb5-4911-8519-328aed4ddca2

To provide comprehensive and flexible geoprocessing function and meet diverse custom requirements, SuperGIS Toolkit in SuperGIS Desktop 3.1a allows users to define the combination from hundreds of basic processing functions. Meanwhile, according to users’ requirements, they can also purchase Analyst Extensions, including functional groups (e.g., 3D Analyst, Spatial Analyst, Network Analyst, and Spatial Statistical Analyst) which enable custom website to provide more professional analysis functions.

Building process design of Network Analyst by SuperGIS Toolkit was introduced before. This time, we utilize SuperGIS Toolkit introduce how to design process of Spatial Statistical Analysis.

Firstly, open SuperGIS Toolkit dialog in SuperGIS Desktop 3.1a. Secondly, click to expand folder nodes under Spatial Statistical Tools and you can see the contents in the picture below:

Spatial Statistical Tools contain Data Analysis subgroup and Kriging subgroup. In Data Analysis, “Regression Analysis” (for returning equation coefficients or outputting calculated values as table) and “Field Statistics” (for calculating Average, Minimum, Maximum, Median, Quartile 1, Quartile 3, Variance, Standard Deviation, IQR, Skewness, Variance Coefficient, and Kurtosis Coefficient) are provided. And Kriging offers functions like “Create Statistical Model”, “Calculate Z-Value”, “Calculate Z-Value as Raster” and so on. 

As long as you use SuperGIS Desktop with licensed Spatial Statistical Analyst, you are allowed to utilize Spatial Statistical Tools functions of SuperGIS Toolkit. If not, you still can design process of Network Analysis through Process Designer, save the designed process in the project of SuperGIS Desktop, and then run the project through SuperGIS Desktop with licensed Spatial Statistical Analyst or publish services through SuperGIS Server Standard or later edition with Spatial Statistical Extension.

fa2_20130510adc0c13b-2237-4128-b576-9a3e1d09cdfc

Then, users need to create a new toolkit in SuperGIS Toolkit or adopt an existing toolkit, name the toolkit, and add new process under the specified toolkit to call Process Designer dialog.

fa3_2013051087daa18d-38ce-4853-afba-1a8c485dddb3
fa4_2013051046f56a32-315a-48db-a125-f92a58c40ef2

Before conducting Spatial Statistical Analysis, users need to build Sample Dataset required for statistical requirement. Firstly, add the built Process into Create Sample Dataset of Spatial Statistical Tools\Kriging and set required input parameters.

fa5_20130510bede3ecc-7694-4173-869a-712a1b208c61

In the Create Sample Dataset dialog, we need to input vector data in point, line or polygon type, or input attribute table. And we have to specify source field, and field of X and Y value of feature coordinates. In addition to adopting X and Y value of the feature, we also can use other value field. After accomplishing the settings in Create Sample Dataset dialog, Create Sample Dataset object shows like the following picture:

4_2013051001e33916-02b8-4bd1-9ccc-b0e23b5a87aa

Object with white background means that there are still some required parameters blank. After accomplishing parameter settings, the blue rectangular object represents function itself; the orange elliptical object represents input data or output of other Process; and the purple elliptical object represents output data of the process.

The next step is to build Statistical Model. In addition to using Create Statistical Model By Dataset, we can also employ Create Statistical Model that we need to input Sill value and Range value instead of inputting Dataset. Drag the object into the Process and build relation between Output Dataset and Create Statistical Model By Dataset.

5_201305101f32ff00-7c8c-48b3-a593-6eb2c688a695

After that, we can start to calculate Z value with Calculate Z-Value. Since the required parameters of the method include Dataset object, Search object and Model object, we need to build Search object through Create Distance Search in advance, input related parameters of search range, build relation among these objects and Calculate Z-Value and input the X and Y value that we want to calculate. The whole process design looks like the figure below:

6_20130510e966ca5d-ca8e-46b2-afea-a917321e79ea

Then set the calculated Z-value (Output Value) object as process result, we will see a superscript, R, on the upper right of the object. The R superscript represents the final output value of the whole process. If you operate the process, the calculated value will be shown.

7_1_201305105ca71dd0-ecf5-4828-b486-f8106bfa092c

And if we adopt RunProcess method of SGToolkit component to run this process, we can obtain the final calculated result by using GetLastResult method, too.

After making sure that Create Z-Value is operated accurately, we try to replace Create Z-Value with Create Z-Value As Raster. The difference in parameters is that we need to specify range of the output raster and Cell Size to identify the style of the raster. Then, we can add the output raster into map to get the result which shows as the figure below: 

8_201305100357e5e2-610c-4dac-a92d-728b0f005a8b

We can query pixel of this raster layer on the map by utilizing Identify tool to estimate the Z value.

This is the introduction of an essential building process of Spatial Statistical Analysis. If you want to publish this process onto the Internet through SuperGIS Server Standard or higher edition, please refer to details in SuperGIS Server help.

Phone: +886-2-2659-1899
Fax: +886-2-2659-0612
Taipei City, 11493, Taiwan
5F, No.71, Zhouzi Street, Neihu District