Book Image

QGIS Blueprints

By : Ben Mearns
Book Image

QGIS Blueprints

By: Ben Mearns

Overview of this book

Table of Contents (14 chapters)
QGIS Blueprints
About the Author
About the Reviewers

Going further – local MBTiles hosting with TileStream

While Mapbox hosting is very appealing for its relative ease, you may wish to host your own MBTiles, for example, to minimize cost. TileStream is the open source foundation of Mapbox's hosting service. It runs under Node.js.

While TileStream can technically be installed under Windows with a Node.js install, some dependencies may fail to be installed. It is recommended that you perform the following install in a Linux environment. If you are already running Linux on your organization's server, that's great! You can skip ahead to installing Node.js and TileStream. Fortunately, with Virtual Box and Vagrant, it is possible to set up a Linux virtual machine on your Windows system.

Setting up a Vagrant virtual Linux instance

  1. Install Virtual Box. You can download Virtual Box from

  2. Install Vagrant. You can download Vagrant from

  3. Create a new directory for your Vagrant instance (for...