Luis,
Back to your original question, where one layer didn't run properly in
the GWC demos; Does that layer load correctly in the geoserver Layer
Preview?
The GWC demos that you see when you aren't using a customized
Geowebcache.xml file in the GWC folder are generated based on the WMS
layers you are serving out of Geoserver. From my experience the demos of
those tend to work well unless something is wrong with the WMS layer or
it's data source. You shouldn't need a customized geowebcache.xml file
for the demos to work.
That said, there's good documentation on the geowebcache.xml file at
http://geowebcache.sourceforge.net/docs/current/configuration/xml/index.html
If you're using Geoserver, the config file goes in your data directory.
There will be a folder in your geoserver data directory called "GWC";
the geowebcache.xml file goes in there. By default, there isn't one
there - but you can create one. With the default Geowebcache setup,
Geowebcache will create demos for all they layers you have in Geoserver
as well as anything you specify in the geowebcache.xml file. I also
attached a sample of a config file I use. i created it because I needed
to make a grid subset of a layer so I could use it with other layers and
have them line up nicely.
Ryan
On 11/22/2010 10:47 AM, Luís de Sousa wrote:
Hello again,
Per the Geoserver documentation I should have a geowebcache.xml file
at data_dir/gwc. Per the GeoWebCache documentation there should be a
geowebcache-servlet.xml file at WEB-INF and a geowebcache.xml file at
WEB-INF/classes. But at run time Geoserver seems to be looking for the
geowebcache.xml file at some resources directory. Does anyone knows
where the correct location is?
Now, the question is, if I don't have a geowebcache.xml file why is
the demo page listing all the layers correctly?
Thank you,
Luís
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ryan Williams, GISP
GIS Analyst / Programmer
PAQ Interactive Inc.
Monticello, IL
www.paqinteractive.com
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users