My Own Mapserver: Unterschied zwischen den Versionen
Aus DL8RDS Wiki
Dl8rds (Diskussion | Beiträge) (→Preparations) |
Dl8rds (Diskussion | Beiträge) (→Data Import) |
||
Zeile 22: | Zeile 22: | ||
postgresql-9.5-postgis-scripts | postgresql-9.5-postgis-scripts | ||
− | === | + | === Get the Mapnik style === |
− | |||
$ mkdir ~/src | $ mkdir ~/src | ||
− | + | $ cd ~/src | |
− | cd ~/src | + | $ svn co http://svn.openstreetmap.org/applications/rendering/mapnik mapnik-style |
− | + | $ cd ~/src/mapnik-style | |
+ | $ sudo ./get-coastlines.sh /usr/local/share | ||
=== OSM-Bright Configuration === | === OSM-Bright Configuration === |
Version vom 29. Dezember 2017, 04:45 Uhr
Inhaltsverzeichnis
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 Get the Mapnik style
$ mkdir ~/src $ cd ~/src $ svn co http://svn.openstreetmap.org/applications/rendering/mapnik mapnik-style $ cd ~/src/mapnik-style $ sudo ./get-coastlines.sh /usr/local/share