Hi,
I have some difficulties caching a wms layer
(http://sdi.geoportal.gov.pl/wms_orto/wmservice.aspx) which I reproject in
my Geoserver instance into local EPSG:2174.
The layer works in Layer Preview but not in GeoWebCache preview where I get
a white screen. I do not get any errors in the geoserver log apart from one
warning which is:
2012-03-16 13:44:21,324 INFO [config.XMLConfiguration] - Read GridSet
EPSG:2174
2012-03-16 13:44:21,324 WARN [grid.GridSetBroker] - Duplicate grid set
EPSG:2174, removing previous instance, but it may still be referenced by
layers.
The the grid set configuration in geowebcache.xml looks as follows:
<gridSets>
<gridSet>
<name>EPSG:2174</name>
<srs><number>2174</number></srs>
<extent>
<coords>
<double>3431549.1194764557</double> <--this is a bbox of the wms layer
from GetCapability document from my Geoserver-->
<double>5347752.427261834</double>
<double>4189965.550552365</double>
<double>6104117.96819491</double>
</coords>
</extent>
<metersPerUnit>1</metersPerUnit>
<tileHeight>256</tileHeight>
<tileWidth>256</tileWidth>
</gridSet>
</gridSets>
and layer.xml for the layer:
<metadata>
<entry key="GWC.metaTilingX">4</entry>
<entry key="GWC.autoCacheStyles">true</entry>
<entry key="GWC.metaTilingY">4</entry>
<entry key="GWC.gutter">0</entry>
<entry key="GWC.enabled">true</entry>
<entry key="GWC.gridSets">EPSG:4326,EPSG:900913,EPSG:2174</entry>
<entry key="GWC.cacheFormats">image/png,image/jpeg</entry>
</metadata>
When I delete the GridSet config from geowebcache.xml, the warning message
dissapears, but layer does not apear.
I'm running Geoserver nightly build (12-Mar-2012 05:02) on Tomcat 6 due to
jdk 1.7 usage which was not supported in last stable version.
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Geoserver-GeoWebCache-Duplicate-GridSet-tp4625128p4625128.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users