[Users] TMS problem with geowebcache
Ralph Dell
RDell at CatawbaCountyNC.gov
Wed Nov 2 12:48:08 CET 2011
What happens if you use zgb:rrop08_mosaic at ESPG:900913 at png as the layername
Ralph Dell
From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf Of Robert Buckley
Sent: Wednesday, November 02, 2011 3:48 AM
To: users at openlayers.org; users at geoext.org
Subject: [Users] TMS problem with geowebcache
Hi,
I´m trying to implement a tms service through geowebcache (running inside Geoserver2.1.2 on Linux/tomcat6)
The layer in question in fine runnning as a normal WMS geowebcache service as defined below, but the layer doesn´t print.
reading this post (http://www.mail-archive.com/users@geoext.org/msg01973.html <http://www.mail-archive.com/users@geoext.org/msg01973.html> )I thought I´d try the tms service
// gwc/wms service
var GWC_Layer = new OpenLayers.Layer.WMS("GWC Layer",
"http://maps.zgb.de/geoserver/gwc/service/wms", {
layers: 'zgb:rrop08_mosaic',
projection: epsg900913,
format: 'image/png',
transparent: true,
singleTile: true
}, {'buffer': 0,
'opacity': 1,
'isBaseLayer': true,
visibility: true
});
// GWC TMS Service
var TMS_Layer = new OpenLayers.Layer.TMS(
'TMS_Layer','http://maps.zgb.de/geoserver/gwc/service/tms/',{
serviceVersion: '1.0.0',
layername:'http://maps.zgb.de/geoserver/gwc/service/tms/1.0.0/zgb:rrop08_mosaic@ESPG:900913@png',
type:'png',
visibility:true,
isBaseLayer: false,
serverResolutions:[156543.03390625, 78271.516953125, 39135.7584765625, 19567.87923828125,
9783.939619140625, 4891.9698095703125, 2445.9849047851562, 1222.9924523925781, 611.4962261962891, 305.74811309814453,
152.87405654907226, 76.43702827453613, 38.218514137268066, 19.109257068634033, 9.554628534317017, 4.777314267158508,
2.388657133579254, 1.194328566789627, 0.5971642833948135, 0.29858214169740677]
}
);
All I get are 404 errors.
The map is in EPSG:900913 and so is the TileCache, so I´m guessing the gridset is ok???..but it´s my first time so I can´t say for sure.
any help would be great,
Cheers,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20111102/939c4f95/attachment-0001.htm
More information about the Users
mailing list