Geoserver, GeoWebcache and WmsTileSource.cs

Apr 6, 2010 at 4:38 AM

Hello All,

I have been testing DeepEarth with GeoServer (playing as WMS Server). Everything is Okie.

Then I use WmsTileSource to access images from GeoWebCache but get error from GeoWebCache as bellow:

400: Your bounds in the y direction are offset by more than 5% compared to the underlying grid. Given 15.2841851140764 the closest match is index 150, which corresponds to 15.46875

It seems that request from Deep is not compatible with GeoWebCache or I am missing something.

I need you help so much !

Thanks!

 

Developer
Apr 6, 2010 at 2:24 PM

Check out todays update on SVN (changeset 39399).

As an example, all you should have to do is

MapTileLayer tl = new MapTileLayer();
tl.TileSources.Add(new GWCTileSourceBing("http://www.server.com/geoserver/gwc", "layername"));
map.Children.Add(tl);