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

Fixes to the labelling functions #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vermeulendivan
Copy link
Owner

@vermeulendivan vermeulendivan commented Apr 11, 2022

Fixes kartoza#9
Fix for the y-axis where the first label will access a non-existing list element
Updated the get grid interval method to make use of other scale values when performing if statements
The grid label method 25k result will now be 0.01666666667, to adhere with 1 minute per grid
Added the get num intervals method
Get choices label will now make use of a reversed index value as appossed to reversing the list completely for the y-axis (this solved an issue with the y-axis).

image

Fix for the y-axis where the first label will access a non-existing list element
Updated the get grid interval method to make use of other scale values when performing if statements
The grid label method 25k result will now be 0.01666666667, to adhere with 1 minute per grid
Added the get num intervals method
Get choices label will now make use of a reversed index value as appossed to reversing the list completely for the y-axis (this solved an issue with the y-axis).
The A3 and A4 topo maps for both landscape and portrait will now work correctly
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.

current alphanumeric grid does not start at origin - it must
1 participant