gistlib
other r categories
spatial-data code snippets in r
convert geometry from a .shp file into a new df with the id column from the .shp file and x and y coordinates in r in r
create a dataset with 2 sets of coordinates in latitude and longitude in 4 columns. then using st_as_sf convert these into 2 geometry columns in r
create two points using latitude and longitutde coordinates then using st_cast draw a line connecting the two in r
subsample raster in r
gistlib
by LogSnag