<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>Yep.</DIV>
<DIV>The maxExtent is instrumental in setting the grid lattice against which
tiles will be requested.</DIV>
<DIV>Even if you just have data in a small area, unless you have also defined
your cache such that it starts (ie level 0) at that area, then you need to make
maxExtent match the maxExtent of the grid system you want.</DIV>
<DIV>In this case, you are using the web mercator (EPSG:900913 / EPSG:3857) grid
system and the cache itself is not defined as a special subset of that grid
system, therefore you need to use the global web mercator grid bounds to hit the
cache in any kind of reasonable way.</DIV>
<DIV> </DIV>
<DIV>As you have found the correct solution to limiting users interaction is to
use restricted extent.</DIV>
<DIV> </DIV>
<DIV>Matt Priour</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=robertdbuckley@yahoo.com
href="mailto:robertdbuckley@yahoo.com">Robert Buckley</A> </DIV>
<DIV><B>Sent:</B> Friday, October 28, 2011 6:40 AM</DIV>
<DIV><B>To:</B> <A title=geoserver-users@lists.sourceforge.net
href="mailto:geoserver-users@lists.sourceforge.net">geoserver-users@lists.sourceforge.net</A>
; <A title=users@openlayers.org
href="mailto:users@openlayers.org">users@openlayers.org</A> ; <A
title=users@geoext.org href="mailto:users@geoext.org">users@geoext.org</A>
</DIV>
<DIV><B>Subject:</B> Re: [Users] [Geoserver-users] Geowebcache in openlayers
problem:SOLUTION FOUND!</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV
style="BACKGROUND-COLOR: #fff; FONT-FAMILY: courier new, courier, monaco, monospace, sans-serif; COLOR: #000; FONT-SIZE: 10pt">
<DIV><SPAN><FONT class=Apple-style-span size=2>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>after taking my application apart and rebuilding line by line testing the
results as I went along I found that when I replaced this line</DIV></FONT>
<DIV><SPAN><FONT class=Apple-style-span size=2>
<DIV> </DIV>
<DIV>maxExtent: new OpenLayers.Bounds(772338.842959, 6576723.127095,
1567283.936983, 7127069.730649),</DIV>
<DIV> </DIV>
<DIV>..with </DIV></FONT></SPAN></DIV><FONT class=Apple-style-span size=2><BR>
<DIV>maxExtent: new OpenLayers.Bounds(-20037508, -20037508,20037508,
20037508.34),</DIV>
<DIV> </DIV></FONT><SPAN style="FONT-SIZE: 13px"
class=Apple-style-span>...everything lined-up and worked as
wanted.</SPAN></SPAN></DIV>
<DIV><FONT class=Apple-style-span size=2><BR></FONT><SPAN><FONT
class=Apple-style-span size=2>
<DIV> </DIV></FONT><FONT class=Apple-style-span size=2>
<DIV>The bounds in the first line where an attempt to restrict my map area to
this extent, which were then followed by an restrictedExtent.</DIV>
<DIV> </DIV>
<DIV>Could anyone please explain to me why these bounds had such a devastating
affect on the output of my geowebcache layer so that I can understand this
better?</DIV>
<DIV> </DIV>
<DIV>yours,</DIV>
<DIV> </DIV>
<DIV>Rob</DIV></FONT></SPAN></DIV>
<DIV
style="FONT-FAMILY: 'Courier New', courier, monaco, monospace, sans-serif; FONT-SIZE: 10pt">
<DIV
style="FONT-FAMILY: 'times new roman', 'new york', times, serif; FONT-SIZE: 12pt"><FONT
size=2 face=Arial>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">Von:</SPAN></B> GeoGEOrge
<awmlamp@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">An:</SPAN></B>
geoserver-users@lists.sourceforge.net<BR><B><SPAN
style="FONT-WEIGHT: bold">Gesendet:</SPAN></B> 14:55 Donnerstag, 27.Oktober 2011
<BR><B><SPAN style="FONT-WEIGHT: bold">Betreff:</SPAN></B> Re: [Geoserver-users]
Geowebcache in openlayers problem<BR></FONT><BR>I am trying to do something
similar, without much success.<BR>you might see if this is related to your
problem:<BR><BR>It is, however, very possible to create an OpenLayers
application that<BR>caches tiles; just make sure that the tileorigin aligns with
the gridset.<BR>from: <A
href="http://docs.geoserver.org/latest/en/user/geowebcache/using.html"
target=_blank>http://docs.geoserver.org/latest/en/user/geowebcache/using.html</A><BR><BR>--<BR>View
this message in context: <A
href="http://osgeo-org.1803224.n2.nabble.com/Geowebcache-in-openlayers-problem-tp6936192p6936229.html"
target=_blank>http://osgeo-org.1803224.n2.nabble.com/Geowebcache-in-openlayers-problem-tp6936192p6936229.html</A><BR>Sent
from the GeoServer - User mailing list archive at
Nabble.com.<BR><BR>------------------------------------------------------------------------------<BR>The
demand for IT networking professionals continues to grow, and the<BR>demand for
specialized networking skills is growing even more rapidly.<BR>Take a
complimentary Learning@Cisco Self-Assessment and learn <BR>about Cisco
certifications, training, and career opportunities. <BR><A
href="http://p.sf.net/sfu/cisco-dev2dev"
target=_blank>http://p.sf.net/sfu/cisco-dev2dev</A><BR>_______________________________________________<BR>Geoserver-users
mailing list<BR><A href="mailto:Geoserver-users@lists.sourceforge.net"
ymailto="mailto:Geoserver-users@lists.sourceforge.net">Geoserver-users@lists.sourceforge.net</A><BR><A
href="https://lists.sourceforge.net/lists/listinfo/geoserver-users"
target=_blank>https://lists.sourceforge.net/lists/listinfo/geoserver-users</A><BR><BR><BR></DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Users mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></DIV></DIV></DIV></BODY></HTML>