As the use of Vector Tiles has exploded in the past few years, more and more use cases have emerged that require setting up an ‘end to end’ stack for preparing, serving and consuming vector tiles in a web application. While many projects may be able to simply use basemap tiles from a CDN provided by a service provider, many other use cases call for serving vector tiles from existing and often private datasets or databases. This workshop will walk the participant through the process of preparing data for serving as vector tiles, loading and optimizing the database and configuring and scaling Tegola (http://tegola.io) as a vector tile server for serving and caching tiles conforming to the Mapbox Vector Tile (MVT) specification. With the MVT web service configured, the participants will style their data using Maputnik, a mapbpox-gl based visual style editor and prepare a simple web application with OpenLayers3 or mapboxgl-js using this style as well as providing user interface widgets to inspect the data contained in the tiles. Participants will leave this session prepared to setup and maintain an ‘end to end’ scalable vector tiles stack on their own infrastructure for use in web mapping applications.
Participants should have basic web development skills, bring their own laptop with PostgreSQL + PostGIS installed and their own data for use in the workshop. Advanced participants will use Docker to manage their stack for development and/or deploy it to a remote container host.