Bug in GpsDescriptor.GetGpsDestLongitudeDescription
reinfallt opened this issue · comments
Daniel Helsing commented
longitudeRef.Equals("S", StringComparison.OrdinalIgnoreCase)
Longitude ref is either "E" or "W". Not "N"/"S".
The code should be
longitudeRef.Equals("W", StringComparison.OrdinalIgnoreCase)
Drew Noakes commented
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.