powered by
create an spatial point object from 1 point and optionally export it as a shapefile
sp_point( lon, lat, ID = "point", proj4 = "+proj=longlat +datum=WGS84 +no_defs", export = FALSE, runDir = runDir )
lon
lat
name of point
projection
write shafefile default = F
character runtime folder
character
if (FALSE) { ## creating sp spatial point object point <- sp_point(8.770362,50.815240,ID="Faculty of Geographie Marburg") ## plot it raster::plot(point) }
Run the code above in your browser using DataLab