[OSM-dev] Problems with mod_tile + tirex

Valery N. cat_crash at tut.by
Fri Mar 23 07:49:27 GMT 2012


Hi, Kai

thank you for answer

I also try valid links like /tiles/mapnik/14/9464/5270.png but result the
same - 404

[Fri Mar 23 07:33:18 2012] [debug] ./mod_tile.c(994): [client
87.252.227.84] tile_translate: op(tile_serve) xml(mapnik) mime(image/png)
z(14) x(9464) y(5270), referer: http://mapserv.test.maps.local/
[Fri Mar 23 07:33:18 2012] [info] [client 87.252.227.84] tile_storage_hook:
handler(tile_serve), uri(/tiles/mapnik/14/9464/5270.png),
filename(/var/lib/mod_tile/tiles/mapnik/14/0/33/68/249/128.meta), path_in
[Fri Mar 23 07:33:18 2012] [debug] ./mod_tile.c(849): [client
87.252.227.84] tile_handler_serve: xml(mapnik) z(14) x(9464) y(5270),
referer: http://mapserv.test.maps.local/
[Fri Mar 23 07:33:20 2012] [debug] ./mod_tile.c(909): [client
87.252.227.84] tile_translate: uri(/tiles/mapnik/14/9463/5270.png),
referer: http://mapserv.test.maps.local/
[Fri Mar 23 07:33:20 2012] [debug] ./mod_tile.c(934): [client
87.252.227.84] tile_translate: testing baseuri(/tiles/mapnik/) name(mapnik)
extension(png), referer: http://mapserv.test.maps.local/
[Fri Mar 23 07:33:20 2012] [debug] ./mod_tile.c(994): [client
87.252.227.84] tile_translate: op(tile_serve) xml(mapnik) mime(image/png)
z(14) x(9463) y(5270), referer: http://mapserv.test.maps.local/

is it so, that according debug info in
folder /var/lib/mod_tile/tiles/mapnik/14/0/33/68/249/ should be only files
with .meta extension ?

user at optiplex:/var/log/apache2$ ls -la
/var/lib/mod_tile/tiles/mapnik/14/0/33/68/249/
total 1680
drwxr-xr-x 2 user user   4096 2012-03-23 07:33 .
drwxr-xr-x 3 user user   4096 2012-03-23 07:33 ..
-rw-r--r-- 1 user user 558007 2012-03-23 07:33 0.meta
-rw-r--r-- 1 user user 379366 2012-03-23 07:33 128.meta
-rw-r--r-- 1 user user 373268 2012-03-23 07:33 136.meta
-rw-r--r-- 1 user user 392739 2012-03-23 07:33 8.meta


So according all logs - all fine, but I recieve 404 :(

2012/3/23 Kai Krueger <kakrueger at gmail.com>

>
> Valery N. wrote
> >
> > For some unknown reasons request like
> > http://mapserv.test.maps.local/tiles/mapnik/1/1/-1.png raise* 404 error*
> > on
> > web server
> >
> Well, that is not a valid request. A negative y coordinate is not allowed
> and so it will correctly give a 404 error.
>
> Also the rest of you mod_tile log seems fine and gives the expected result.
> It will correctly mention "no valid tile layer" for request uri's like
> "/favicon.ico" or "/index.html", and fall through to normal serving of
> those
> files.
>
> Have you tried waiting for a while and then reloading the tile. At low zoom
> levels, rendering tiles can take several minutes and mod_tile will time out
> before it is finished rendering. The next time it will then hopefully get
> the rendered tile from cache.
>
> Kai
>
> --
> View this message in context:
> http://gis.19327.n5.nabble.com/Problems-with-mod-tile-tirex-tp5587540p5588086.html
> Sent from the Developer Discussion mailing list archive at Nabble.com.
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120323/81e00741/attachment.html>


More information about the dev mailing list