Template:Coord/dms2dec/doc: Difference between revisions
< Template:Coord | dms2dec
No edit summary |
(Create) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{tl|Coord/dms2dec}} converts cardinal direction and degree-minutes-seconds to decimal coordinate. | {{tl|Coord/dms2dec}} converts cardinal direction and degree-minutes-seconds to decimal coordinate. | ||
== Usage | == Usage == | ||
{{coord/dms2dec|''direction''|''degrees''|''minutes''|''seconds''}} | |||
== Examples == | |||
{| class="wikitable" | |||
== Examples | | <code><nowiki>{{Coord/dms2dec|N|10|20|35.67}}</nowiki></code> || {{Coord/dms2dec|N|10|20|35.67}} | ||
{| class="wikitable | |||
| <code><nowiki>{{Coord/dms2dec|N|10|20|35.67}}</nowiki></code> | |||
| {{Coord/dms2dec|N|10|20|35.67}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|N|10|20|35}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|N|10|20|35}}</nowiki></code> || {{Coord/dms2dec|N|10|20|35}} | ||
| {{Coord/dms2dec|N|10|20|35}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|N|10|20|30}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|N|10|20|30}}</nowiki></code> || {{Coord/dms2dec|N|10|20|30}} | ||
| {{Coord/dms2dec|N|10|20|30}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|E|10|25.39}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|E|10|25.39}}</nowiki></code> || {{Coord/dms2dec|E|10|25.39}} | ||
| {{Coord/dms2dec|E|10|25.39}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|E|10|25}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|E|10|25}}</nowiki></code> || {{Coord/dms2dec|E|10|25}} | ||
| {{Coord/dms2dec|E|10|25}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|S|10|20}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|S|10|20}}</nowiki></code> || {{Coord/dms2dec|S|10|20}} | ||
| {{Coord/dms2dec|S|10|20}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|W|11.341666}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|W|11.341666}}</nowiki></code> || {{Coord/dms2dec|W|11.341666}} | ||
| {{Coord/dms2dec|W|11.341666}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|W|11.3416}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|W|11.3416}}</nowiki></code> || {{Coord/dms2dec|W|11.3416}} | ||
| {{Coord/dms2dec|W|11.3416}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|W|11.34}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|W|11.34}}</nowiki></code> || {{Coord/dms2dec|W|11.34}} | ||
| {{Coord/dms2dec|W|11.34}} | |||
|- | |- | ||
| <code><nowiki>{{Coord/dms2dec|W|11}}</nowiki></code> | | <code><nowiki>{{Coord/dms2dec|W|11}}</nowiki></code> || {{Coord/dms2dec|W|11}} | ||
| {{Coord/dms2dec|W|11}} | |||
|} | |} | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:Coord template]] | ||
[[eo:Ŝablono:Koord/gmsaldek]] | |||
[[ja:Template:Coord/dms2dec]] | |||
[[it:Template:Coord/dms2dec]] | |||
[[ka:თარგი:Coord/dms2dec]] | |||
[[hu:Sablon:Coord/dms2dec]] | |||
[[pl:Szablon:Koordynaty/zamień-kątowe-na-dziesiętne]] | |||
[[pt:Predefinição:Coord/dms2dec]] | |||
[[sl:Predloga:Koord/dms2dec]] | |||
</includeonly> | </includeonly> | ||
Revision as of 19:23, 4 July 2010
{{Coord/dms2dec}} converts cardinal direction and degree-minutes-seconds to decimal coordinate.
Usage[edit source]
{{coord/dms2dec|direction|degrees|minutes|seconds}}
Examples[edit source]
{{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 |