Overv / openstreetmap-tile-server

Docker file for a minimal effort OpenStreetMap tile server
Apache License 2.0
1.23k stars 486 forks source link

How could I set the style? #10

Closed costales closed 5 years ago

costales commented 6 years ago

Hi,

Is there any way for setting another map style? Not the default OSM. Mapnik for example?

Thanks in advance!

Overv commented 6 years ago

To do that you need to get another mapnik.xml file rather than the Carto one. For example, I use the osm-bright style from Mapbox:

https://github.com/mapbox/osm-bright/tree/master/osm-bright

It can be compiled to a mapnik.xml as described here in the Dockerfile:

https://github.com/Overv/openstreetmap-tile-server/blob/67a1bf2ded33a6e488178ee3cf5746904235d7ae/Dockerfile#L60

You would then put that file in the container in the same place as the original.

costales commented 6 years ago

Thanks @Overv

Sorry, but I'm new in Docker. Could you put here how could I set that osm-bright style? I suppose I should do something before to run the command:

docker run -v /absolute/path/to/luxembourg.osm.pbf:/data.osm.pbf -v openstreetmap-data:/var/lib/postgresql/10/main overv/openstreetmap-tile-server import

Thanks in advance.

Overv commented 6 years ago

You need to modify the Dockerfile in this repository to clone osm-bright instead of openstreetmap-carto and make sure that the right mml file is compiled (I think it's osm-bright.osm2pgsql.mml). There may be a few more steps but I can't remember them right now.

costales commented 6 years ago

Thanks @Overv :) I'll play a bit with that.

And thank you for this awesome easy to deploy OSM server!! \o/

2803media commented 3 years ago

Hi @Overv I try to use the positron style from cartodb https://github.com/CartoDB/basemap-styles/tree/master/cartocss/web-styles/positron.tm2

As I understand the mapnik.xml is already build (named project.xml there), I try to copy this file and replace the existing mapnik.xml in the docker container but my tiles are blank so I guess I missed something ;)

Thanks for your input!

Istador commented 3 years ago

The project.xml does reference other files in the images and fonts directories, you need to copy/mount them too. There should be entries in the docker log saying that it can't find those files while rendering the tiles.

2803media commented 3 years ago

Hello @Istador I copy those folders too as you can see (by the way i don't know if there are mount):

root@0fdc462cb6c6:/home/renderer/src/openstreetmap-carto# ls
CARTOGRAPHY.md      README.md           ferry-routes.mss  mapnik.xml                 road-colors-generated.mss
CHANGELOG.md        RELEASES.md         fonts             node_modules               road-colors.yaml
CODE_OF_CONDUCT.md  USECASES.md         fonts.mss         openstreetmap-carto.lua    roads.mss
CONTRIBUTING.md     addressing.mss      hydro.mss         openstreetmap-carto.style  scripts
DOCKER.md           admin.mss           images            package-lock.json          shapefiles.mss
Dockerfile          aerialways.mss      indexes.sql       placenames.mss             stations.mss
Dockerfile.db       amenity-points.mss  indexes.yml       positron                   style.mss
Dockerfile.import   buildings.mss       labels.mss        power.mss                  symbols
INSTALL.md          data                landcover.mss     preview.png                water-features.mss
LICENSE.txt         docker-compose.yml  landuse.mss       project.mml                water.mss

Here is the log of the container just after restart (sorry it's a bit huge)

+ '[' 1 -ne 1 ']'
+ '[' run = import ']'
+ '[' run = run ']'
+ rm -rf /tmp/httpd_shm.65 /tmp/httpd_shm_delay.65
+ chown postgres:postgres /var/lib/postgresql -R
+ '[' '' == enabled ']'
+ '[' '' == 1 ']'
+ createPostgresConfig
+ cp /etc/postgresql/12/main/postgresql.custom.conf.tmpl /etc/postgresql/12/main/conf.d/postgresql.custom.conf
+ sudo -u postgres echo 'autovacuum = on'
+ cat /etc/postgresql/12/main/conf.d/postgresql.custom.conf
# Suggested minimal settings from
# https://ircama.github.io/osm-carto-tutorials/tile-server-ubuntu/

shared_buffers = 128MB
min_wal_size = 1GB
max_wal_size = 2GB
maintenance_work_mem = 256MB

# Suggested settings from
# https://github.com/openstreetmap/chef/blob/master/roles/tile.rb#L38-L45

max_connections = 250
temp_buffers = 32MB
work_mem = 128MB
wal_buffers = 1024kB
wal_writer_delay = 500ms
commit_delay = 10000
# checkpoint_segments = 60 # unrecognized in psql 10.7.1
max_wal_size = 2880MB
random_page_cost = 1.1
track_activity_query_size = 16384
autovacuum_vacuum_scale_factor = 0.05
autovacuum_analyze_scale_factor = 0.02

listen_addresses = '*'
autovacuum = on
+ service postgresql start
 * Starting PostgreSQL 12 database server
   ...done.
+ service apache2 restart
 * Restarting Apache httpd web server apache2
[Sat Nov 21 17:31:39.855675 2020] [tile:notice] [pid 63:tid 139967401958336] Loading tile config ajt at /tile/ for zooms 0 - 20 from tile directory /var/lib/mod_tile with extension .png and mime type image/png
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
   ...done.
+ setPostgresPassword
+ sudo -u postgres psql -c 'ALTER USER renderer PASSWORD '\''renderer'\'''
ALTER ROLE
+ sed -i -E 's/num_threads=[0-9]+/num_threads=4/g' /usr/local/etc/renderd.conf
+ '[' disabled = enabled ']'
+ '[' disabled = 1 ']'
+ trap stop_handler SIGTERM
+ child=140
+ sudo -u renderer renderd -f -c /usr/local/etc/renderd.conf
+ wait 140
renderd[141]: Rendering daemon started
renderd[141]: Initiating request_queue
renderd[141]: Parsing section renderd
renderd[141]: Parsing render section 0
renderd[141]: Parsing section mapnik
renderd[141]: Parsing section ajt
renderd[141]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[141]: config renderd: num_threads=4
renderd[141]: config renderd: num_slaves=0
renderd[141]: config renderd: tile_dir=/var/lib/mod_tile
renderd[141]: config renderd: stats_file=/var/run/renderd/renderd.stats
renderd[141]: config mapnik:  plugins_dir=/usr/lib/mapnik/3.0/input
renderd[141]: config mapnik:  font_dir=/usr/share/fonts
renderd[141]: config mapnik:  font_dir_recurse=1
renderd[141]: config renderd(0): Active
renderd[141]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock
renderd[141]: config renderd(0): num_threads=4
renderd[141]: config renderd(0): tile_dir=/var/lib/mod_tile
renderd[141]: config renderd(0): stats_file=/var/run/renderd/renderd.stats
renderd[141]: config map 0:   name(ajt) file(/home/renderer/src/openstreetmap-carto/mapnik.xml) uri(/tile/) htcp() host(localhost)
renderd[141]: Initialising unix server socket on /var/run/renderd/renderd.sock
renderd[141]: Created server socket 3
renderd[141]: Renderd is using mapnik version 3.0.19
renderd[141]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
renderd[141]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc
renderd[141]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSerifCJK-Bold.ttc
renderd[141]: DEBUG: Loading font: /usr/share/fonts/opentype/noto/NotoSansCJK-Bold.ttc
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSans-ExtraLight.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuMathTeXGyre.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-BoldItalic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-BoldOblique.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Oblique.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Italic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBatak-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifThai-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCarian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLydian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansYi-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOldSouthArabian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDeseret-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTaiTham-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSamaritan-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKaithi-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGurmukhi-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBrahmi-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMalayalamUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTagbanwa-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGothic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKayahLi-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifThai-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLimbu-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBamum-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOriya-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMyanmarUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSinhala-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansRejang-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGeorgian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOriya-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMalayalam-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansJavanese-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTeluguUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifLao-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMyanmarUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifBengali-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerif-BoldItalic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansArabic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSyriacEstrangela-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGlagolitic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMeeteiMayek-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTelugu-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSans-Italic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifTelugu-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansShavian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifKannada-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifEthiopic-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLao-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGujaratiUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLisu-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansEgyptianHieroglyphs-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifArmenian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOldPersian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansArmenian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansAdlam-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBengaliUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLycian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansHebrew-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSans-BoldItalic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOgham-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifMyanmar-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSyriacEastern-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifTamil-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMandaic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGujaratiUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoNaskhArabicUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifDisplay-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMyanmar-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSymbols-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGurmukhiUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCoptic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLao-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifGujarati-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLinearB-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOsmanya-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSundanese-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifDisplay-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGurmukhiUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifSinhala-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansArabic-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGurmukhi-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansImperialAramaic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansAnatolianHieroglyphs-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKannadaUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMalayalam-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansThaiUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansThaana-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifDevanagari-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifDevanagari-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifGeorgian-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOsage-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSyriacWestern-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMyanmar-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSinhalaUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTifinagh-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCypriot-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansEthiopic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOriyaUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansArabicUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDevanagari-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKannada-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDisplay-Italic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansThai-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTamilUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBengali-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansRunic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCham-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansHebrew-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMongolian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerif-Italic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLepcha-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCanadianAboriginal-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKharoshthi-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKhmerUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansVai-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifTelugu-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCham-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansEthiopic-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMalayalamUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSaurashtra-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoNaskhArabicUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTamilUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDevanagariUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKannada-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoNaskhArabic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDisplay-BoldItalic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerif-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTagalog-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCherokee-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBengali-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoKufiArabic-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSylotiNagri-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLaoUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerif-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifDisplay-Italic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTamil-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGujarati-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifHebrew-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTaiViet-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOldTurkic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansAdlamUnjoined-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansAvestan-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOriyaUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifHebrew-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifEthiopic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCuneiform-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBalinese-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifTamil-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansThaana-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansUgaritic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoNaskhArabic-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansInscriptionalPahlavi-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoKufiArabic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansArmenian-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOlChiki-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifArmenian-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifMyanmar-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBengaliUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSinhalaUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansCherokee-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMono-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKhmerUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansChakma-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifMalayalam-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansNKo-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifKannada-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSymbols-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGeorgian-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansLaoUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDisplay-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifSinhala-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifGujarati-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTeluguUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTaiLe-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBuhid-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansThaiUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifBengali-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoNastaliqUrdu-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSans-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansGujarati-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansPhagsPa-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKhmer-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSinhala-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansHanunoo-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansBuginese-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansThai-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansSymbols2-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKannadaUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifLao-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifMalayalam-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansKhmer-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifKhmer-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansMono-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDevanagari-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifDisplay-BoldItalic.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansInscriptionalParthian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansArabicUI-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansOldItalic-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTamil-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTibetan-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDisplay-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifGeorgian-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTelugu-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSerifKhmer-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansPhoenician-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansNewTaiLue-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansDevanagariUI-Regular.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/noto/NotoSansTibetan-Bold.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/unifont/unifont.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/unifont/unifont_sample.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/unifont/unifont_csur.ttf
renderd[141]: DEBUG: Loading font: /usr/share/fonts/truetype/unifont/unifont_upper.ttf
Running in foreground mode...
renderd[141]: Starting stats thread
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[141]: Loading parameterization function for 
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[141]: Loading parameterization function for 
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[141]: Loading parameterization function for 
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[141]: Loading parameterization function for 
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-0'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-1'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-0'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-2'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-3'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-1'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-2'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-3'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-0'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-0'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-1'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-2'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-3'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-1'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-2'
Mapnik LOG> 2020-11-21 17:31:41: warning: unable to find face-name 'Arial Unicode MS Regular' in FontSet 'fontset-3'
renderd[141]: Using web mercator projection settings
renderd[141]: Using web mercator projection settings
renderd[141]: Using web mercator projection settings
renderd[141]: Using web mercator projection settings
2803media commented 3 years ago

And before restart i delete the old tiles

rm -rf /var/lib/mod_tile/ajt/

ftballguy45 commented 3 years ago

@2803media hey were you ever able to get the custom style to work?

tajchert commented 3 years ago

I have a very similar issue. I'm trying to use Positron from CartoDB/basemap-styles as an initial style, however, I wasn't not able to make it work with Kosmtik. So I'm still a step ahead to generate project.xml and replace one in the docker image.