sibartlett / Geo

A geospatial library for .NET
https://www.nuget.org/packages/Geo/
GNU Lesser General Public License v3.0
179 stars 39 forks source link

Coordinate parsing does not correctly handle negative DMS values #57

Closed sibartlett closed 3 weeks ago

sibartlett commented 3 weeks ago

Reported by user @dpawlyk

When parsing -42° 17′ 40″ N, 89° 38′ 16″ W using Coordinate.Parse or Coordinate.TryParse

Expected output: -42.294444444444444, -89.637777777777785

Actual output: 42.294444444444444, -89.637777777777785