GeoSOT Two-Dimensional Encoding

Feature Description

Performs GeoSOT-based two-dimensional grid encoding on a dataset. Namely, after partitioning the Earth's space in the longitude and latitude directions based on GeoSOT, the grid cells on the Earth's surface are assigned corresponding quaternary two-dimensional grid codes. For detailed partitioning and encoding methods, refer to "Earth Space Grid Encoding Rules_GB_T 40087-2021".

Parameter description

Parameter Name Default Value Parameter Interpretation Parameter Type
Source Dataset   The vector dataset to be encoded. Supports point, line, region, 3D point, 3D line, 3D region, and model dataset types. Only datasets with a geographic coordinate system are supported. DatasetVector
Two-Dimensional Position Code Word Segment Name (Optional) GeoSOT_2D_Code Specifies the field name for storing the two-dimensional grid position code. This field must not already exist in the source data. String

Output Result

If the execution is successful, a new field "GeoSOT_2D_Code" will be added to the source dataset to store the quaternary two-dimensional grid position codes for the Earth's surface space.

The quaternary code of a GeoSOT grid starts with 'G', and the number of subsequent digits corresponds to the minimum grid partition level that completely encloses the geometry in the dataset.

Example:
Two-dimensional spatial code: G00131331010. This code indicates that the minimum grid partition level that completely encloses this geometry is level 11.