Learn R Programming

stplanr (version 0.1.4)

line_midpoint: Find the mid-point of lines

Description

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.

Usage

line_midpoint(l)

Arguments

l
A SpatialLinesDataFrame

Examples

Run this code
l = routes_fast

Run the code above in your browser using DataLab