Oliver Tonnhofer olt at omniscale.de
Mon Jul 9 02:58:37 PDT 2012

On 09.07.2012, at 11:44, Jeff Konnen wrote:
> I try to use the LIMITED_TO property to clip a service.
> I am running Mapproxy 1.4.0 under WSGI and that's where my question comes up.
> In the manual, there are examples of how to set up authorization with paste but now with wsgi.
> Where should I define what?
> I've not fully understood where to define this:
> {
> [...]
> }

You need to write a Python function that returns these authorization data structures and then pass that function to the WSGI environment. I have to admit, that it's not easy if you're not familiar WSGI middleware and the topic is too complex to describe it in the MapProxy docs. 

So if you want to use the auth API of MapProxy, you should at first start to play with WSGI and WSGI middleware development.

> I think clipping would be a nice function in general, with authentification / authorization or not. It could be a feature outside of the auth-logic and be generally applied to a source in the mapproxy config.
> What do you think?

Yes. It would be a nice feature to have the clipping also work for source coverages.
Patches are welcomed :)


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn

More information about the MapProxy mailing list