[MapProxy] Two GetFeatureInfo issues

Oliver Tonnhofer olt at omniscale.de
Mon Oct 11 10:15:57 EDT 2010


On 08.10.2010, at 18:30, Anne Blankert wrote:
> Unfortunately, I am still not seeing transformations in the
> GetFeatureInformation request. Probably I am doing something wrong:

Umpf, that happens when you rely too much on unit-tests. I fixed the issue and build a unit-test for it, but I missed some default-behavior that is triggered when the it is loaded from a configuration. So, the fix didn't work :/

Here is a new one: http://mapproxy.org/static/rel/MapProxy-0.8.6.dev-20101011.tar.gz


> I downloaded
> http://mapproxy.org/static/rel/MapProxy-0.8.6.dev-20101008.tar.gz ,
> renamed ~/mapproxy/lib/python2.5/site-packages/mapproxy to mapproxy_old,
> extracted the tar.gz to some directory and recursively copied the
> contents of the newly extracted mapproxy directory to
> ~/mapproxy/lib/python2.6/site-packages/mapproxy


Oh, you can install the intermediate releases with pip too:

  pip install http://mapproxy.org/static/rel/MapProxy-0.8.6.dev-20101011.tar.gz


> In my case 'dst_srs' always remains the same as the request srs although
> the supported_srs does not contain the request srs.
> If I try to force dst_srs to the client value:
> [...]
> The transformation seems to begin to work but ends in an error message
> in srs.py
> 
> But maybe I am hacking the wrong file, wrong function, wrong configuration?

No you where close, but self.supported_srs is a set and you can't access a set by index. You have to transform it to a list or tuple first and then you can use the index, e.g. tuple(self.supported_srs)[0]

Regards,
Oliver

-- 
Oliver Tonnhofer <olt at omniscale.de>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR
Nadorster Str. 60, 26123 Oldenburg
Tel: +49(0)441/9392774-2 (Fax: 9)



More information about the MapProxy mailing list