coordinate-parser icon indicating copy to clipboard operation
coordinate-parser copied to clipboard

DMS formats not all supported

Open henzhou23 opened this issue 5 years ago • 2 comments

Based on some testing, it looks like many formats of DMS are being captured and translated correctly. Using this site: https://www.sunearthtools.com/dp/tools/conversion.php, I converted coordinates (37.9, -93). Of the DMS formats that were produced, many did not reference the same location as the coordinate DD.

For example, the equivalent DMS coordinate of 375400N930000W does not map to an equivalent location.

henzhou23 avatar Oct 28 '20 19:10 henzhou23

Thanks for reporting. Could you please provide one or two examples of

  • input
  • expected output
  • actual output

? Thank you.

otto-dev avatar Oct 29 '20 11:10 otto-dev

input: 375651 N 093000 W expected output: 37.9, -93 actual output: 37.9475, -0.258333

It seems like many of the DMS formats that are not clearly demarcated by a colon or a degree symbol may have this issue.

henzhou23 avatar Oct 30 '20 15:10 henzhou23