Retrieve Ping Sonar data for analysis

Hi All, I have a similar project that I am working on. I want to use the echosounder to collect depth measurements. I also need the GPS location. So am I correct in assuming that I would need to integrate the GPS and SONAR to obtain xyz points along a reach?