Skip to main content
1 of 3
Hasan Mustafa
  • 3.3k
  • 1
  • 15
  • 42

Creating a Vector Tile base map

I want to create a vector tile base map using my own shapefiles/postgis tables for use on a mobile primarily. By my understanding the process is divided into 3 main steps:

  1. Creating/slicing the data into vector tiles.
  2. Using a server to host the tiles.
  3. Rendering the tiles on the client end.

I have looked into various methods to do this, The Mapzen Vector Tiles were the first thing I looked into. They come with a very good rendering option as well. I got it to work with osm data but I wasn't able to configure it to work with my own PostGIS Tables.

Currently I am looking into PGRestAPI, I have been able to create my tiles and host them pretty easily but I am not sure how I will render them on the mobile. I am not able to parse the vector tile endpoints that I get from the server.

How do I go about rendering the vector tiles on a mobile? And is there any alternative way to go about creating a vector tile base map for use on a mobile?

Hasan Mustafa
  • 3.3k
  • 1
  • 15
  • 42