GPX Schema question
- What is the difference between <fix> and <type>? I've been using the
<type> record for "AIRPORT", "VOR", "VFR-WPT", etc. But would it be
better to put that in <fix>?
"To announce that there must be no criticism of the president, or that we
are to stand by the president, right or wrong, is not only unpatriotic and
servile, but is morally treasonable to the American public." -- Teddy Roosevelt
- Paul Tomblin wrote:
> What is the difference between <fix> and <type>? I've been using theAs per the GPX 1.1 schema, for Waypoints, the "type" element
> <type> record for "AIRPORT", "VOR", "VFR-WPT", etc. But would it be
> better to put that in <fix>?
is the "Type (classification) of the waypoint", whereas the
"fix" element is the "Type of GPX fix".
That text for "fix" has a typo - it should read
"Type of GPS fix"(same typo applies for the "sat" element).
The valid values for "fix" are listed in the GPX documentation:
If you want to classify some aviation-related waypoints
as "AIRPORT", "VOR", "VFR-WPT", etc., then using the
"type" element seems appropriate, but those values
don't belong in the "fix" element.
Co-Lead Developer, Punt
Canadian Coordinator, Degree Confluence Project
Personal website - Maps, GPS, etc.