Feature Description
Generate Tile by Mulit-process refers to executing map cache tasks through multiple processes on a single computer. The principle is to split the tiling task into multiple subtasks based on map scales and geographic ranges, enabling parallel processing. This approach maximizes hardware resource utilization and significantly improves tiling efficiency through multi-node collaboration.
The efficiency of multi-process tiling is influenced by factors such as computer performance, tile storage format, tile data size, and storage location (local or shared). For optimization suggestions, please refer to Efficiency Comparison of Multi-process Tile Generation. Additional recommendations on tile type selection, hardware configuration, and map data optimization can be found in Best Practices for Map Tile Production.
Feature Entry
- Workspace Manager->Maps node->Right-click target map->Select Generate Map Tiles (Multi-process).
- Right-click map->Choose Generate Map Tiles (Multi-process).
- Maps tab->Cartography group->Map Tiles->Multi-process.
Parameter Description
- Generate Map Tiles (Multi-process) dialog parameters:
- New Tiling Task: Create a new multi-process tiling task.
- Execute Multi-process Tiling: Resume unfinished tiling tasks. Click Next and specify the Working File (*.sci config file) in the Generate Tile by Mulit-process dialog.
- Update/Append Tiles: Update existing tiles when map service data changes (e.g., layer style modifications or feature additions). Requires selecting *.sci config file and specifying update bounds/scales. For details, see Tile Update.
- Multi-process: Generate Map Tiles dialog parameters:
Note:
When tile type is set to vector tile, see parameters in Vector Tile.
- For scale parameters, path settings, and tile origin configurations, refer to Single Process Map Cache.
- Task Granularity: Splits map bounds into process units based on pixel dimensions. Four granularity levels:
- Intelligent: Starts with 64x64 pixels. If process count exceeds 2 million, pixel size doubles (128x128) until process count drops below 2 million.
- Fine: 128x128 pixels per process unit.
- Medium: 256x256 pixels per process unit.
- Coarse: 512x512 pixels per process unit.
- Generate Tile by Mulit-process Dialog parameters:
- Tile Data Settings:
- Workspace: Supports file and database workspaces. For file workspaces, specify path; for database workspaces, select type and provide connection info (see Open Database Datasource).
- Workspace Path: Path containing target map. Ensure consistency between workspace map and original split tasks.
- Workspace Password: Required if workspace is password-protected.
- Map Name: Specify target map name.
- Task Settings
- Process Count: Number of concurrent processes (default based on CPU threads: threads ≤16 → threads-1; >16 → threads-2). Adjustable during execution via Apply button.
- Working File: Specify *.sci file in tile output directory.
- Port Number: Unique application identifier for inter-process communication. Default: 31363. Change if occupied.
- Tiles Progress: Real-time monitoring of total progress, process counts (completed/pending/failed).
- Output Info: Displays execution logs in bottom panel.
- Reset Failed Tasks: Retry failed tasks. Persistent failures may require data/task review.
- Export Log: Export logs as .xml file.
- Tile Data Settings:
Output directory structure:
- CacheTask: Stores task information.
- China: Contains .sci index file and tile data folders (named by map).
- log: Execution logs per task and consolidated log file.
- Cache.property: Tile property file (name info).
- CacheReport.txt: Summary report (duration, tile count, average speed, retries).
Related Topics
Efficiency Comparison of Multi-process Tile Generation