Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
Go to file
2018-10-09 15:00:25 +03:00
.circleci ci: switch to mdillon/postgis image 2018-10-05 17:50:47 +03:00
src chore: cleanup 2018-08-25 20:32:21 +03:00
tests chore: add debug page 2018-10-09 15:00:25 +03:00
.gitignore chore: add debug page 2018-10-09 15:00:25 +03:00
Cargo.lock chore: add debug page 2018-10-09 15:00:25 +03:00
Cargo.toml chore: update dependencies 2018-10-08 18:07:50 +03:00
Dockerfile chore: update dependencies 2018-08-08 15:12:05 +03:00
README.md doc: switch to CircleCI 2018-10-05 17:58:06 +03:00

Martin

CircleCI

Martin is a PostGIS Mapbox Vector Tiles server written in Rust using Actix web framework.

Warning: this is experimental

Installation

git clone git@github.com:urbica/martin.git
cd martin
cargo build --release
./target/release/martin

Usage

DATABASE_URL=postgres://postgres@localhost:5432/db martin

Environment variables

DATABASE_URL
DATABASE_POOL_SIZE
WORKER_PROCESSES
KEEP_ALIVE

Using with Docker

docker run -d --rm --name postgres \
  -p 5432:5432 \
  -e POSTGRES_PASSWORD=password \
  mdillon/postgis:11-alpine

docker run -d --rm --name martin \
  -p 3000:3000 \
  -e DATABASE_URL=postgres://postgres:password@localhost:5432/test \
  urbica/martin

Development

Install project dependencies and check that the tests run

cargo test
cargo run