fbLLToSPDF | R Documentation |
This function takes a fieldBookLL and converts it to a Spatial Points Data Frame (i.e.SDPF) using the library spatial points. This is an important transition in the workflow as the fieldBook is now a spatial object. This allows for more advanced spatial analysis/operations to be exectuted with libraries such as raster, rgeos, etc.
fbLLToSPDF(fieldBookLL,coordRefSys)
fieldBookLL |
agriPlot fieldBook output with Longitiude and Latitude for each plot |
coordRefSys |
this the coordinate reference system (CRS) you wish to assign to your Spatial Points Data Frame. Using coordRefSys = "default" sets the CRS to: "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs". Otherwise, users can enter any valid CRS. |
The function returns a Spatial Points Data Frame from a fieldBookLL input
fieldBookLL as Spatial Points Data Frame
##Vignette at https://github.com/cb-agr/agriPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.