Hi, I have used my spare time the last week to set up a tile server, but I am getting tired of seeing pink tiles, so I hope someone here can help me. The setup is as follows: I have rented a Virtual server. It runs ubuntu 14.04. On the server I host some of my domains. One of these domains is lamhauge.dk. In my setup file for lamhauge.dk under /etc/apache2/sites-available I have set '/var/www/osm' as "Document root". I have renamed slipperymap.html to index.htm, and changed the coordinates to be my danish hometown. This means that if you enter the domain lamhauge.dk, you see a map - or rather, you see a lot of pink tiles. The mapnik map works fine. I have followed the guide on https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/. I have imported the danish map only. None of the installations or imports has given error messages. The only problem I can find is that the /var/lib/mod_tile directory is empty. When I do a 'ls -la /var/lib/mod_tile/' I get this result:
I hope someone can give me an idea of what is wrong... Thanks David asked 29 Aug '15, 08:10 DLamhauge |
Hello David,
without knowing a solution for you I recommend to search for "pink" on this FAQ site, because "pink tiles" are a typical error I have read years before.
Or do an internet search about "OSM pink tiles" or similar.
Thank for your recommendation, Stephan75. I have read numerous post after searching for "pink tiles", "mod_tile", "dir empty" and the like. I have tried to put "Header set Access-Control-Allow-Origin "*" " in the config file as someone suggested, but nothing seems to help.