gospatial/tegola

Sponsored OSS

By Go Spatial

Updated 3 days ago

Tegola is a Mapbox Vector Tile server written in Go

Image
Data science
Web servers
Databases & storage
11

5M+

gospatial/tegola repository overview

@see http://tegola.io/ for details about tegola.

Example Usage (from https://github.com/go-spatial/tegola/blob/master/docker/Dockerfile.tpl):

To use with local files, add file data sources (i.e. Geopackages) and config as config.toml to a local directory and mount that directory as a volume at /opt/tegola_config/.

Examples: To display command-line options available:

  1. docker run --rm tegola -h

Example PostGIS use w/ http-based config:

  1. docker run -p 8080 tegola --config http://my-domain.com/config serve

Example PostGIS use w/ local config:

  1. mkdir docker-config
  2. cp my-config-file docker-config/config.toml
  3. docker run -v /path/to/docker-config:/opt/tegola_config -p 8080 tegola serve --config /opt/tegola_config/config.toml

Example gpkg use:

  1. mkdir docker-config
  2. cp my-config-file docker-config/config.toml
  3. cp my-db.gpkg docker-config/
  4. update docker-config/config.toml with my-db.gpkg located at /opt/tegola_config/my-db.gpkg
  5. docker run -v /path/to/docker-config:/opt/tegola_config -p 8080 tegola serve --config /opt/tegola_config/config.toml

Tag summary

Content type

Image

Digest

sha256:a61c673d3

Size

15.9 MB

Last updated

3 days ago

docker pull gospatial/tegola:edge

This week's pulls

Pulls:

8,522

Last week