Closed reinfallt closed 2 years ago
Thank you for finding and reporting this.
Interestingly, we don't have a single image in the test data corpus that reproduces this issue. Are you able to share one?
The Java implementation doesn't have this bug. It also has factored out the common code, which I'll do on the .NET side too.
longitudeRef.Equals("S", StringComparison.OrdinalIgnoreCase)
Longitude ref is either "E" or "W". Not "N"/"S".The code should be
longitudeRef.Equals("W", StringComparison.OrdinalIgnoreCase)