NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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:

total 8
drwxrwxrwx  2 www-data www-data 4096 aug 24 21:14 .
drwxr-xr-x 52 root     root     4096 aug 24 18:28 ..
-rwxrwxrwx  1 www-data www-data    0 aug 25 23:05 planet-import-complete

I hope someone can give me an idea of what is wrong...

Thanks David

asked 29 Aug '15, 08:10

DLamhauge's gravatar image

DLamhauge
11112
accept rate: 0%

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.

(30 Aug '15, 15:05) stephan75

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.

(31 Aug '15, 17:19) DLamhauge

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×287
×80
×11
×5

question asked: 29 Aug '15, 08:10

question was seen: 4,342 times

last updated: 31 Aug '15, 17:19

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum