updated: 30-May-2011
A Copan point code (or feature code) is intended as an abbreviated yet very useful point attribute. Used carefully, it can describe several characteristics of a point. Although any string of 13 printable characters can be used for a point code, for Copan to fully exploit them,
power pole, 14 for
coniferous tree, or 34 for
top of wall.
PPfor
power pole,
CTfor
coniferous tree, or
TWfor
top of wall. Actually, an alpha code need only be the first sequence of characters of a Desc that uniquely distinguishes it, or even just the first character of the Desc if that particular Desc is the first one in the table. For example, if the following are all the Descs beginning with the letter T appearing in the table,
TL,
telMH,
tank capand
TW, then they can be referenced merely by the following,
T,
te,
taand
TW, respectively.
Thus the basic code could be either 2 or PP for power pole
; 14 or CT for coniferous tree
; and 34 or TW for top of wall
.
B.E
where
B
is the basic point code (as above), and
E
is a string of extra alphanumeric characters, containing further coded information and depending on the type of extended code (see below).
The total character length of an extended code must still be 13 or less.
B.D
where
B
is the basic point code (described above), and
D
is the hole depth, in hundredths of a distance unit (e.g., if coordinates are in metres then depth is in cm).
B.C
where
B
is the basic point code (described above), and
C
is the culvert diameter, in hundredths (cm).
B.T.S
where
B
is the basic point code (described above),
T
is the trunk diameter, in hundredths (cm), and
S
is the spread diameter, in distance units (m).
The first line should contain 5 or 6 tab-separated headings (the last one being optional):
Code Description Type Block Layer [Desc]
Each subsequent line describes a feature type, and must contain 5 or 6 tab-separated fields:
basic,
hole,
culvert, or
tree), that can be used by List Points, and Export to Ascii;
codes.txt
until told otherwise.
Code Description Type Block Layer Desc 0 control point basic CONT survey CP 1 lamp stand basic LAMP util LS 8 catch basin hole CATCH util CB 13 deciduous tree tree DTREE veg DT 36 culvert culvert CULV topo culv
The following could be an excerpt from List Points (option 7):
Code Desc Extension ------------ ----------- ----------------- 0 CP 0.7 CP (type 7) 1 LS 1.3 LS (type 3) 8.125 CB 1.25 deep 8.85 CB 0.85 deep 13.150.10 DT 1.5 trnk 10 sprd 13.90.15 DT 0.90 trnk 15 sprd 36 culv 36.35 culv 0.35 diam
Note that
.7
and .3
in the second and fourth point codes are merely user-determined codes that might be used to sub-classify the point.
For example, 1, 2, or 3 could be used to specify wood, metal, or concrete as the type of lamp stand.
This is a portion of a typical Codes Table.
(See the Sample Aux Files\sample_codes.txt
file.)
Note that because it is tab-delimited, if you look at an actual file, the columns may not appear as neatly aligned as they do here.
Also note that the codes need not be consecutive
(there are no codes 23-26 or 30-35).
Code Description Type Block Layer Desc 0 control point basic CONT survey CP 1 lamp stand basic LAMP util LS 2 power pole basic POWPL util PP 3 guy wire basic POINT util GW 4 traffic light basic TRAFL util TL 5 utility box basic UTILB util UB 6 transformer box basic POINT util TB 7 electrical box basic ELECB util EB 8 catch basin hole CATCH util CB 9 sanit manhole hole SANMH util sanMH 10 storm manhole hole STMMH util stmMH 11 power manhole hole PWRMH util pwrMH 12 telephone manhole hole TELMH util telMH 13 deciduous tree tree DTREE veg DT 14 coniferous tree tree CTREE veg CT 15 fire hydrant basic FIREH util FH 16 water valve basic WATRV util WV 17 gas valve basic GASV util GV 18 sign post basic SIGNP util SP 19 parking meter basic PARKM util PM 20 guard post basic GARDP util GP 21 tank cap basic POINT util tank cap 22 monitoring well basic MNWELL topo MW 27 manhole hole MANHL util MH 28 bore hole basic BH topo BH 29 steps basic POINT topo steps 36 culvert culvert CULV topo culv
updated: 30-May-2011