[Tilecache] help with openlayers+tilecache?

Christopher Schmidt crschmidt at metacarta.com
Wed Feb 11 12:22:16 EST 2009


On Wed, Feb 11, 2009 at 11:02:20AM -0600, Jennifer Strahan wrote:
> Hello,
> 
> I'm hoping someone can help me to troubleshoot pink tiles that I'm 
> getting at the maximum zoom level.  All other zoom levels are fine.  The 
> error message for one of the tiles is: 
> 
> Current x value -13610224.040764 is too far from tile corner x -13610224.380764

It looks like you're using Google Maps. Google Maps maxResolution is
156543.0339. I'm not sure how your tilecache is working at all with a
maxResolution that is so different, but what happens if you change your
Tilecache maxResolution to that?

-- Chris

> My application is here:
> http://www.parkinfo.org/review/
> 
> My tilecache configuration is:
> 
> [parks_access]
> type=WMS
> url=http://www.parkinfo.org/cgi-bin/mapserv?map=wms_calands_tilecache.map
> layers=parks_access
> bbox=-20037508,-20037508,20037508,20037508
> extension=png
> spherical_mercator=true
> maxResolution: .597164
> srs=EPSG:900913
> extent_type=loose
> levels=20
> debug=no
> 
> And OpenLayers setup is:
>            var options = {
>                 projection: "EPSG:900913",
>                 units: "m",
>                 maxResolution: .597164,
>                 maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508)
>            };
> 
> Thanks for the help!
> 
> Jennifer
> 
> 
> -- 
> Jennifer Strahan, GIS Specialist
> GreenInfo Network - www.greeninfo.org -
> Information and Mapping in the Public Interest
> 
> **As of Oct. 13, 2008 we have a new address**
> 564 Market Street, Suite 510
> San Francisco CA 94104
> 
> Phone: 651-917-0191
> Fax: 415-979-0371
> Email: jennifer at greeninfo.org 
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list