[Users] WG: TMS problem with geowebcache

Matt Priour mpriour at kestrelcomputer.com
Wed Nov 2 15:19:06 CET 2011


You have your TMS service disabled somehow.
go to http://maps.zgb.de/geoserver/gwc/ 
and click on the TMS 1.0.0 capabilities link
You get a 404, no handler for TMS error

Matt Priour

From: Robert Buckley 
Sent: Wednesday, November 02, 2011 7:21 AM
To: users at geoext.org ; users at openlayers.org ; geowebcache-users at lists.sourceforge.net 
Subject: [Users] WG: TMS problem with geowebcache


----- Weitergeleitete Message -----
Von: Robert Buckley <robertdbuckley at yahoo.com>
An: Ralph Dell <RDell at CatawbaCountyNC.gov>
Gesendet: 13:21 Mittwoch, 2.November 2011 
Betreff: Re: [Users] TMS problem with geowebcache


Hi thanks for the suggestion. I have tried changing the layername as you said but i´m still getting status:404


Here is the project


http://maps.zgb.de/eeg/gwc_print.html


Cheers,

Rob


--------------------------------------------------------------------------------
Von: Ralph Dell <RDell at CatawbaCountyNC.gov>
An: Robert Buckley <robertdbuckley at yahoo.com>; users at geoext.org
Gesendet: 12:48 Mittwoch, 2.November 2011 
Betreff: RE: [Users] TMS problem with geowebcache


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)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 








--------------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20111102/af906ffe/attachment-0001.htm 


More information about the Users mailing list