[OpenLayers-Users] strange request strings
Christopher Schmidt
crschmidt at metacarta.com
Fri Feb 27 14:20:53 EST 2009
On Fri, Feb 27, 2009 at 10:09:33AM -0800, Jay Douillard wrote:
> Correct, I'm using EPSG 3005... Is there any kludge to get around this problem? and If not, where is this issue in the source, I'll take a look.
> Thanks!
I think the ticket explains? Specifically, it's a rounding error issue.
intersectsBounds does a check to see if two bounding boxes overlap, and
they do, even when they shouldn't.
A workaround might be to try putting your bbox and maxResolution into
integers. I think that would avoid th floating point issues. (If you
can't figure out how, you can share your maxExtent and maxResolution
with the list and someone might try to help.)
-- Chris
>
> ----
> Jay
>
> ----- Original Message -----
> From: "Christopher Schmidt" <crschmidt at metacarta.com>
> To: "Jay Douillard" <jay.douillard at ubc.ca>
> Cc: "OpenLayers Mailing List" <users at openlayers.org>
> Sent: Thursday, February 26, 2009 4:54:51 PM GMT -08:00 US/Canada Pacific
> Subject: Re: [OpenLayers-Users] strange request strings
>
> On Thu, Feb 26, 2009 at 03:59:03PM -0800, Jay Douillard wrote:
> > Hello, using OL 2.7 I keep having slow loading of pre-rendered tiles (made with tilecache). When I looked at the requests with firebug I can see that OL is requesting strange images, that shouldn't exist, and getting 404 errors.
> > The requested URL is:
>
> I'm assuming you're using a non-default projection. If so, this is
> likely http://trac.openlayers.org/ticket/1951.
>
> -- Chris
>
> > /cache/sdlabels/03/000/000/009/000/000/0-1.png
> >
> > Code snippet:
> >
> > sd_labels = new OpenLayers.Layer.TileCache("SD Labels",
> > "/cache/","sdlabels", {
> > type: "image/png",
> > isBaseLayer:false
> > });
> >
> > I'm also getting these on TMS layers:
> >
> > cache/edi_w2/03/000/000/000/-01/999/999.png.lck
> >
> >
> > Seems I'm getting a - in place of a zero?!
> > Thanks!
> >
> >
> > ----
> > Jay
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
>
> --
> Christopher Schmidt
> MetaCarta
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list