Kai Krueger wrote:
A simple standard tileserver can now be setup in 5 commands in a terminal:

sudo add-apt-repository ppa:kakrueger/openstreetmap
sudo apt-get install libapache2-mod-tile
wget http://download.geofabrik.de/osm/north-america/us/colorado.osm.pbf
osm2pgsql -C 1500 colorado.osm.pbf
sudo /etc/init.d/renderd restart


Hmm - something's not quite right. The "Mapnik" base layer displays OK (i.e. grabs tiles from OSM) but "Local Tiles" displays a blank white screen.

This is with:
o Ubuntu server 11.04
o Postgres already installed with data from a GB extract from Geofabrik (and I have separately run generate_tiles.py to produce tiles; so the data appears to be there OK)
o Running the "apt-get install" from root
o Answering "no" to the "download OSM data" question in the postinstall script for libapache2-mod-tile but answering "yes" to the others, so /etc/mapnik-osm-data/ has something in it.

The result is that /var/lib/mod_tile/**is empty, and /var/www/osm has only slippymap.html in it.

Running "apt-get remove libapache2-mod-tile;apt-get install libapache2-mod-tile" doesn't rerun the configuration; is it supposed to? Also:

root@ajt-medion:~# /etc/init.d/apache2 reload
Syntax error on line 20 of /etc/apache2/sites-enabled/tileserver_site:
Invalid command 'LoadTileConfigFile', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!

Cheers,
Andy


_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to