You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fractional seconds dropped in DDMMSS.ss, and DDDMM.mm longitudes of 100° or more misread #12
In CoordinateNumber.degreesAsDegreesMinutesAndSeconds, this.seconds is computed with Math.floor, truncating fractional seconds in DDMMSS.xxxx inputs (so 22.8" becomes 22").
degreesCanBeDegreesMinutesAndSeconds checks this.degrees > 9090, which matches any DDDMM.xxxx longitude of 90°50.0001' or more (such as 12158.3416W) and parses it as DDMMSS instead of DDDMM.xxxx (similar to the > 909090 threshold in DMS formats not all supported #9).
Tested with coordinate-parser 1.0.7 (npm) and master (69b6c32) on Node.js v26.13.0.
Activity