Step Two Generate Vector Tiles

You can generate vector tiles through two ways: a single task, multiple tasks. Here we adopt the second way.

Basic steps

  1. Open the workspace “China.smwu” in iDesktop, and set it read-only.
  2. Open the map “China”, and then right click your mouse on the map window and select “Map Tile(Multi-task)…”, and in the pop-up dialog box, select “Create and Run New Tasks” to head to the “Multi-task: Set Map Tile Parameters (China)” dialog box.

VectorTileDia

  1. Set Tile Type to Vector Tile.
  2. Set scale levels, here the scales level we set is from 1 to 10.
  3. The final result consists of vector tile data, tile styles, and tile font files which are saved in different folders.
  4. Path Settings : Set a name for the tiled map and a path to save the result.
  5. Set Storage Type to Origin. For more details on storage types, please refer to Map tile types.
  6. Tile Bounds : Click “Next” to head to the “Tile Bounds” page to specify a tile bounds.

VectorTileDiaRange

  1. Click “Next” to open the “Multi-task Generate Tiles” dialog box, and then specify the number of processes in the “Task Number” text box, for more details, please refer to Run Map Tile(Multi-task).

MutiProcessGenerateVectorTile

  1. Click “OK” to begin generating tiles. And you can click Refresh to view the progress.
  2. After completing generating all tiles, folders and files as following picture shows are produced in the output path.
    VectorTileResult
  3. fonts : Files about fonts used by vector tiles.
  4. sprites : Resources relevant to icons’ styles.
  5. styles : Style description files.
  6. tiles : vector tile data. If the storage type is original, the tile format is *.mvt. But if the storage type is compact, the tile format is *.cf.

Vector tile data is saved in different folders according to relative scale levels. Names of folders under the folder “tiles” correspond to the levels of globe subdivision. The first level is 0. Names of folders under the level folders are column number of globe subdivision, and vector tiles whose names are row number of globe subdivision are saved under these folders.

  • sci : A meta information description file recording the data projection, geographic range, scales, and so on.

Related topics :

Vector tile theme

Step one: prepare data

Step three: browse vector tile