[OpenLayers-Users] TileCache WMS

Christopher Schmidt crschmidt at metacarta.com
Thu Apr 17 07:20:54 EDT 2008


On Thu, Apr 17, 2008 at 01:11:57PM +0200, Luca Casagrande wrote:
> Hello everybody,
> during my learning with OL and TileCache I find this strange issue:
> 
> http://doktoreas.dyndns.biz/apache2-default/luca/ol/wms_tilecache.html
> 
> As you can see, also if both layers use the same TileCache layer they appear 
> differentes and, looking at the coordinates, just the first one is correct.
> This is the layer:

First of all, you haven't told OpenLayers about your changed tile size.
The fact that this works is more of a coincidence than anything else.

Two, there's probably no reason to use a Layer.TileCache here? 

Three, I'm not 100% sure that Layer.TileCache owrks in different
projections (though I think we fixed that with 2.6). 

> [nasajpl2]
> type=WMS
> url=http://localhost/cgi-bin/wmsdata
> layers=nasa
> bbox=180000,4600000,400000,4870000
> srs=EPSG:23033
> maxResolution=1132.8125
> extension=jpeg
> debug=true
> size=512,512
> 
> What am I doing wrong?
> 
> Thank you very much
> Luca
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list