spatialPointsLatLng | R Documentation |
This function is a wrapper for the spatialPoints function in the sp package
spatialPointsLatLng(latitude, longitude, proj4stringAttributes = NULL)
latitude |
latitude coordinates |
longitude |
longitude coordinates |
proj4stringAttributes |
(optional) which projection to copy attributes from |
This turns lattitude and longitude coordinates into a spaital projection
a SpatialPolygonsDataframe
spatialPointsLatLng (latitude, longitude)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.