[Tilecache] Question about image output formatsanderrorseedingtilecache

manel.clos at ajgirona.cat manel.clos at ajgirona.cat
Tue Jun 1 06:38:01 EDT 2010


So the problem must be between your tilecache server and the wms server.

Perhaps you can try to run tilecache locally in your computer (as you said openlayers loads tiles quickly from your computer, directly from the wms server)... Or you can try using wget from within the same server that is running TileCache.

That should help you isolate the problem...


> -----Mensaje original-----
> De: tilecache-bounces at lists.osgeo.org
> [mailto:tilecache-bounces at lists.osgeo.org] En nombre de David
> Alda Fernandez de Lezea
> Enviado el: martes, 01 de junio de 2010 11:06
> Para: tilecache at openlayers.org
> Asunto: RE: [Tilecache] Question about image output
> formatsanderrorseedingtilecache
>
>
> Manel,
>
> I tried what you said, requesting some tiles through a the
> browser, and they're returned quite fast, I navigate through
> the map and seems to work OK and fast. It's strange because
> I've tiled several layers and until now it's been quite fast,
> but particularly with this layer and GIF format is were I
> found the problem. This layer is only of lines. I don't know
> what could be the problem.
>
> Thanks anyway.
>
>
> -----Mensaje original-----
> De: manel.clos at ajgirona.cat [mailto:manel.clos at ajgirona.cat]
> Enviado el: martes, 01 de junio de 2010 10:02
> Para: David Alda Fernandez de Lezea; tilecache at openlayers.org
> Asunto: RE: [Tilecache] Question about image output
> formatsanderrorseedingtilecache
>
> David,
>
> TileCache is just opening a connection to your WMS and
> sending the request. If the connection/request times out the
> problem is in the WMS server. Try to ask for some tiles using
> OpenLayers, a web browser or wget to time it.
>
>
> > -----Mensaje original-----
> > De: tilecache-bounces at lists.osgeo.org
> > [mailto:tilecache-bounces at lists.osgeo.org] En nombre de David Alda
> > Fernandez de Lezea Enviado el: martes, 01 de junio de 2010 8:52
> > Para: tilecache at openlayers.org
> > Asunto: RE: [Tilecache] Question about image output formats
> > anderrorseedingtilecache
> >
> > Hi,
> >
> > I exported this shape to Oracle Spatial but I still have the same
> > problem of slow response. The table is 1500000 rows size.
> Can be this
> > a problem to tilecache?? Any special configuration that I have to
> > set??
> >
> > Thanks.
> >
> > -----Mensaje original-----
> > De: tilecache-bounces at lists.osgeo.org
> > [mailto:tilecache-bounces at lists.osgeo.org] En nombre de David Alda
> > Fernandez de Lezea Enviado el: lunes, 31 de mayo de 2010 15:48
> > Para: tilecache at openlayers.org
> > Asunto: RE: [Tilecache] Question about image output formats
> > anderrorseedingtilecache
> >
> > Hi Manel,
> >
> > Yes it does. The thing is that I have done this with some
> layers that
> > are stored in Oracle Spatial and it works OK, it doesn't
> seem to take
> > too long, but this one I want to tile is in shape format,
> could it be
> > this the problem??
> >
> >
> >
> > 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: lunes, 31 de mayo de 2010 15:45
> > Para: David Alda Fernandez de Lezea
> > Asunto: RE: [Tilecache] Question about image output formats and
> > errorseedingtilecache
> >
> > Hi David,
> >
> > >     response = self.client.open(urlrequest)
> > >   File "C:\Python25\Lib\urllib2.py", line 387, in open
> > >     response = meth(req, response)
> > >   File "C:\Python25\Lib\urllib2.py", line 498, in http_response
> > >     'http', request, response, code, msg, hdrs)
> > >   File "C:\Python25\Lib\urllib2.py", line 425, in error
> > >     return self._call_chain(*args)
> > >   File "C:\Python25\Lib\urllib2.py", line 360, in _call_chain
> > >     result = func(*args)
> > >   File "C:\Python25\Lib\urllib2.py", line 506, in
> http_error_default
> > >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > > urllib2.HTTPError: HTTP Error 504: Gateway Time-out
> >
> > Can you check the same request sent to TileCache directly to your
> > server?
> >
> > Also, a GetCapabilities:
> >
> > http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejem
> > plo_wms.map&service=WMS&request=GetCapabilities
> >
> > Does your browser load it in a few seconds?
> >
> >
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/tilecache
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/tilecache
> >
> _______________________________________________
> Tilecache mailing list
> Tilecache at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/tilecache
>


More information about the Tilecache mailing list