Recette génération tuiles monde OpenMaptiles
✓ Published0🌍 Public
TThomasG77
Last edited Sep 18, 2024
Created on Sep 16, 2024
This example demonstrates how to generate global vector tile sets using OpenMapTiles and Planetiler, processing the entire OpenStreetMap planet file. The code runs Planetiler through Docker with 40GB of Java heap memory, using sparse array node mapping and memory-mapped storage to handle the large dataset efficiently. After generating the output MBTiles file, the script updates its metadata with SQLite commands to set proper attribution, center coordinates, and description for the tiles. The workflow relies on Docker, Planetiler, and sqlite3, with optional pre-downloading of the planet PBF file from OpenStreetMap.
AI-generated description