implemented NearestPointOnLine to add with point edits requiring snap-to-line calculation in CRS of line