Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm exploring optimization techniques for caching data coming back from a Digital Globe service. We have two unique identifiers we use for their WMS GetMap service that will give us low or hi-res raster images. I'd like to cache both, but the only different between the two is simply a vendor parameter called 'connectid'.

In the end, we'll cache at least one of them, but we'll need to make a choice of which one if it's not possible to do both.

share|improve this question
add comment

2 Answers 2

Well, it's been a few days. I've since given up on GeoWebCache and flopped over to MapProxy. It's MUCH more customizable. It's yaml configuration is open enough to allow me to specify the vendor keys in its own config, along with as many different providers/layers/caching routines I need.

I highly recommend it!

share|improve this answer
add comment

You can use a Parameter Filter to pass through an arbitrary request parameters while controlling the set of allowed values.

For instance, to allow the resolution parameter to take the values high or low, and to force it to low when it's not specified, you would use a filter like this:

<stringParameterFilter>
  <key>resolution</key>
  <defaultValue>low</defaultValue>
  <values>
    <string>high</string>
    <string>low</string>
  </values>
</stringParameterFilter>

There's a chapter on parameters in the GWC manual

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.