Dear GeoServers,

I am seeing some very odd behaviour when trying to use a previously
working (but older) geowebcache.xml file in geoserver 2.0.2.

I have created a custom gridset to use EPSG:4283 (using a short gridset
name of GDA94) in geowebcache.xml.

<?xml version="1.0" encoding="utf-8"?>
<gwcConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 
xsi:noNamespaceSchemaLocation="http://geowebcache.org/schema/1.2.0/geowe
bcache.xsd"
  xmlns="http://geowebcache.org/schema/1.2.0";>
<version>1.2.0</version>
<backendTimeout>120</backendTimeout>
<gridSets>
 <gridSet>
  <name>GDA94</name>
  <srs><number>4283</number></srs>
  <extent><coords>
    <double>137.8125000</double><double>-29.5751949</double>
    <double>154.2041016</double><double>-10.3271480</double>
   </coords></extent>
  <alignTopLeft>true</alignTopLeft>
  <levels>10</levels>
  <metersPerUnit>111226.31</metersPerUnit>
  <tileHeight>512</tileHeight>
  <tileWidth>512</tileWidth>
 </gridSet>
</gridSets>
<layers>
 <wmsLayer><name>topp:telascience</name>
  <gridSubsets><gridSubset><gridSetName>GDA94</gridSetName>
    <zoomStart>0</zoomStart>
    <zoomStop>9</zoomStop>
   </gridSubset></gridSubsets>
  <wmsUrl><string>http://localhost:8080/geoserver/wms</string></wmsUrl>
 <wmsLayers>topp:telascience</wmsLayers>
</wmsLayer>
<wmsLayer><name>topp:100ktopo</name>
  <gridSubsets><gridSubset><gridSetName>GDA94</gridSetName>
    <zoomStart>0</zoomStart>
    <zoomStop>9</zoomStop>
   </gridSubset></gridSubsets>
  <wmsUrl><string>http://localhost:8080/geoserver/wms</string></wmsUrl>
  <wmsLayers>topp:100ktopo</wmsLayers>
</wmsLayer>
<wmsLayer><name>tiger:common_estate_label</name>
  <gridSubsets><gridSubset><gridSetName>GDA94</gridSetName>
    <zoomStart>0</zoomStart>
    <zoomStop>9</zoomStop>
   </gridSubset></gridSubsets>
  <wmsUrl><string>http://localhost:8080/geoserver/wms</string></wmsUrl>
  <wmsLayers>tiger:common_estate_label</wmsLayers>
</wmsLayer>
<wmsLayer><name>tiger:common_estate</name>
  <gridSubsets><gridSubset><gridSetName>GDA94</gridSetName>
    <zoomStart>0</zoomStart>
    <zoomStop>9</zoomStop>
   </gridSubset>
  </gridSubsets>
  <wmsUrl><string>http://localhost:8080/geoserver/wms</string></wmsUrl>
  <wmsLayers>tiger:common_estate</wmsLayers>
</wmsLayer>
<wmsLayer><name>tiger:common_town</name>
  <gridSubsets><gridSubset> <gridSetName>GDA94</gridSetName>
    <zoomStart>0</zoomStart>
    <zoomStop>9</zoomStop>
   </gridSubset>
  </gridSubsets>
  <wmsUrl><string>http://localhost:8080/geoserver/wms</string></wmsUrl>
  <wmsLayers>tiger:common_town</wmsLayers>
</wmsLayer>
</layers>
</gwcConfiguration>

This worked fine before upgrading to the current geoserver 2.0.2, except
now I see the following in the GWC demo page -
topp:100ktopo
Seed this layer
<http://10.6.134.37:8080/geoserver/gwc/rest/seed/topp:100ktopo>  
EPSG:4283_topp:100kt... OpenLayers: [png
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
283_topp:100ktopo&format=image/png> , gif
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
283_topp:100ktopo&format=image/gif> , png8
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
283_topp:100ktopo&format=image/png8> , jpeg
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
283_topp:100ktopo&format=image/jpeg> ]          
EPSG:4326       OpenLayers: [png
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
326&format=image/png> , gif
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
326&format=image/gif> , png8
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
326&format=image/png8> , jpeg
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:4
326&format=image/jpeg> ]        KML: [png
<http://10.6.134.37:8080/geoserver/gwc/service/kml/topp:100ktopo.png.kml
> , gif
<http://10.6.134.37:8080/geoserver/gwc/service/kml/topp:100ktopo.gif.kml
> , png8
<http://10.6.134.37:8080/geoserver/gwc/service/kml/topp:100ktopo.png8.km
l> , jpeg
<http://10.6.134.37:8080/geoserver/gwc/service/kml/topp:100ktopo.jpeg.km
l> , kml
<http://10.6.134.37:8080/geoserver/gwc/service/kml/topp:100ktopo.kml.kml
> ]     
GDA94   OpenLayers: [png
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=GDA94&;
format=image/png> , gif
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=GDA94&;
format=image/gif> , png8
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=GDA94&;
format=image/png8> , jpeg
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=GDA94&;
format=image/jpeg> ]            
EPSG:900913     OpenLayers: [png
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:9
00913&format=image/png> , gif
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:9
00913&format=image/gif> , png8
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:9
00913&format=image/png8> , jpeg
<http://10.6.134.37:8080/geoserver/gwc/demo/topp:100ktopo?gridSet=EPSG:9
00913&format=image/jpeg> ]              


Why has the EPSG:4283_topp:100kt... suddenly appeared when it is isn't
even listed in geowebcache.xml ?

I am also now seeing an error appearing in the geoserver.log file that
the tilesize (512x512) does not match (256x256) ?
If I change the tilesize of course all the old tiles are now invalid and
will need to be reseeded or generated on the fly.

Does anyone in Aus have a more local example of geowebcache.xml for
GDA94 and do I need to be more specific about other parameters now in
the config file ?

Many thanks,
Shaun



+----------------------------------------------------------------+
Think B4U Print
1 ream of paper = 6% of a tree and 5.4kg CO2 in the atmosphere
3 sheets of A4 paper = 1 litre of water
+----------------------------------------------------------------+

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to