How to segment data from a ride

First posts explain it all.