Description Usage Arguments Value Note See Also
Convert between different representations of latitude and longitude, namely degrees-minutes-decimal minutes and decimal degrees.
1 | geoconvert(data, inverse = F, col.names = c("lat", "lon"))
|
data |
Dataframe with coordinates in two columns |
inverse |
Which conversion should be undertaken, default from degrees-minutes-decimal minutes (DDMMmm) to decimal degrees (DD.dd) |
col.names |
Colnames in |
Returns data
with converted values in the coordinate columns.
Functions calling geoconvert
do so in a branch that is probably
rarely used. Implement conversion from other representations of lat and lon
in future?
Called by a number of functions, i.e. d2mr
,
mr2d
, geogrid
, geoidentify
,
geolines
, geopoints
, geopolygon
and geotext
, perhaps unncessarily in some. Wraps around
functions geoconvert.1
and geoconvert.2
,
depending on which conversion to undertake.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.