Extrude Polygon to Generate Model Tiles

Instructions

Using 2D polygon or 3D polygon as source data, after performing tile generation, data extrusion, texture mapping and other settings, the model tile S3M data is finally generated.

Parameter Description

Parameter Name Parameter Description Parameter Type
Vector polygon data: Select the source vector polygon data. DatasetVector
Tile name:
(optional)
Set the file name of the resulting tile data. If this parameter value is empty, the source dataset name will be used as the tile name. String
Storage path: Set the storage path of the resulting tile data. String
File processing type:
(optional)
Set the file processing type, including Replace and Append. Default value is Replace.
  • Append: Under this processing type, when switching from one level to a finer level, more data will be appended on the basis of the current level data to improve detail. Conversely, it will be reduced.
  • Replace: Under this processing type, when switching from one level to a finer level, some data in the current level will be replaced with more detailed data, thereby improving detail. Conversely, it will be replaced with simpler data.
ProcessFileType
S3M version:
(optional)
Set the S3M tile version, including S3M 1.0, S3M 2.0, S3M 3.0, S3M 3.01. Default is S3M 3.01.
  • S3M 1.0: Basic version. The geographic coordinate system uses a spherical datum.
  • S3M 2.0: The geographic coordinate system still uses a spherical datum. Based on 1.0, it newly supports Draco-compressed vertex optimization, WebP and CRN texture compression formats, physically based rendering (PBR) materials, adjusts the storage method of IDs, upgrades the attribute file storage structure (supports binary stream storage), and supports storing tiles in SQLite/MongoDB databases.
  • S3M 3.0: The geographic coordinate system is upgraded to an ellipsoidal datum. Based on 2.0, it newly supports MeshOpt-compressed vertex optimization, KTX 2.0 texture compression format, OBB bounding boxes, PBR materials newly support semantic textures and mask textures, supports multiple LOD switching modes, supports skeletal animation, supports expressing vertex attributes of more dimensions, and supports pixel-level semantic information of textures.
  • S3M 3.01: The geographic coordinate system uses an ellipsoidal datum. Based on 3.0, it fully adapts to the CH/T 9040 industry standard, provides various open resources for data parsing or format conversion, upgrades the attribute data storage structure (DB large file), supports expressing BIM component tree information, and supports expressing multi-temporal and multi-feature feature values.
S3MVersion
Vertex optimization method:
(optional)
Set the vertex optimization method. Default value is MeshOpt.
When the S3M version is S3M 1.0 or S3M 2.0, the vertex optimization method only supports No Compression.
When the S3M version is S3M 3.0 or S3M 3.01, the vertex optimization method supports No Compression and MeshOpt.
  • No Compression: Do not compress the data.
  • MeshOpt compression: Uses a series of algorithms to reduce the complexity of the data mesh, thereby improving data rendering efficiency and reducing data amount.
VertexOptimizationType
Attribute storage type:
(optional)
Set the storage type of attribute information of the data, including S3MD, ATTRIBUTE, DB.
  • S3MD: Stores data attribute information in binary stream form (the main internal content is in JSON format), which can quickly extract all attribute information of a single object.
  • ATTRIBUTE: Stores data attribute information in binary stream form, more suitable for data with a large amount of attribute information, and can quickly extract attribute information of specified fields of multiple objects.
  • DB: Stored as a DB large file, only available when the S3M version is S3M 3.01. Supports fast querying of large-volume S3M tile object attributes on the Web side, and rapid creation of thematic maps using attribute fields.
AttributeExtentType
Scene type:
(optional)
Set the scene type of the resulting tile data, including planar and spherical. Default value is spherical.
  • If the source data is in a geographic coordinate system, this parameter can only be set to spherical.
  • If the source data is in a projected coordinate system, the scene type is not restricted and can be selected as needed.
  • If the source data is in a planar coordinate system without projection, this parameter can only be set to planar.
PrjCoordSysType
Thread count:
(optional)
Set the number of threads allocated to this operation. When the thread count is 0, it means the maximum number of cores of the current computer. Integer
Extrusion height field:
(optional)
Set the total extrusion height of the vector polygon, by selecting the attribute field that identifies the extrusion height or directly typing a number. Default value is 20. String
Bottom elevation field:
(optional)
Set the bottom elevation of the data by selecting the attribute field that identifies the bottom elevation value. String
Object ID field:
(optional)
Select the attribute field used to uniquely identify the object ID through the drop-down menu. String
Vertex weight mode:
(optional)
Set the vertex weight mode, used to determine the key attribute values for distinguishing and describing objects in the resulting tile data. Options include None, Dataset Field, and Height. Default value is Height.
  • Dataset Field: Use the specified field as the vertex weight.
  • Height: Use height as the vertex weight.
VertexWeightMode
Feature value
(optional)
Available only when the vertex weight mode is Dataset Field. Used to set the specified attribute field as the feature value field. String
Texture coordinates
(optional)
Set whether the resulting data has texture coordinates. Default is unchecked. Boolean
Polygon simplification
(optional)
Available only when the file processing type is Replace. Used to set whether to perform polygon simplification. Boolean
Outline
(optional)
Set whether the resulting model data has outlines. Default is unchecked. Boolean
Tile side length (m):
(optional)
Set the tile side length, in meters. Different tile side lengths correspond to different scales. When the data is dense and the geometry and textures are simple, the tile side length can be set to a larger value, such as 1000. When the data is sparse and the geometry or textures are complex, the tile side length can be set to a smaller value, such as 200. Double
Filter threshold:
(optional)
Set a threshold to filter out subobjects in the rough layer that are smaller than the threshold, in meters, thereby improving the performance of large scene data. The finest layer does not filter subobjects. For example, when the filter threshold is 2, subobjects in the rough layer whose half diagonal length of the bounding box is less than 2 meters will be filtered out. Double
LOD level count:
(optional)
Set the number of LOD levels of the tile data. Default value is 3. Integer
Layer height:
(optional)
This parameter only takes effect when the file processing type is Replace. It is used to set the height of each layer in the layered model, and needs to be used together with the layer count. String
Layer count:
(optional)
Used to set the number of layers for model layering, and needs to be used together with the layer height. If only the layer count is set without setting the layer height, data layering will not be performed. String
Material type:
(optional)
Set the material type of the resulting data, including standard material, UE material, and Unity material.
  • Standard Material: After selecting this value, the material of the resulting tile data is standard material.
  • UE Material: Recommended when the resulting tile data is to be used and beautified in UE.
  • Unity Material: Recommended when the resulting tile data is to be used and beautified in Unity.
MaterialType
Top face texture mapping mode:
(optional)
Set the texture mapping mode of the top face of the model data, including Repeat Count and Actual Size.
  • Repeat Count: The texture will be repeatedly mapped on the top face of the model according to the specified number of times.
  • Actual Size: After selecting this value, the texture will be mapped on the top face of the model according to the specified size.
TextureRepeatMode
Top face texture field:
(optional)
Select the attribute field that contains the file path information of the top face texture through the drop-down menu. String
Top face U:
(optional)
Set the texture mapping information in the U direction of the top face of the model.
  • When the top face texture mapping mode is set to Repeat Count, this parameter value represents the number of times the texture file repeats in the U direction, in times.
  • When the top face texture mapping mode is set to Actual Size, this parameter value represents the actual size of the texture file in the U direction, in meters.
String
Top face V:
(optional)
Set the texture mapping information in the V direction of the top face of the model.
  • When the top face texture mapping mode is set to Repeat Count, this parameter value represents the number of times the texture file repeats in the V direction, in times.
  • When the top face texture mapping mode is set to Actual Size, this parameter value represents the actual size of the texture file in the V direction, in meters.
String
Side face texture mapping mode:
(optional)
Set the texture mapping mode of the side face of the model data, including Repeat Count and Actual Size.
  • Repeat Count: The texture will be repeatedly mapped on the side face of the model according to the specified number of times.
  • Actual Size: After selecting this value, the texture will be mapped on the side face of the model according to the specified size.
TextureRepeatMode
Side face texture field:
(optional)
Select the attribute field that contains the file path information of the side face texture through the drop-down menu. String
Side face U:
(optional)
Set the texture mapping information in the U direction of the side face of the model.
  • When the side face texture mapping mode is set to Repeat Count, this parameter value represents the number of times the texture file repeats in the U direction, in times.
  • When the side face texture mapping mode is set to Actual Size, this parameter value represents the actual size of the texture file in the U direction, in meters.
String
Side face V:
(optional)
Set the texture mapping information in the V direction of the side face of the model.
  • When the side face texture mapping mode is set to Repeat Count, this parameter value represents the number of times the texture file repeats in the V direction, in times.
  • When the side face texture mapping mode is set to Actual Size, this parameter value represents the actual size of the texture file in the V direction, in meters.
String

Output Results

Parameter Name Parameter Description Parameter Type
Extrude polygon to generate tiles Path of the resulting model tiles String