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

Fix measurement results for projected maps #385

Merged

Conversation

chrismayer
Copy link
Collaborator

This PR fixes wrong measurement results in projected map setups (other than the OpenLayers default EPSG:3857), since the map projection was not specified in getLength and getArea function calls in the wgu-measuretool module.

Fixes wrong measurement results in projected map
setups, since the map projection was not
specified in 'getLength' and 'getArea' function
calls.
Copy link
Collaborator

@sronveaux sronveaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @chrismayer,

Good point you have found that one ! For sure it is an interesting fix !

Just added a little comment on this one, but already approved as I'll be away next week so if you want to correct it and merge already...

@chrismayer
Copy link
Collaborator Author

Thanks for your review @sronveaux. I am going to merge now...

@chrismayer chrismayer merged commit a165074 into wegue-oss:master May 6, 2024
1 check passed
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.

2 participants