[OSM-newbies] Mod_tile does not work
Sewa Agbodjan
delalom at gmail.com
Fri Dec 2 20:24:46 GMT 2011
Hi OSMers.
I installed Mapnik and I can render my own tiles.
I now want to go the next step which is to use mod_tile but I can't get it
to work.
I'm using Ubuntu 11.10 64 bits and followed this how to :
http://wiki.openstreetmap.org/wiki/HowTo_mod_tile.
Browsing the map page : http://localhost/map.html does not display anything
and does not generate the tiles.
Trying this URL does not http://localhost/osm-tiles2/0/0/0.png generate
the tiles as well.
Below is the output of ./renderd.py
Layer name: default
URI(/osm_tiles2/) = XML(/home/psi/bin/mapnik/osm.xml)
Started render thread Thread-1
Started render thread Thread-2
Started render thread Thread-3
Started render thread Thread-4
There is no renderd error in the syslog
And http://localhost/osm-tiles2/0/0/0.png generates the following apache
error log.
[Fri Dec 02 15:09:25 2011] [error] [client 127.0.0.1] File does not exist:
/var/www/osm-tiles2
In the map.html code I can see that the URI of the rendered tiles are in
the folder /osm_tiles2/ but I do not see how the redirection is done
at the apache level to locate /osm_tiles2).
var newL = new OpenLayers.Layer.OSM("Default",
"/osm_tiles2/${z}/${x}/${y}.png", {numZoomLevels: 19});
Runing the ./render_list -m default -a -z 0 -Z 10 will just display the
following information.
./render_list -m default -a -z 0 -Z 10
Rendering client
Planet file updated at Thu Dec 1 20:47:49 2011
Starting 1 rendering threads
Rendering all tiles from zoom 0 to zoom 10
Rendering all tiles for zoom 0 from (0, 0) to (0, 0)
Rendering all tiles for zoom 1 from (0, 0) to (1, 1)
Rendering all tiles for zoom 2 from (0, 0) to (3, 3)
Rendering all tiles for zoom 3 from (0, 0) to (7, 7)
Rendering all tiles for zoom 4 from (0, 0) to (15, 15)
Rendering all tiles for zoom 5 from (0, 0) to (31, 31)
Requesting xml(default) x(0) y(0) z(0)
Rendering all tiles for zoom 6 from (0, 0) to (63, 63)
I will greatly appreciate the list help to solve this.
Thank you.
Sewa
--
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20111202/c2aebec1/attachment.html>
More information about the newbies
mailing list