Hi, everybody.

I've got something hacked together so that my CoverageReader can handle 
TIME parameters, and I've tested it with wms calls through curl.  Now 
I'm running into trouble when I try to hook it up to OpenLayers.  It 
seems that GeoWebCache takes the incoming request and assembles a "fake" 
request from it with a fixed list of parameters.  In 
GeoServerTileLayer.buildGetMap():

         params.put("SERVICE", "WMS");
         params.put("VERSION", "1.1.1");
         params.put("REQUEST", "GetMap");
         params.put("LAYERS", getName());
         params.put("SRS", srs);
         params.put("FORMAT", format);
         params.put("WIDTH", String.valueOf(width));
         params.put("HEIGHT", String.valueOf(height));
         params.put("BBOX", bbox.toString());

         params.put("EXCEPTIONS", GetMapRequest.SE_XML);
         params.put("STYLES", "");
         params.put("TRANSPARENT", "true");
         params.put(GWC_SEED_INTERCEPT_TOKEN, "true");

         Map<String, String> filteredParams = tile.getFullParameters();
         if (filteredParams.isEmpty()) {
             filteredParams = getDefaultParameterFilters();
         }
         params.putAll(filteredParams);

the last line could, I suppose, be used to add other parameters to the 
fake request, but tracing through the history of the tile object, I 
can't find any place where it might get added to tile.fullParameters.

Any ideas?  How does this work for ImageMosaics?  Thanks in advance.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to