Sign in to follow this  
mgh

Waypoint City and Waypoint Name

Recommended Posts

The GPS_INFO structure and the GPS_WP_INFO structure don't seem to have the information that's displayed in the second and third fields of the default GPS. Where does this information come from?The first field in the default GPS is the waypoint ICAO identifier. But the second and third fields show a city/state/waypoint full name. Is there another structure not listed in gps_info.h that contains this data?

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi,Looking for these?%((@c:WaypointAirportCity))%!s!%((@c:WaypointAirportRegion))%!s!%((@c:WaypointAirportName))%!s!%((@c:WaypointAirportIdent))%!s!etc.They and many more can be find in the MS-GPS.Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

Jan, he's needing the information in a C gauge. The XML data isn't directly available, but is 'fetchable' via some serious coding kung-fu... ;)

Share this post


Link to post
Share on other sites

Yes, it looks like that's what I'm seeking. Do you have to wait for a waypoint to be in a flight plan to get to those values? Or can you reach those values artitrarily before the waypoint has been entered into the GPS?Ooops, Bill beat me to the issues!!!! Kung-Fu, here we go.......

Share this post


Link to post
Share on other sites

The city/state information only exists if the waypoint is associated with an airport record. That information doesn't exist for a "free-standing" waypoint.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this