powered by
This is a wrapper around SpatialLinesMidPoints() that allows it to find the midpoint of lines that are not projected, which have a lat/long CRS.
SpatialLinesMidPoints()
line_midpoint(l)
A spatial lines object
# NOT RUN { data(routes_fast) line_midpoint(routes_fast[2:5, ]) # }
Run the code above in your browser using DataLab