Merge and Generate Vector Tiles

Usage Instructions

This function supports generating a single tile file from multiple vector data (points, lines, polygons) at once. Loading these vector tiles can significantly improve the browsing performance and display effect of vector data.

Function Entry

  • 3D Data tab -> 3D Tiles group -> Generate Tiles drop-down button -> Merge Multiple Datasets to Generate Tiles module -> Vector button

Operation Steps

  1. In the Workspace Manager, open the data source that needs to generate tiles.
  2. On the "3D Data" tab, in the "3D Tiles" group, within the "Generate Tiles" drop-down menu, click the "Vector " button to pop up the "Merge and Generate Vector Tiles" dialog box.
  3. Set dataset type: In the parameter setting area, select point, line, or polygon from the drop-down menu on the right of dataset type.
  4. Add datasets: Click the button, and select datasets in the opened "Select" interface.
  5. In the "Select" dialog box, select a data source in the left area, and the right area displays all vector datasets in the selected data source. Click "Select All" or make multiple selections to confirm the datasets to be added, then click "OK" to perform the dataset addition operation. You can also create a new dataset as the added dataset.
  6. You can click the "Select All" button to select all added datasets and add them to the dataset list.
  7. Toolbar:
    • Select All: Select all datasets in the data list for batch operations, such as deletion and batch setting of tile parameters.
    • Invert Selection: Select the datasets that are not selected in the data list.
    • Delete: Remove the dataset from the current data list.
      Notes:
      • When batch setting tile parameters, after entering specific parameter values, you need to press the Enter key to make it effective; otherwise, it may cause the batch assignment of the same parameter values to not work.
  8. Basic Settings

    S3M 3.0 tiles and S3M 3.01 tiles can be loaded and displayed in ellipsoid scenes.

    • Tile Name: Enter the tile name in the text box on the right of "Tile Name", which is the name of the tile root directory.
    • Storage Path: Enter the output path of the tiles in the text box on the right of "Storage Path", or select the path via the "Browse" button after the text box.
    • S3M Version: Currently supports generating four versions: S3M 1.0, S3M 2.0, S3M 3.0, and S3M 3.01. The default is S3M 3.01. S3M 3.01 tiles comply with the CH/T 9040-2023 specification.
    • Attribute Storage Type: Supports two attribute storage types: S3MD and ATTRIBUTE.
      • S3MB: Stored in JSON format, allowing quick extraction of all attribute information for a single object.
      • Attribute: Stored in binary stream format, more suitable for data with abundant attribute information, allowing quick extraction of specified field attribute information for multiple objects.
    • Tile Side Length: Displays and sets the size of the tile side length, in meters. Different tile side lengths correspond to different scales. Hover the mouse over the question mark after the "Tile Side Length" label to view the correspondence between tile side length, scale, and level. "Tile Side Length" indicates the scale corresponding to the tile layer relative to the specified tile side length.
    • Object ID Field: Used to set the field that uniquely identifies the ID, selected via the drop-down arrow.
    • Field Information: Used to set the attribute fields for generating 3D tile slices, defaulting to generating all field information.
    • Cut Tiles: Can be used to reduce the data volume of each tile slice. If checked, tiles will be cut according to the set tile side length, and data will be stored in different tiles; otherwise, data will be stored in the tile where the data center point is located. Default is unchecked.
  9. Style Settings
    • Height Mode: Sets the height mode for vector dataset types. Includes clamp to ground, clamp to object, and absolute height. For details, refer to About Height Mode.
    • Bottom Elevation, Stretch Height: These options are available only when the height mode is set to absolute height. For details, refer to Setting Bottom Elevation and Stretch Height.
    • Color, Foreground Color: Used to set the display color of vector datasets.
    • Line Width: Used to set the width of line objects, applicable only to line datasets.
    • Outline: When the height mode is set to clamp to ground or absolute height, this option is available, used to set whether to include outlines in the result data, applicable only to polygon datasets.
  10. After setting is completed, click the "Generate" button to perform the tile generation operation. Among them, *.scp is the tile configuration file.
Notes:

The tile side length determines the number of tile root nodes: the larger the side length, the fewer the root nodes; conversely, the smaller the side length, the more the root nodes, and the longer the tile generation time. When there are too many root nodes, loading vector data will slow down to some extent.