Fixed the bug: wrongly judge site with latitude in 0-8 degree is in south
Description
I have changed the original code "is_northern = True if utm_zone[-1].lower() > 'n' else False" in function
split_utm_zone in file gis_tools.py to "is_northern = True if utm_zone[-1].lower() > 'm' else False", where
'n' was changed to 'm'.
Motivation and Context
If unchanged, the split_utm_zone function will judge the points with latitude in 0-8 degree are in the south.
That's an obvous error and that error will result in wrong UTM grid coordinates.
How Has This Been Tested?
The following shows my testing:
In: gis_tools.split_utm_zone('6N')
Out: (6, True)
Apparently, the result is correct.
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Fixed the bug: wrongly judge site with latitude in 0-8 degree is in south
Description
I have changed the original code "is_northern = True if utm_zone[-1].lower() > 'n' else False" in function split_utm_zone in file gis_tools.py to "is_northern = True if utm_zone[-1].lower() > 'm' else False", where 'n' was changed to 'm'.
Motivation and Context
If unchanged, the split_utm_zone function will judge the points with latitude in 0-8 degree are in the south. That's an obvous error and that error will result in wrong UTM grid coordinates.
How Has This Been Tested?
The following shows my testing: In: gis_tools.split_utm_zone('6N') Out: (6, True) Apparently, the result is correct.
Screenshots (if appropriate):
Types of changes
Checklist: