Help us shape the future of Go! Take the 2026 Go Developer Survey

mapnik-tile-api

command module
v0.0.0-...-89094ec Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: GPL-2.0 Imports: 8 Imported by: 0

README

mapnik-tile-api Build Status

Go tool that parses a provided renderd.conf and serves the available tile endpoints with a JSON endpoint. The JSON response is a list of endpoints, each of them is a object with the string keys name, uri and description. The values are exactly the same as the ones written in the provided renderd.conf. The endpoint cna be found under /tileEndpoints using the specified port.

Installation

To build this project yourself you will need a correctly configured go setup and run go get -u github.com/trump-fmi/mapnik-tile-api.

Flags

Flags can be set by -flag <value> or -flag=value. If you want to keep the defaults, you do not have to supply anything.

Flag Default value Explanation
port 8081 Port where the socket is opened.
path /etc/renderd.conf Path to the renderd.conf to be parsed

Documentation

Overview

The osm_label_server delivers an REST endpoint which clients that display openstreetmap data can use to obtain labels which can be displayed on top of the tiles from the tile-server. This enables clients to rotate the map without rotating the labels. It should be used as follows

Jump to

Keyboard shortcuts

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