Step 2: Generate Vector Tile

The generated vector tiles support both Single Process (executing tiling tasks on a single machine) and Multi-Process (utilizing multiple processes on single or multiple machines) methods. This guide selects the multi-process approach, which maximizes hardware utilization through parallel processing across nodes to enhance tiling efficiency.

Steps

  1. In the Current Workspace, open the China.smwu workspace from sample data, set the data source to read-only, and save the workspace.
  2. Open the China map, right-click the map in the context menu, and select "Generate Map Tiles (Multi-Process)". In the dialog, choose "New Tiling Task" to open the "Multi-Process: Set Map Tile Parameters (China)" dialog.
  3. Figure: Setting Vector Tile Generation Parameters
  4. Under "Tile Type:" in the parameters panel, select "Vector Tile".
  5. Check scale level checkboxes (levels 1-10) on the left panel to specify generation ranges.
  6. The vector tile output includes vector tiles, style configurations, and font files stored separately. All three components are generated by default.
  7. Path Settings: Configure tile name and export directory.
  8. Set storage type to Original. For details, see Map Tile Storage Types.
  9. Set Tile Bounds: Click "Next" to define geographic extent.
  10. Figure: Setting Vector Tile Extent
  11. After completing parameters, click "Next" to open the multi-process dialog. Configure process numbers as described in Generate Tile by Multi-Process.
  12. Figure: Multi-Process Tile Generation Parameters
  13. Click "Generate" to start tiling. Use "Refresh" to monitor progress in real-time.
  14. Upon completion, the output window will display success message. The export directory will contain:
    Figure: Vector Tile Output
    • fonts: Font resources for vector tiles.
    • sprites: Style-related graphical assets.
    • styles: JSON style specification files.
    • tiles: Vector tile data (*.mvt for Original storage, *.cf for Compact storage).

      Tiles are organized in hierarchical folders named with global scale levels (starting from 0). Subfolders represent column numbers, with files named by row numbers.

    • SCI file: Metadata describing projection, geographic bounds, and scale information.

Related Topics: