Jump to content

ⴰⵍⴱⵓⴹ:Coord/dms2dec/ⴰⵙⵙⵏⵜⵎ

ⵙⴳ ⵡⵉⴽⵉⴱⵉⴷⵢⴰ
Illustration de documentation
ⵜⴰⴷ ⵜⴳⴰ ⵜⴰⴷⵓⵙⵏⴰ ⵏ ⵓⵙⵙⵏⵜⵎ ⵏ ⴰⵍⴱⵓⴹ:Coord/dms2dec .
ⵍⵍⴰⵏ ⴷⵉⴳⵙ ⵡⵓⵎⵍⴰⵏ ⵖⴼ ⵓⵙⵙⵎⵔⵙ ⵏ ⵡⴰⵍⴱⵓⴹ, ⵜⴰⴳⴳⴰⵢⵉⵏ ⴷ ⵜⵓⵎⴰⵢⵜ ⵢⴰⴹⵏ ⵏⵏⴰ ⵓⵔ ⵢⴰⵎⵓⵏ ⴳ ⵜⴰⵙⵏⴰ ⵏⵏⵙ ⵜⴰⵙⴰⵍⴰⵏⵜ.

{{Coord/dms2dec}} converts cardinal direction and degree-minutes-seconds to decimal coordinate.

{{Coord/dms2dec|direction|degrees|minutes|seconds}}
{{Coord/dms2dec|N|10|20|35.67}} 10.3432417
{{Coord/dms2dec|N|10|20|35}} 10.34306
{{Coord/dms2dec|N|10|20|30}} 10.34167
{{Coord/dms2dec|E|10|25.39}} 10.42317
{{Coord/dms2dec|E|10|25}} 10.417
{{Coord/dms2dec|S|10|20}} -10.333
{{Coord/dms2dec|W|11.341666}} -11.341666
{{Coord/dms2dec|W|11.3416}} -11.3416
{{Coord/dms2dec|W|11.34}} -11.34
{{Coord/dms2dec|W|11}} -11