Feature Description
Performs GeoSOT-based 3D grid encoding on a dataset, i.e., after spatially partitioning the Earth's space based on GeoSOT in three directions: longitude, latitude, and geodetic height, the Earth's 3D grid units are assigned corresponding quaternary 2D grid codes and height domain codes. For detailed partitioning and encoding methods, refer to "Geospatial 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, supporting 3D point, line, polygon, and model dataset types. Only datasets with geographic coordinate systems are supported. | DatasetVector | |
| Two-dimensional Position Code Field Name (Optional) |
GeoSOT_2D_Code | Specifies the field name for storing the 2D grid position code, which must not exist in the source data. | String |
| Height Position Code Field Name (Optional) |
GeoSOT_H_Code | Specifies the field name for storing the height position code, which must not exist in the source data. | String |
Output Result
If the execution is successful, the "GeoSOT_2D_Code" and "GeoSOT_H_Code" fields are added to the source dataset, used to store the quaternary 2D grid position code and binary height domain code of the Earth's surface space, respectively.
- The quaternary 2D grid position code of the GeoSOT grid starts with 'G', and the subsequent number of digits represents the minimum grid partitioning level that completely encloses the geometry in the dataset, up to level 32.
- The height domain code starts with '0' above ground and '1' below ground, and the number of digits represents the minimum partitioning grid level, up to level 32.
For example:
2D spatial code: G00131331010 The minimum grid partitioning level that completely encloses the geometry in the longitude and latitude directions is level 11.
Height domain code: 00011111111111111 The partitioning level in the geodetic height direction is level 17.
