next up previous
Next: Friend and Enemy Data Up: Expanding Beyond a Site Previous: Site Limits

Encoding Locus Types

In the remainder of the project, we will adopt the the method of encoding the type of the site in its name that was discussed in the newsgroup in glorious detail by Dr.  Hugue while everyone else was trying to understand the Part 1 specification. For example, if all my "Civilian sites", Friendly or Enemy, have names beginning with the letter "C", it's really hard to confuse one of them with an actual target name, such as "military Base", that begins with the letter B. While this method makes it easy for my staff to update test data, it also gives the human one less parameter to think about. We have embedded the SiteTypes of Part 2 in the LocusType table shown below.

First Character Encoded LocusType
A Air Unit Site
B military Base Site
C Civilian territory Site
E, F Reserved-illegal locus name
G Ground unit Site
H Hospital Site
I Interesting Places
J Junction
M MASH Unit
P Pantry and Supplies
S Shelter
W Weapons
other Unassigned


next up previous
Next: Friend and Enemy Data Up: Expanding Beyond a Site Previous: Site Limits
MM Hugue 2004-04-19