Perform analysis |
The MapStudio WebApp has access to some processing tools provided by SuperMap iServer, and supports the analysis of the added spatial data to further extract and discover the value of spatial information. Before using the analysis functions in Map Studio, the portal administrator needs to add an iServer and ensure that the server has been extended with the Spatial Analysis Services module.
Summarize with Grid refers to the use of regular grids (rectangular or hexagonal) to perform attribute statistics on spatial data. The feature objects to be counted and the regular grid are judged using the intersecting spatial relationship.
Application scenarios
Existing nationwide sales data of a certain brand store, summarize the locations into grids (quadrilaterals, hexagons), and then perform statistical calculation of attributes in each grid, which can count the number of stores and the total sales, maximum sales, etc. An example of a hexagonal grid summary is shown below:
Steps
In MapStudio, the spatial data uploaded through the file supports Summarize with Grid. The specific operation steps are as follows:
Click the "Analysis" tab in the left sidebar, select "Summarize with Grid", and click the "Ok" button;
Fill in or select the parameters in turn. The parameter descriptions are as follows:
Base dataset: Select the dataset to analyze
Grid type: choose a grid shape, support square and hexagonal
Grid Size(m): Set the grid size. For square grids, it is the side length of the grid, and for hexagonal grids, it is the distance from the hexagon vertex to the center point.
Field: Fields for summarize
Operation: Select the attribute statistics method, which supports summation(Sum), minimum value(Min), maximum value(Max), population variance, variance, population standard deviation, standard deviation, record count, and modal value.
If you want to add the analysis results to the map immediately after the analysis is complete, you can check "Add analysis results to the map", which is checked by default
Once set up, click the "Analysis" button to perform
Summarize with Region is to use a dataset to perform Summarize with Region on another dataset, and append the aggregated attribute field values to the source dataset. The summarized dataset can only be polygons, and another dataset can be lines or polygons. Summarize with Region can be used to calculate the number, length or area of objects in the area, and perform attribute statistics.
Application scenarios
Steps
In MapStudio, the spatial data uploaded through the file supports Summarize with Region. The specific operation steps are as follows:
Click the "Analysis" tab in the left sidebar, select "Summarize with Region", and click the "Ok" button;
Fill in or select the parameters in turn. The parameter descriptions are as follows:
Base dataset: Select summarized dataset, only polygon datasets are supported
Summarize dataset: Select the dataset of attributes to be summarized, line and polygon datasets are supported
Standard attribute statistics (optional): Select whether to perform attribute statistics based on fusion field values. If you selected Standard attribute statistics, you will also need to select the statistics field and calculation method. Among them, the calculation method supports summation(Sum), maximum value(Max), minimum value(Min), average value, population variance, population standard deviation, standard deviation, variance, modal value, record count
Attribute weighted statistics (optional): Choose whether to perform attribute statistics based on the weights of the fusion field values. It should be noted that at least one of attribute weighted statistics and standard attribute statistics must be valid. If you select Attribute weighted statistics, you also need to select the statistics field and calculation method. The supported calculation methods are the same as Standard attribute statistics. When only part of the area of the summarized object is inside the summary object, the area/length ratio in the interior will be used as the weight to perform weighted statistics on the attributes of the summarized object. Summarized objects of line and area types only.
Keep attribute records of source feature objects (optional): select whether the result object retains the attribute information of the source dataset, the default is checked
Spatial geometry object of the source feature object is preserved (optional): Select whether the result object retains the spatial geometry objects in the source dataset, the default is checked
Statistics summarize dataset length/area (optional): Select whether to count the area or length of the objects being summarized. Unchecked by default
If you need to display the analysis results on the map, you can check "Add analysis results to the map", which is checked by default
Once set up, click on the "Analysis" button to perform Summarize with Region
Overlay Analysis refers to the process of generating a new dataset through a series of collective operations on two datasets under the same spatial reference system.
Application scenarios
By performing Overlay Analysis on the land use layer of the whole map and the administrative division layer of a certain area, the land use distribution of the area can be obtained by statistics.
Operation
Steps
In MapStudio, the spatial data uploaded through the file supports overlay analysis. The specific operation steps are as follows:
Click the "Analysis" tab in the left sidebar, select "Overlay", and click the "Ok" button;
Fill in or select each parameter in turn, the parameter description is as follows:
Base dataset: Select the dataset to be overlaid
Overlay datasets: Select overlay datasets, only polygon datasets are supported
Operation: Select the overlay operation, the supported operation include clip, intersect, erase, identity, update, XOR, and union
Tolerance: Node Tolerance. The default value is 0.0. When the tolerance is less than 1.0e-10, a node tolerance of 1.0e-7 will be used if the coordinate system of the dataset is a geographic coordinate system, and a node tolerance of 1.0e-2 will be used when the coordinate system is empty or projected.
Source fields (optional): The set of field names that need to be reserved in the overlaid dataset
is return single geometry (optional): Select whether to return a single geometric object, the default is checked. When the line and polygon are clipped, intersected and identity, if the line is within multiple polygon objects (polygon objects overlap) or at the boundary, return a line object or return multiple line objects, that is, if checked, return a line object, if unchecked, multiple independent line objects are returned
is iniProcess (optional): Select whether to perform topology preprocessing, the default is checked, and it is only valid for the source dataset that is a polygon type
If you need to display the analysis results on the map, you can check "Add analysis results to the map", which is checked by default
Once set up, click the "Analysis" button to perform an Overlay Analysis