Instructions for use
Perform GeoSOT-based 3D grid encoding on the dataset, i.e., after spatially partitioning the Earth's space based on GeoSOT from the three directions of 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, surface, and model dataset types. Only datasets with geographic coordinate systems are supported. | DatasetVector | |
| two-dimensional position code word segment name (Optional) |
GeoSOT_2D_Code | The specified field name for storing the 2D grid position code, which must be a field that does not exist in the source data. | String |
| height position code field name (Optional) |
GeoSOT_H_Code | The specified field name for storing the height position code, which must be a field that does not exist in the source data. | String |
Output Result
If executed successfully, new fields "GeoSOT_2D_Code" and "GeoSOT_H_Code" 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 number of subsequent digits is 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 is 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 from the longitude and latitude directions is level 11.
Height domain code: 00011111111111111 The partitioning level in the geodetic height direction is level 17.
