create/add to geoserverxxx/data_dir/gwc/geowebcache.xml
something like this (which creates a new geowebcache layer: gwccontour based
on the geoserver layer contour in SRS 2249- NAD 83 Mass State Plane Feet):

<?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.6/geowebcache.xsd";
                  xmlns="http://geowebcache.org/schema/1.2.6";>

<version>1.2.6</version>
<backendTimeout>120</backendTimeout>

<gridSets>
<gridSet>
<name>e2249</name>
<srs><number>2249</number></srs>
<extent>
 <coords>
   <double>104294.9553</double>
   <double>2592496.1873</double>
   <double>1106463.9850</double>
   <double>3155719.1933</double>
 </coords>
</extent>
<scaleDenominators>
 <double>200000</double>
 <double>100000</double>
 <double>50000</double>
 <double>25000</double>
 <double>10000</double>
 <double>5000</double>
 <double>1200</double>
 <double>600</double>
 <double>300</double>
</scaleDenominators>
<metersPerUnit>0.3048006096012192</metersPerUnit>
<tileHeight>256</tileHeight>
<tileWidth>256</tileWidth>
</gridSet> 
</gridSets>

<layers>
  <wmsLayer>
    <name>gwccontour</name>
    <mimeFormats>
      <string>image/png</string>
    </mimeFormats>
<gridSubsets>
    <gridSubset>
    <gridSetName>e2249</gridSetName>
    <extent>
      <coords>
        <double>859053</double>
        <double>2739519</double>
        <double>921619</double>
        <double>2831301</double>
      </coords>
    </extent>
    <zoomStart>0</zoomStart>
    <zoomStop>8</zoomStop>
  </gridSubset>
</gridSubsets>
      <wmsUrl>
        <string>http://localhost:8080/geoserver/wms</string>
      </wmsUrl>
    <wmsLayers>plymouth:contour</wmsLayers>
  </wmsLayer>

</layers>

</gwcConfiguration>


--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-to-add-a-CRS-to-the-integrated-gwc-tp6991994p6992868.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to