thomersch / grandine

Processing geo data is no fun. Grandine changes this.
Apache License 2.0
53 stars 3 forks source link
gis openstreetmap spatial tiles vector-tiles

Grandine

GoDoc Build Status

This repository contains libraries and command line tools for working with geospatial data. It aims to streamline vector tile generation and provides tooling for standardized geo data serialization.

Initial work has been funded by the Prototype Fund, powered by Open Knowledge Foundation Germany and the German Ministry for Research and Education.

Prototype Fund Bundesministerium für Bildung und Forschung Open Knowledge Foundation Deutschland

Spaten File Format

If you are looking for documentation on the Spaten geo spatial file format, look here. The Go implementation resides inside lib/spaten.

Requirements

Quickstart

If you have built a Go project before, you probably already know what to do. If not:

Tips

How to concatinate/merge multiple spaten files into one

grandine-converter -in fileA,fileB,fileC -out outfile

Alternatively, if you want to use a pipe:

grandine-converter -in fileA,fileB,fileC | your-app-here

How to render a tile set from a spaten file

grandine-tiler -in some_geodata.spaten -zoom 9,10,11 -out tiles/

By default, all data will be on the default layer.

Structure