For a GIS class I'm taking I'm trying to create some spatial statistics for a route through a city. I need to create a buffer of 100m around the route. It looks like i can use gbuffer from rgdal but that requires that the data is prjected, which it's currently not. It sounds like i can project with spTransform but I'm not certain which method from rgdal to use.
Is there an obvious answer or a good resource for figuring that out?
Summary of the Spatial Lines Dataframe object I'm working with below.
Object of class SpatialLinesDataFrame
Coordinates:
min max
x -0.13590 0.033067
y 51.47773 51.543564
Is projected: FALSE
proj4string :
[+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0]
I'm currently trying this line but the object it returns still is not projected...
Projected_Path = sp::spTransform(path, "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0" )