[Tilecache] RV: Newbie question

manel.clos at ajgirona.cat manel.clos at ajgirona.cat
Thu Jan 21 04:37:11 EST 2010


Hi David,

>From Catalunya, yes :)

I always cache all the layers together in TileCache, except the ones that need to be activated/deactivated in OpenLayers. Something like this:

[base]
...
layers=limits,buildings,green

[streets]
...
layers=streets

[points_of_interest]
...
layers=poi

The less layers you have in OL the best, because it will mean less data from web server to the browser.


-----Mensaje original-----
De: tilecache-bounces at openlayers.org [mailto:tilecache-bounces at openlayers.org] En nombre de David Alda Fernandez de Lezea
Enviado el: jueves, 21 de enero de 2010 10:19
Para: tilecache at openlayers.org
Asunto: Re: [Tilecache] RV: Newbie question

Hello Manel,

Thanks for your response, you are from Catalunya, aren't you??. Which is the best way in terms of efficiency?? I've been trying this for a week, and manage to tile this layer I mention separately. The problem is when I try to put them together. I've been reading lots of supposed solutions to a TileCache + MapServer + OL configuration, but I can't get a standard way to configure it. I've read the doc of TileCache where it says that the parameters maxResolution and bbox must be the same in tc.cfg and openlayers layers.

Thanks.


Un saludo,

··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad

IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es
··················································································

-----Mensaje original-----
De: manel.clos at ajgirona.cat [mailto:manel.clos at ajgirona.cat]
Enviado el: jueves, 21 de enero de 2010 10:08
Para: David Alda Fernandez de Lezea; tilecache at openlayers.org
Asunto: RE: [Tilecache] RV: Newbie question

Hi David,

Either you use two OpenLayers layers and cache them separately using Tilecache:

Tilecache.cfg:
[layer_one]
...
layers=source_layer_one

[layer_two]
layers=source_layer_two
...

Or cache them "together" using Tilecache:
[layer_name]
...
Layers=source_layer_one,source_layer_two


Hope this helps!


-----Mensaje original-----
De: tilecache-bounces at openlayers.org [mailto:tilecache-bounces at openlayers.org] En nombre de David Alda Fernandez de Lezea Enviado el: jueves, 21 de enero de 2010 9:58
Para: tilecache at openlayers.org
Asunto: [Tilecache] RV: Newbie question

Sorry, my fault. Here is my question again.


Hello list,

I'm quite new in Tilecache, and I have some questions to which I don't find any answer anywhere. As I posted yesterday, I'm developing a GIS Viewer based on MapServer + Openlayers + Tilecache. I've managed to use tilecache with a WMS layer, but now I want to combine two WMS layer to be tiled together (an ortophoto and some parcels). Is this possible?? If it's possible, what are the steps to get it work together??

Thanks in advance.






Un saludo,



··················································································


David Alda Fernández de Lezea

Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad



IKT

Granja Modelo s/n · 01192 · Arkaute (Araba)


··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es <http://www.ikt.es/>
··················································································

_______________________________________________
Tilecache mailing list
Tilecache at openlayers.org
http://openlayers.org/mailman/listinfo/tilecache



More information about the Tilecache mailing list