[OpenLayers-Users] OpenLayers.Layer.TMS requesting too manytiles?

Eirik Wahl Eirik.Wahl at powel.no
Wed Feb 18 02:22:59 EST 2009


Just an extra tip for anyone experiencing trouble with
TileCache/mod_python:

We had a similar problem with TileCache, and couldn't get mod_python to
work on our Windows server.

We switched to geoCache [1], which basically is a port of TileCache from
Python to C#, and this works very well for us and our Windows
IIS-server. It integrates very well with OpenLayers.

[1] http://www.codeplex.com/geoCache

Regards,
Eirik


-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Brian Walawender
Sent: Tuesday, February 17, 2009 7:22 PM
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] OpenLayers.Layer.TMS requesting too
manytiles?

Chris,

I converted to mod_python, I see what you mean from the performance end.
Thanks for your help.

bw

-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On
Behalf Of Christopher Schmidt
Sent: Tuesday, February 17, 2009 10:37 AM
To: Brian Walawender
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] OpenLayers.Layer.TMS requesting too many
tiles?

On Tue, Feb 17, 2009 at 09:57:56AM -0600, Brian Walawender wrote:
> Hello,
> 
> I'm trying to have OpenLayers interact with TileCache similar to the
way
the
> Google Maps and GTileLayerOverlay interacts with tilecache.    My
Google
> example will load in about 3 seconds (the tiles were already created)
and
> requests 55 tiles from the server.  My Openlayers application takes
several
> minutes to load and is requesting about 3 times as many tiles.  It
also
> spawns numerous Python processes on the servers and max out the CPU.  

1. Don't use TileCache as CGI if you care in the slightest about
performance. Really. I mean it.

2. set 'buffer': 0 as an option on your TMS layer.

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.powel.no
**********************************************************************




More information about the Users mailing list