Hi list,
I am using geoserver 2.1.3 with integrated geowebcache. Most things work
fine except the Legends: Requesting a Legend from WMS works but
requesting the same legend from geowebcache tells me, that the layer
wouldn't exist.

 

I defined a wms-url in geowebcache.xml for the layer so when I request
the gwc it asks the wms service on the same server.

 

Is it generally possible to make GetLegendRequests tot he gwc and if
yes, how?

 

Regards

Stefan

 

 

 

This is a part of geowebcache.xml:

 

    <wmsLayer>

      <name>geofoxdb_stations_extern</name>

      <mimeFormats>

        <string>image/png</string>

      </mimeFormats>

      <gridSubsets>

        <gridSubset>

          <gridSetName>EPSG:25832</gridSetName>

          <extent>

            <coords>

              <double>521700</double>

              <double>5900000</double>

              <double>612000</double>

              <double>5959000</double>

            </coords>

          </extent>

        </gridSubset>

      </gridSubsets>

      <parameterFilters>

        <stringParameterFilter>

          <key>styles</key>

          <defaultValue>point</defaultValue>

          <values>

            <string>geofox_stations</string>

            <string>geofox_stations_short</string>

            <string>point</string>

          </values>

        </stringParameterFilter>

      </parameterFilters>

      <wmsUrl>

        <string>http://localhost/geoserver/geofox_workspace/wms</string>

      </wmsUrl>

      <wmsLayers>geofoxdb_stations</wmsLayers>

      <wmsVersion>1.1.1</wmsVersion>

      <transparent>true</transparent>

      <bgColor>0xFFFFFF</bgColor>

    </wmsLayer>   

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to