[PROJ] proj_dmstor accepted inputs
Peter Townsend
peter.townsend at maplarge.com
Wed May 6 11:45:26 PDT 2026
I was looking at the proj_dmstor function to try and leverage it, but there
really isn't any documentation on what the expected input format is
supposed to be.
"252423N" returns 4405.6124577616465, which isn't anywhere close to the
expected result of 25.40638888 degrees / 0.44342513699807451 radians.
"25 24 23 N" gives me 0.43633231299858238, which is wrong.
"25d24'23\"N" does get me 0.44342513715321491 though.
proj_rtodms(0.44342513715321491, 'N', 'S') does give me "25d24'23\"N" back.
Does it require the d, ', and " markers in the string?
--
Peter Townsend
Senior Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20260506/99c182e0/attachment.htm>
More information about the PROJ
mailing list