Find midpoint of a DEM
mid_find(data)
data
A DEM in RasterLayer format.
A data frame with x and y midpoints.
mid_find(horseshoe)