[Tilecache] threshold

Brent Pedersen bpederse at gmail.com
Wed Mar 14 12:12:17 EDT 2007


i wasnt using reproject:false either. that fixes things for me for now
as well without the patch.
but schuyler, yes, the threshold was arbitrary. your patch makes
sense. i applied it and all still works.
thanks for the help.
-brent



On 3/14/07, Schuyler Erle <sderle at metacarta.com> wrote:
> On Wed, 2007-03-14 at 15:23 +0100, Eric Lemoine wrote:
> > On 3/14/07, Eric Lemoine <Eric.Lemoine at camptocamp.com> wrote:
> > > On 3/14/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> > > > On Wed, Mar 14, 2007 at 02:47:43PM +0100, Eric Lemoine wrote:
> > > > > layer = new OpenLayers.Layer.WMS(
> > > > >   'Train',
> > > > >   tileCacheUrl,
> > > > >   { layers: [ 'train' ], transparent: true, format: "image/png" },
> > > > >   { buffer: 1, isBaseLayer: false }
> > > > > );
> > > > > layer.setVisibility(false);
> > > >
> > > > """
> > > > If you are using TileCache for overlays, you should set the 'reproject'
> > > > option on the layer to 'false'.
> > > > """
> > > >
> > > >  -- http://tilecache.org/tilecache-1.4.tar.gz/README
> > > >
> > > > >   { buffer: 1, isBaseLayer: false, reproject: false }
> > >
> > > I had missed that one on the tilecache doc. That actually fixes my
> > > problem, even without any tilecache patch applied.
> >
> > Note that I still get a while image with Schuyler's patch applied.
>
> FWIW I think I see why. I'll have a poke at this later and commit
> something a little more sensible for 1.5.
>
> SDE
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>



More information about the Tilecache mailing list