ncareol / osm-tiles-docker

The OpenStreetMap Tile Server in a Docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ncareol/osm-tiles

ncareol/osm-tiles is a Docker image that provides a full stack for working w/ OpenStreetMap data. It can be used to:

  • Initialize PostgreSQL database w/ PostGIS extensions: initdb
  • Import OpenStreetMap data into PostgreSQL database: import
  • Optionally pre-generate tiles: render
  • Serve pre-generated (if available) and dynamically generated tiles from Apache, renderd and mapnik via an OpenLayers interface: startservices
  • Serve exclusively pre-generated tiles from Apache via an OpenLayers interface: startweb

Background

This image is adapted from homme/openstreetmap-tiles-docker, which is based on the Switch2OSM instructions.

ncareol/osm-tiles runs Ubuntu 14.04 (Trusty) and is based on ncareol/baseimage, which is an adaptation of phusion/baseimage-docker. It includes:

  • PostgreSQL 9.3
  • PostGIS extensions
  • Apache 2.2
  • osm2pgsql
  • mapnik
  • mod_tile, an Apache module that also provides scripts for rendering tiles

Source code is available on GitHub: https://github.com/ncareol/osm-tiles-docker

Docker image is available on Docker Hub: https://hub.docker.com/r/ncareol/osm-tiles

Usage

Prerequisites, configuration and a demonstration of the complete workflow are available on the wiki.

Command reference is available in help.txt or by running the image:

$ docker run ncareol/osm-tiles

Issues

Issues can be reported on GitHub: https://github.com/ncareol/osm-tiles-docker/issues

License

GPLv3

About

The OpenStreetMap Tile Server in a Docker container

License:GNU General Public License v3.0


Languages

Language:Shell 77.3%Language:HTML 22.7%