Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of non-EPSG SRS authorities #572

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

drnextgis
Copy link
Contributor

@drnextgis drnextgis force-pushed the srs-auth-name branch 3 times, most recently from 3ba004a to 0839df5 Compare March 22, 2022 07:48
@weskamm
Copy link
Member

weskamm commented Mar 22, 2022

Looks good to me, thanks!

@weskamm weskamm merged commit 09946c4 into mapproxy:master Mar 22, 2022
@drnextgis drnextgis deleted the srs-auth-name branch March 22, 2022 11:29
rouault added a commit to rouault/mapproxy that referenced this pull request May 17, 2022
…roxy#572)

A side effect of PR mapproxy#572 was the following exception when rendering /demo
```
  File "/home/even/spatialys/cnes/2022/mapproxy/mapproxy/util/ext/tempita/__init__.py", line 288, in _eval
    value = eval(code, self.default_namespace, ns)
  File "<string>", line 1, in <module>
  File "/home/even/spatialys/cnes/2022/mapproxy/mapproxy/service/demo.py", line 161, in layer_srs
    sorted_uncached_srs = sorted(uncached_srs, key=lambda srs: get_epsg_num(srs))
TypeError: '<' not supported between instances of 'NoneType' and 'int' at line 59 column 39 in file /home/even/spatialys/cnes/2022/mapproxy/mapproxy/service/templates/demo/demo.html
```

This PR corrects this and adds a minimal test/system/test_demo.py
weskamm added a commit that referenced this pull request May 19, 2022
Fix exception when rendering /demo service (fix regression of PR #572)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants