Description Usage Arguments Value Examples
Convert data.frame of GPS points in decimal degree format to an SpatialPointsDataFrame
1 | convert_spdf(df, lat = NULL, lon = NULL, defaultCRS = NULL)
|
df |
A data frame of GPS points in decimal degree format |
lat |
The variable that has the Latitude data |
lon |
The variable that has the Longitude data |
defaultCRS |
The default CRS to use. If none is provided then it uses the default latlon CRS. |
A spdf with a default CRS. This default CRS will then need to be converted.
1 2 | add(1, 1)
add(10, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.