Open rolyhudson opened 3 years ago
ToUTMZone returns wrong zone. Zones are numbered from 1 furthest east to 60. The methods currently overlook the number starts at 1. Need to use (int)Math.Floor((longitude + 180) / 6)+1 in the method.
(int)Math.Floor((longitude + 180) / 6)+1
Description:
ToUTMZone returns wrong zone. Zones are numbered from 1 furthest east to 60. The methods currently overlook the number starts at 1. Need to use
(int)Math.Floor((longitude + 180) / 6)+1
in the method.Steps to reproduce:
Expected behaviour:
Test file(s):