Introduction

Technical Guide

  • Once PMTiles is generated, You need to store it on S3 bucket (e.g. Minio) to enable you to access it through Maputnik to style it.
  • Create a bucket on Minio to store the generated PMTiles Files.
Screenshot 2025-05-11 201109

  • Assign the bucket privacy to Public to allow Maputnik to access the PMTiles.
Screenshot 2025-05-11 201715

  • Then, upload the PMTiles Data to the bucket.
Screenshot 2025-05-11 202523

Screenshot 2025-05-11 203836

  • Click on Add Layer. Then, type the ID of the PMTiles and choose the Type, Source and Source Layer from Dropdown Menu.
Screenshot 2025-05-11 204352

  • Once the layer is added, you can customize its Fill Color, Outline Color and other parameters.
Screenshot 2025-05-11 205613

  • Save the created style in specified folder on device .. it will be saved as JSON file.
Screenshot 2025-05-11 205850

  • Upload Style JSON file to the bucket to enable you to serve the PMTiles and Style JSON through Server. (In this Case TileServer GL).
Screenshot 2025-05-11 210804

  • Setup Docker on your device to host PMTiles Using TileServer GL.
Screenshot 2025-05-11 211256

  • Follow installation Steps of Docker and set it to the default until It's installed successfully.

  • Create Config file that contains the PMTiles and Style JSON Files S3 URLs according to this structure.
Screenshot 2025-05-12 225149

  • Open Ubuntu WSL terminal or Windows Power Shell , navigate to Config file directory.
Screenshot 2025-05-11 214511

  • Then, write this Command to serve the PMTiles and Style file.
Screenshot 2025-05-11 214810

  • An ID of a new container in docker will be generated once you run this command.
Screenshot 2025-05-11 215353

  • Open the port 8080 from docker desktop of the container with the same ID generated in the terminal.
Screenshot 2025-05-11 215712

  • You will find the served PMTiles and Style File .. Choose GL Style Option to navigate to GL Style URL that will be accessed in ArcGIS Pro.
Screenshot 2025-05-11 220417

  • Copy the GL Style URL that enables you to open PMTiles Style in ArcGIS Pro as Vector Tile Layer.
Screenshot 2025-05-11 220859

  • Open ArcGIS Pro and Click on Add Data From Path.
Screenshot 2025-05-11 221427

  • Paste GL Style URL and Choose Vector Tile Service As Service Type and Click Add.
Screenshot 2025-05-11 221740

  • A Vector Tile Layer will be added on Map Successfully in ArcGIS Pro.
Screenshot 2025-05-11 223354

Conclusion

By following all previous steps, you have styled and served PMTiles and accessed it in ArcGIS Pro to benefit from its Advantage of fast rendering and to access it without the need of a server.