decimaldegrees {INQC} | R Documentation |
Converter for geographical coordinates from the ECA&D format into decimal degrees
Description
This function takes sexagesimal degrees in the ECA&D format and converts them into decimal degrees. Initial idea was taken from: https://modtools.wordpress.com/2013/09/25/dms2dec/
Usage
decimaldegrees(dms, sep = ":")
Arguments
dms |
ONE ELEMENT from the LAT or LON field in ECA&D listings |
sep |
the separator between elements, in ECA&D ":" |
Value
geographical coordinates (latitude or longitude) in decimal degrees
Examples
dms<-'+48:03:00'
dec<-decimaldegrees(dms)
dms<-'-015:03:00'
dec<-decimaldegrees(dms)
[Package INQC version 2.0.5 Index]