Export Navio2 GPS coordinates into separate program

I’m extremely new to the Navio2. I noticed the GPS example from Emlid here:


I noticed this is to find the current GPS coordinates and it displays on the terminal. Is there any way to extract those same coordinates and implement them as a variable in a separate program? The idea is to continuously compare the current coordinates in the separate program against some preset coordinate boundaries. And when the current coordinates are within those preset boundaries, an audio file will play. The current issue is getting those current GPS coordinates to continuously update in the separate program. It seems like the above example from Emlid could be useful, but not sure how this would even be implemented. If anyone has any ideas, it would be greatly appreciated.