You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2017-03-25 13:11:18
- karstenhl
- Member
- Registered: 2017-01-10
- Posts: 47
mapnik 2. Style hinzufügen
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=©<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=©<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
Offline
#2 2017-03-28 16:47:10
- maxbe
- Member
- Registered: 2010-01-19
- Posts: 3,255
- Website
Re: mapnik 2. Style hinzufügen
nun möchte ich einen neuen style installieren
Bei "hintergrund zu sehen ist ohne strassen" hätte ich auf "der hat keiner Verbindung zur Datenbank" getippt. Die habe ich im Stil gesucht, aber nicht gefunden.
Ist das überhaupt ein Stil für "pures" Mapnik? Ich denke, da muss man auch Mapbox Studio installiert haben und dort irgendwie den Stil unterbringen. Hab aber keine Ahnung, wie dieses Studio funktioniert.
Offline
Pages: 1