x

mapnik 2. Style hinzufügen


Geschrieben von karstenhl (Gast) am 25. März 2017 13:11:18: [flux]

hallo,

ich habe openstreetmap-carto-2.29.1 und mapnik installliert und bereits gerendert.

nun möchte ich einen neuen style installieren: https://github.com/openmaptiles/mapbox- … pencil.tm2

was ich bereits geschafft habe ist das der hintergrund zu sehen ist ohne strassen etc.

ich habe dafür die default einstellungen in der renderd.conf bearbeitet.

original:

[default]
URI=/osm_tiles/
TILEDIR=/var/lib/mod_tile
XML=/home/mapnik/openstreetmap-carto-2.29.1/style.xml
HOST=localhost
TILESIZE=256
;HTCPHOST=proxy.openstreetmap.org
;** config options used by mod_tile, but not renderd **
;MINZOOM=0
;MAXZOOM=18
;TYPE=png image/png
;DESCRIPTION=This is a description of the tile layer used in the tile json request
;ATTRIBUTION=&copy;<a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> and <a href=\"http://wiki.openstreetmap.org/wiki/Contributors\">contributors</a>, <a href=\"http://opendatacommons.org/licenses/odbl/\">ODbL</a>
;SERVER_ALIAS=http://localhost/
;CORS=http://www.openstreetmap.org
;ASPECTX=1
;ASPECTY=1

pencil:

[default]
URI=/osm_tiles/
TILEDIR=/var/lib/mod_tile
XML=/home/mapnik/pencil/project.xml
HOST=localhost
TILESIZE=256
;HTCPHOST=proxy.openstreetmap.org
;** config options used by mod_tile, but not renderd **
;MINZOOM=0
;MAXZOOM=18
;TYPE=png image/png
;DESCRIPTION=This is a description of the tile layer used in the tile json request
;ATTRIBUTION=&copy;<a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> and <a href=\"http://wiki.openstreetmap.org/wiki/Contributors\">contributors</a>, <a href=\"http://opendatacommons.org/licenses/odbl/\">ODbL</a>
;SERVER_ALIAS=http://localhost/
;CORS=http://www.openstreetmap.org
;ASPECTX=1
;ASPECTY=1

wie installiere ich diesen style richtig? oder fehlt da einfach der rest?

danke


Antworten: