grava

module
v0.0.0-...-68e76a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2021 License: MIT

README

gräva - prototype MVT server for PostGIS

This project is a Go server for generating mapbox vector tiles from Postgres/PostGIS database. It started as an experimentation to learn about the mapbox vector tile format.

The server is very alpha, but is usable - more work is needed (especially around testing which I have woefully neglected).

Sample screens below from:

Building

The following are required for building:

Tool Version Download
Go >= 1.8 Download
Glide >=0.12.3-2 Download

In the following instructions, GRAVA_ROOT referes to the location the package is checked out

git clone [email protected]:devork/grava.git
cd grava

Dependencies are managed through Glide:

glide install

And then the actual build:

cd cmd/gravad
make build

Running

For running instructions, use:

grava --help

Details of the configuration file can be found in CONFIG.md.

Directories

Path Synopsis
Package cache provides interfaces and types for a tile cache
Package cache provides interfaces and types for a tile cache
cmd
Package config holds types and functions related to service configuration
Package config holds types and functions related to service configuration
container
lru
Package lru provides a LRU cache implementation
Package lru provides a LRU cache implementation
Package geo provides simple functions for working with GIS primitives
Package geo provides simple functions for working with GIS primitives
Package vtile is the output from the protobuf generation step.
Package vtile is the output from the protobuf generation step.
Package web holds common types and functions for general HTTP usage
Package web holds common types and functions for general HTTP usage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL