Current match_points_to_graph() just matches to nearest graph vertex. This could be improved by finding the closest edge to a matched point, then choosing the closest vertex of that edge. This extends from suggestions of @JimShady in stplanr issue#331. Implementing this will require a custom line intersection routine.