WPS process to rank points along a track/route

Update of ktcorby's efforts on PR#73
This could be broken out into a method for readability.