Allows the user to select a number of shapes from a sf object or network by clicking
in the plot window. A shape will be converted to a sfnetwork first
Usage
LocateFeature(shape, type)
Arguments
shape
A sf object with LINESTRING geometry or a sfnetwork
type
Either "POINT", "VERTEX" or "SEGMENT" which indicates the type of shape to select
Value
A sf object containing the POINTS or LINESTRINGS selected by the user