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

Use a proper ellipsoidal length calculation when calculating the size of the scalebar decoration #37084

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

nyalldawson
Copy link
Collaborator

Avoids a misleading Cartesian-based scalebar (unless project is
set to always use cartesian measurements, that is!)

Fixes #28407

calculating the size of the scalebar decoration

Avoids a misleading Cartesian-based scalebar (unless project is
set to always use cartesian measurements, that is!)

Fixes qgis#28407
@agiudiceandrea
Copy link
Contributor

Hi @nyalldawson, is it possible this be the cause of the #40748 issue (which occurs for QGIS ltr >= 3.10,8 and QGIS pr >= 3.14.0)?

@nyalldawson
Copy link
Collaborator Author

@agiudiceandrea it's possible -- but prior to this the scale bar results were misleading anyway, so it would be tricky to test. That issue description makes it sound like there's a missing connection or signal causing the bar to update...

@agiudiceandrea
Copy link
Contributor

agiudiceandrea commented Dec 27, 2020

Not so misleading...

with 3.10.7
image

with 3.10.8
image

with 3.10.8 after zoom in and then zoom last
image

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.

Decoration -> Scale Bar uses a misleading planimetric measurement
2 participants