Re: How should a two-digit airport runway number be represented in XML?

Norm Tovey-Walsh <[email protected]> Mon, 24 Jun 2024 16:36:07 +0100
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

> "Runways, all runways, have a 2-digit number that represents the magnetic=
 heading of the runway to the nearest 10 degrees. If the runway's heading i=
s 265 =E2=80=94 274 degrees, then the runway number is 27 =E2=80=94 always =
drop the last =E2=80=9C0.=E2=80=9D The opposite end of the runway is 180 de=
grees apart, so Runway 09 (90 degrees)."
>
> How to represent a runway number in XML?

As ever, =E2=80=9Cit depends=E2=80=9D. Without knowing more about the conte=
xt, I can only appeal to my aesthetic sense and intuition.

> What do you think? Which form is better?

Given that the computer doesn=E2=80=99t care if it=E2=80=99s 9 or 09, I=E2=
=80=99d probably store the value as 09. That will be familiar and natural t=
o a human pilot familiar with reading runway signs. Or an experienced techn=
ical writer used to documenting airport designs.

Don=E2=80=99t confuse the human is always a good design choice.

                                        Be seeing you,
                                          norm

=2D-
Norm Tovey-Walsh <[email protected]>
https://norm.tovey-walsh.com/

> The test of courage comes when we are in the minority. The test of
> tolerance comes when we are in the majority.--Ralph W. Sockman

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSEJUqRvjpp8yLt8uKDEiZHbwv9OwUCZnmSZwAKCRCDEiZHbwv9
O/dbAQDxM5qQC7mOvvZwwStUmpJ1XiKzvk0AiX7zeH+sT/lUtQD/ZHzIH7+wCu9t
93p+rZrZQttbndTf2VJYdUy9J9FVhwM=
=tXOU
-----END PGP SIGNATURE-----
--=-=-=--