<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">hi,</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">This is a follow up of my previous attempt to understand how to use geowebcache(gwc) and use openlayers to visualize data.</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">I have been having problems with gwc and EPSG:900913 in openlayers. I want to serve raster data over googlemaps, but cannot get geowebcache to work together with openlayers in
 EPSG:900913</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">As a test, I have set up test layer called wgs84Point which is a postgis layer with 3 points digitized in wgs84(EPSG:4326). I have fed it into geoserver and have build two clients to visualize the points. One of the clients has a map set up in wgs84 (EPSG:4326), the other identical map with Google (EPSG:900913).</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><a href="http://maps.zgb.de/eeg/wgs84.html">http://maps.zgb.de/eeg/wgs84.html</a><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div
 style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><a href="http://maps.zgb.de/eeg/900913.html">http://maps.zgb.de/eeg/900913.html</a><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">Both maps contain the wms version of the points layer and also the geowebcache version.</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">As can be seen, the WGS84 EPSG:4326 version lines both the wms and geowebcache points perfectly.</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco,
 monospace, sans-serif; font-size: 10pt; ">from the geowebcache demo page in geoserver I can view the layer in both 900913 and 4326</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">here is one tile in&nbsp;EPSG:900913</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><a
 href="http://maps.zgb.de/geoserver/gwc/service/wms?LAYERS=zgb%3Awgs84point&amp;FORMAT=image%2Fpng&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A900913&amp;BBOX=1164288.8146777,6946597.1295898,1169180.7844873,6951489.0993994&amp;WIDTH=256&amp;HEIGHT=256">http://maps.zgb.de/geoserver/gwc/service/wms?LAYERS=zgb%3Awgs84point&amp;FORMAT=image%2Fpng&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A900913&amp;BBOX=1164288.8146777,6946597.1295898,1169180.7844873,6951489.0993994&amp;WIDTH=256&amp;HEIGHT=256</a><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">and the same point is EPSG:4326</div><div style="font-family: 'Courier New',
 courier, monaco, monospace, sans-serif; font-size: 10pt; "><a href="http://maps.zgb.de/geoserver/gwc/service/wms?LAYERS=zgb%3Awgs84point&amp;FORMAT=image%2Fpng&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A4326&amp;BBOX=10.532455444336,52.833938598633,10.533142089844,52.834625244141&amp;WIDTH=256&amp;HEIGHT=256">http://maps.zgb.de/geoserver/gwc/service/wms?LAYERS=zgb%3Awgs84point&amp;FORMAT=image%2Fpng&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A4326&amp;BBOX=10.532455444336,52.833938598633,10.533142089844,52.834625244141&amp;WIDTH=256&amp;HEIGHT=256</a><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div
 style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">My Geoserver logs are giving me this...</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2">2011-10-27 14:39:21,406 ERROR [geowebcache.GeoWebCacheDispatcher] - X,Y values for the tile index were calculated to be {1081.4697265626, 1380.0979003904074} &nbsp;which had to be rounded to {1081, 1380} &nbsp;and exceeds the threshold of 10%. Perhaps the client is using the wrong origin ? http://maps.zgb.de/geoserver/gwc/service/wms</font><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">which corresponds to the firebug output for the pink
 tiles..</div><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 14px; "><h4>400: X,Y values for the tile index were calculated to be {1081.4697265626, 1376.0979003905672} which had to be rounded to {1081, 1376} and exceeds the threshold of 10%. Perhaps the client is using the wrong origin ?</h4></span><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">So I really donīt know where to look for solutions.</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">Any help is most welcome</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif;
 font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">yours,</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">Rob</div></div></body></html>