[OpenLayers-Users] FW: tilecache

Gery . gamejihou at hotmail.com
Mon Nov 5 04:46:55 PST 2012


Now after zooming into the map (whatever area), I got the image, so tilecache is working properly, but I get this in the apache error log:

[Mon Nov 05 12:35:46 2012] [error] Cache miss: -8805545.66046,-1526294.58411,-8766409.90199,-1487158.82564, Tile: x: 287, y: 473, z: 10, time: 0.0658960342407
If I click the openlayers permalink (default zoom in html) I get nothing, where could the problem be?


__________________________________________________________________________________________
Piensa en el medio ambiente - mantenlo en la pantalla. NO lo imprimas si NO es necesario.
Think green - keep it on the screen. Do NOT print if it is NOT necessary.
Denken Sie an die Umwelt - bewahren Sie es auf dem Bildschirm. Drucken Sie NICHT, wenn es NICHT notwendig ist.


From: gamejihou at hotmail.com
To: diegoguidi at gmail.com
CC: openlayers-users at lists.osgeo.org
Subject: RE: [OpenLayers-Users] tilecache
Date: Mon, 5 Nov 2012 11:03:36 +0000





thanks for the link, I checked and took some ideas, however the problem is still there. BTW, I'm not trying to "tilecache" the google stuff, only my postgis tables served by mapserver. I found this error in the apache log (/etc/httpd/logs/error_log):

[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8453323.83419,-1565430.34259,-8296780.80029,-1408887.30869, Tile: x: 74, y: 118, z: 8, time: 0.000178098678589, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8296780.80029,-1565430.34259,-8140237.76639,-1408887.30869, Tile: x: 75, y: 118, z: 8, time: 0.000138998031616, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8766409.90199,-1565430.34259,-8609866.86809,-1408887.30869, Tile: x: 72, y: 118, z: 8, time: 0.000137090682983, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8922952.93589,-1565430.34259,-8766409.90199,-1408887.30869, Tile: x: 71, y: 118, z: 8, time: 0.000151872634888, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9079495.96979,-1721973.37649,-8922952.93589,-1565430.34259, Tile: x: 70, y: 117, z: 8, time: 0.000137090682983, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8922952.93589,-1721973.37649,-8766409.90199,-1565430.34259, Tile: x: 71, y: 117, z: 8, time: 0.000167846679688, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8766409.90199,-1721973.37649,-8609866.86809,-1565430.34259, Tile: x: 72, y: 117, z: 8, time: 0.000139951705933, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8609866.86809,-1721973.37649,-8453323.83419,-1565430.34259, Tile: x: 73, y: 117, z: 8, time: 0.000118970870972, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8453323.83419,-1721973.37649,-8296780.80029,-1565430.34259, Tile: x: 74, y: 117, z: 8, time: 0.000113010406494, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8140237.76639,-1408887.30869,-7983694.73249,-1252344.27479, Tile: x: 76, y: 119, z: 8, time: 0.000144958496094, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8296780.80029,-1721973.37649,-8140237.76639,-1565430.34259, Tile: x: 75, y: 117, z: 8, time: 0.000133991241455, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8140237.76639,-1721973.37649,-7983694.73249,-1565430.34259, Tile: x: 76, y: 117, z: 8, time: 0.000121831893921, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8140237.76639,-1565430.34259,-7983694.73249,-1408887.30869, Tile: x: 76, y: 118, z: 8, time: 0.000123023986816, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8296780.80029,-1408887.30869,-8140237.76639,-1252344.27479, Tile: x: 75, y: 119, z: 8, time: 0.000144004821777, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8453323.83419,-1408887.30869,-8296780.80029,-1252344.27479, Tile: x: 74, y: 119, z: 8, time: 0.000117063522339, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8609866.86809,-1408887.30869,-8453323.83419,-1252344.27479, Tile: x: 73, y: 119, z: 8, time: 0.000133037567139, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8766409.90199,-1408887.30869,-8609866.86809,-1252344.27479, Tile: x: 72, y: 119, z: 8, time: 0.000148057937622, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8922952.93589,-1408887.30869,-8766409.90199,-1252344.27479, Tile: x: 71, y: 119, z: 8, time: 0.000128984451294, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9079495.96979,-1408887.30869,-8922952.93589,-1252344.27479, Tile: x: 70, y: 119, z: 8, time: 0.000117063522339, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9236039.00369,-1408887.30869,-9079495.96979,-1252344.27479, Tile: x: 69, y: 119, z: 8, time: 0.000138998031616, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9236039.00369,-1565430.34259,-9079495.96979,-1408887.30869, Tile: x: 69, y: 118, z: 8, time: 0.000123023986816, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8609866.86809,-1565430.34259,-8453323.83419,-1408887.30869, Tile: x: 73, y: 118, z: 8, time: 0.000136137008667, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9236039.00369,-1721973.37649,-9079495.96979,-1565430.34259, Tile: x: 69, y: 117, z: 8, time: 0.00012993812561, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8922952.93589,-1878516.41039,-8766409.90199,-1721973.37649, Tile: x: 71, y: 116, z: 8, time: 0.000126123428345, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9079495.96979,-1878516.41039,-8922952.93589,-1721973.37649, Tile: x: 70, y: 116, z: 8, time: 0.000138998031616, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8766409.90199,-1878516.41039,-8609866.86809,-1721973.37649, Tile: x: 72, y: 116, z: 8, time: 0.000124931335449, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8609866.86809,-1878516.41039,-8453323.83419,-1721973.37649, Tile: x: 73, y: 116, z: 8, time: 0.000185966491699, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9079495.96979,-1565430.34259,-8922952.93589,-1408887.30869, Tile: x: 70, y: 118, z: 8, time: 0.000138998031616, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9236039.00369,-1878516.41039,-9079495.96979,-1721973.37649, Tile: x: 69, y: 116, z: 8, time: 0.000123023986816, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8453323.83419,-1878516.41039,-8296780.80029,-1721973.37649, Tile: x: 74, y: 116, z: 8, time: 0.000151872634888, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8296780.80029,-1878516.41039,-8140237.76639,-1721973.37649, Tile: x: 75, y: 116, z: 8, time: 0.000149965286255, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8140237.76639,-1878516.41039,-7983694.73249,-1721973.37649, Tile: x: 76, y: 116, z: 8, time: 0.000125885009766, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -7983694.73249,-1878516.41039,-7827151.69859,-1721973.37649, Tile: x: 77, y: 116, z: 8, time: 0.000150203704834, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -7983694.73249,-1565430.34259,-7827151.69859,-1408887.30869, Tile: x: 77, y: 118, z: 8, time: 0.000125885009766, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -7983694.73249,-1721973.37649,-7827151.69859,-1565430.34259, Tile: x: 77, y: 117, z: 8, time: 0.000149965286255, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -7983694.73249,-1408887.30869,-7827151.69859,-1252344.27479, Tile: x: 77, y: 119, z: 8, time: 0.000142812728882, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -7983694.73249,-1252344.27479,-7827151.69859,-1095801.24089, Tile: x: 77, y: 120, z: 8, time: 0.000127077102661, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8140237.76639,-1252344.27479,-7983694.73249,-1095801.24089, Tile: x: 76, y: 120, z: 8, time: 0.000130176544189, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8296780.80029,-1252344.27479,-8140237.76639,-1095801.24089, Tile: x: 75, y: 120, z: 8, time: 0.000136137008667, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8453323.83419,-1252344.27479,-8296780.80029,-1095801.24089, Tile: x: 74, y: 120, z: 8, time: 9.29832458496e-05, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8609866.86809,-1252344.27479,-8453323.83419,-1095801.24089, Tile: x: 73, y: 120, z: 8, time: 0.000131845474243, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8766409.90199,-1252344.27479,-8609866.86809,-1095801.24089, Tile: x: 72, y: 120, z: 8, time: 0.000133037567139, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -8922952.93589,-1252344.27479,-8766409.90199,-1095801.24089, Tile: x: 71, y: 120, z: 8, time: 0.000125169754028, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9079495.96979,-1252344.27479,-8922952.93589,-1095801.24089, Tile: x: 70, y: 120, z: 8, time: 8.89301300049e-05, debug: True
[Mon Nov 05 11:55:05 2012] [error] Cache hit: -9236039.00369,-1252344.27479,-9079495.96979,-1095801.24089, Tile: x: 69, y: 120, z: 8, time: 0.000124931335449, debug: True

I know the big numbers are the layer extent (by tiles I think), but what means the x, y and z? I think this is why the layers are not being displayed.

Any idea is much appreciated.


__________________________________________________________________________________________
Piensa en el medio ambiente - mantenlo en la pantalla. NO lo imprimas si NO es necesario.
Think green - keep it on the screen. Do NOT print if it is NOT necessary.
Denken Sie an die Umwelt - bewahren Sie es auf dem Bildschirm. Drucken Sie NICHT, wenn es NICHT notwendig ist.


> From: diegoguidi at gmail.com
> Date: Sun, 4 Nov 2012 22:17:39 +0100
> Subject: Re: [OpenLayers-Users] tilecache
> To: gamejihou at hotmail.com
> CC: openlayers-users at lists.osgeo.org
> 
> you should also tell tilecache the srs to use.
> http://crschmidt.net/blog/archives/311/using-tilecache-with-google-maps-and-virtual-earth/
> 
> Diego Guidi
> 
> 
> On Sun, Nov 4, 2012 at 4:55 PM, Gery . <gamejihou at hotmail.com> wrote:
> > thanks Diego for the tip, my MAP file has both epsg.4326 (ie. postgis
> > tables) and epsg:900913 at the same object level, that`s why the postgis
> > layers are displayed in openlayers over google (satellite, maps, etc...)
> > when I use the whole link (ie. using mapserv). If I use tilecache this
> > doesnt work, no idea why.
> >
> >
> >
> > __________________________________________________________________________________________
> > Piensa en el medio ambiente - mantenlo en la pantalla. NO lo imprimas si NO
> > es necesario.
> > Think green - keep it on the screen. Do NOT print if it is NOT necessary.
> > Denken Sie an die Umwelt - bewahren Sie es auf dem Bildschirm. Drucken Sie
> > NICHT, wenn es NICHT notwendig ist.
> >
> >
> >> From: diegoguidi at gmail.com
> >> Date: Sun, 4 Nov 2012 13:52:45 +0100
> >> Subject: Re: [OpenLayers-Users] tilecache
> >> To: gamejihou at hotmail.com
> >> CC: openlayers-users at lists.osgeo.org
> >
> >>
> >> > those are served by mapserver using an extent in decimal degrees
> >> you should tell mapserver to transform data to EPSG:900913
> >> to me, looks a wrong mapserver configuration.
> >>
> >> http://mapserver.org/mapfile/projection.html
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121105/4a4b9818/attachment.html>


More information about the Users mailing list