Shared code for analyzing GPS data of fishing