updated: 30-May-2011

 Copan Lite for Windows

Point Codes

Contents
  1. Point Code Types
  2. Extended Codes
  3. Point Codes Table
  1. Extended Code Examples
  2. Codes Table Example

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,

1. Point Code Types

There are two kinds of point code — basic and extended — distinguished by their format and hence the amount of information that they convey about a point: The above point code formatting is the minimum requirement in order for the List Points, Export to Ascii, etc, modules to correctly show the Desc or Description attributes of any points.

2. Extended Codes

In order for the List Points, Export to Ascii, etc, modules to correctly show the Extension attribute of a point, one of three kinds of extended code types must be distinguished and used: hole, culvert and tree.

2. Point Codes Table

A codes table is a user-managed, tab-delimited, Ascii-based, single-byte encoded, lookup file, normally found in the Auxiliary Files folder.

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:

Note that

3. Extended Code Examples

Suppose this is an excerpt of your point codes table:
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

4. Codes Table Example

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