Best bet, in my experience, for pointing mapfish at GWC as a WMS service so GWC 
can server arbitrary WMS requests.  You will probably want to allow GWC to 
build different caches for different WMS flags, such as format_options=dpi:300. 
 Search for stringParameterFilter on the GeoWebCache site.  I posted this 
(untested) configuration to the geowebcache forum a while back (search for 
Arbitrary WMS request):

" Hi All,
                I think I’ve answered my own question referenced below, but 
want to confirm:  if I want to allow particular variations on a WMS request, 
such as format_options=dpi:300 and allow for alternate parameters, I’d have to 
add it to the list of parameter filters, maybe as a stringParameterFilter or 
reguedParameterFilter, correct?.

Best,
Steve"

and

"
BTW, for anyone trolling the forums for something like this, what we ended up 
implementing was:

    <wmsUrl><string>http://192.168.100.5:8080/geoserver/wms</string></wmsUrl>
                <parameterFilters>
                  <regexParameterFilter>
                    <key>format_options</key>
                    <defaultValue></defaultValue>
                    <regex>dpi:*</regex>
                  </regexParameterFilter>
                </parameterFilters>
    <wmsLayers>contours_2_all</wmsLayers>

Although I think we could further constrain that wildcard with e.g. 

<regex>dpi:[0-9]?[0-9][0-9]</regex>, but I don’t know if this complies with the 
wildcard rules… .

BTW, haven’t had a chance to test to see if any of the above works, so use with 
caution.
"

Best,
Steve

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com



-----Original Message-----
From: Gabriel Roldan [mailto:[email protected]] 
Sent: Thursday, December 01, 2011 9:59 AM
To: Robert Buckley
Cc: [email protected]; [email protected]; [email protected]; 
[email protected]
Subject: Re: [Geoserver-users] pdf export: why the request for tile dimensions 
of 625x458

On Thu, Nov 24, 2011 at 3:53 AM, Robert Buckley
<[email protected]> wrote:
> Can anyone tell me why the mapfish print is requesting tiledimensions of
> 625x458?
I guess because it doesn't speak WMS-C but just plain WMS.


-- 
Gabriel Roldan
OpenGeo -http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to