Jump to content
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

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... ;)


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...