code to visualize gps data