My Own Mapserver

Aus DL8RDS Wiki
Wechseln zu: Navigation, Suche

1 Scope

We have a really great high performance computer at DB0HSR, and since we're going to do several geography based experiments with it, we need our own mapserver to display positions.

There are other mapservers in the HAMNET:

2 Implementation

I am replicating this report:

2.1 Preparations

$ sudo apt-get install libmapnik-dev mapnik-utils git subversion \
dh-autoreconf apache2-dev apache2 unzip postgis make cmake g++ \
libboost-dev libboost-system-dev libboost-filesystem-dev \
libexpat1-dev zlib1g-dev libbz2-dev libpq-dev libproj-dev \
lua5.2 liblua5.2-dev postgis imposm git postgresql postgresql-9.5-postgis-2.2 \
postgresql-9.5-postgis-scripts

2.2 Data Import

$ sudo aptitude install postgis imposm git postgresql postgresql-9.1-postgis
$ mkdir ~/src
cd ~/src && wget http://download.geofabrik.de/europe/germany/rheinland-pfalz-latest.osm.pbf


2.3 OSM-Bright Configuration

2.4 Generate MBTiles with TileMill

2.5 Deploy MBTiles with TileStream