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

Accept floats for x/y params in GetFeatureInfo #194

Closed
olt opened this issue Sep 16, 2015 · 0 comments
Closed

Accept floats for x/y params in GetFeatureInfo #194

olt opened this issue Sep 16, 2015 · 0 comments
Labels

Comments

@olt
Copy link
Member

olt commented Sep 16, 2015

Some clients send x/y params as float and MapProxy raises an error for that:

File "/usr/local/lib/python2.7/dist-packages/mapproxy/request/wms/__init__.py", line 426, in _get_pos, referer: ...
return int(self['x']), int(self['y']), referer: ...
ValueError: invalid literal for int() with base 10: '511.8399658203125', referrer ... 
@olt olt added the bug label Sep 16, 2015
@olt olt closed this as completed in 0e50722 Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant