stijn@work
stijn@work
I have added the functionality of retrieving json. **manual test** I have tested the functionality manually by adding my own layer to yaml file, running the proxy and making a...
All tests in test_legendgraphic.py pass locally, since my last commit. How do i rerun the checks of the pull request? (Sorry if i ask a lot of questions, but this...
I fixed the code inline with the change request. Could you review the code again? Thanks, Stijn
Since version 2.15.0 it has been possible to use application/json as an output format in GetLegendGraphic requests: https://docs.geoserver.org/master/en/user/services/wms/get_legend_graphic/index.html#json-output-format
i have replaced the querystring of my MapProxy request with the querystring of the Source request. The MapProxy request (still) works for an image format, but not for json response....
The log shows where the code breaks: img_opts = self.image_formats[request.params.format_mime_type] KeyError: 'application/json' --- request log [info] 127.0.0.1 - - [15/Oct/2021 18:43:15] "GET /wms?service=WMS&request=GetLegendGraphic&version=1.3.0&layer=[layer]&format=application/json HTTP/1.1" 500 - [2021-10-15 18:48:32,279] mapproxy.wsgiapp -...
Hi Johannes, The issue has become more urgent for us. Is there any way we could resolve this? Can i help? Greetings, Stijn
I am trying to update the python code and have some questions. Can i contact you by email?
i have create a draft pull request and named it 'request legend in json format'
I have finished the pull request, including a system test, and marked it as ready for review. Can someone review the code? Thanks