Plantilla:Coord/dec2dms
Jump to navigation
Jump to search
==Utilització==
Donades unes coordinades decimals, dues direccions i la precisió, retorna les coordenades en format graus/minuts/segons.
Exemples
{{coord/dec2dms|coord|N|S|precision}} {{coord/dec2dms|coord|E|W|precision}}
Codis de precisió:
d | Degrees (rounded to integer) |
d1 | Degrees (rounded to 0.1 degrees) |
dm | Degrees, minutes (rounded to integer) |
dm1 | Degrees, minutes (rounded to 0.1 minutes) |
dms | Degrees, minutes, seconds (rounded to integer) |
dms1 | Degrees, minutes, seconds (rounded to 0.1 seconds) |
Exemples
{{Coord/dec2dms|10.391944|N|S|d}} -> Plantilla:Coord/dec2dms/dN {{Coord/dec2dms|10.391944|N|S|d1}} -> Plantilla:Coord/dec2dms/d1N {{Coord/dec2dms|-10.391944|N|S|dm}} -> Plantilla:Coord/dec2dms/dmS {{Coord/dec2dms|-10.391944|N|S|dm1}} -> Plantilla:Coord/dec2dms/dm1S {{Coord/dec2dms|10.391944|E|W|dms}} -> 10° 23′ 31″ E {{Coord/dec2dms|-10|E|W|dms1}} -> Plantilla:Coord/dec2dms/dms1W