# Jason kg4wsv # RCID integer (11,0) # SNID integer (11,0) # ENID integer (11,0) # ENTITY_LAB string (7,0) # SUPPLEMENT string (1,0) # AMENDED string (1,0) # APPROXIMAT string (1,0) # DEPRESSION string (1,0) # GLACIER_OR string (1,0) # UNDERWATER string (1,0) # BEST_ESTIM string (1,0) # SPOT_CATEG string (2,0) # PHOTOREVIS string (1,0) # ELEVATION float (24,15) # BEGIN is called once per dbf file which contains multiple records. BEGIN { # dbfinfo is the "signature" of the dbf file listing the column names in order. # dbfinfo should match the dbf file that we say this dbfawk file goes with. dbfinfo="RCID:SNID:ENID:ENTITY_LAB:SUPPLEMENT:AMENDED:APPROXIMAT:DEPRESSION:GLACIER_OR:UNDERWATER:BEST_ESTIM:SPOT_CATEG:PHOTOREVIS:ELEVATION"; # dbffields is which of the above fields we actually want to look at. dbffields="ENTITY_LAB:ELEVATION"} # BEGIN_RECORD is called once per dbf record which contains multiple fields. # Use this rule to re-initialize variables between records. BEGIN_RECORD {key=""; lanes=1; color=14; fill_color=14; label_color=14; name=""; filled=0; pattern=0; display_level=262144; label_level=64; symbol=""; font_size=2} #/ENTITY_LAB=$/ {display_level=0;next;} /ELEVATION=[0.]*$/ {name="";next;} /ELEVATION=(.*00)[.][^.]*/ {name="$1";lanes=2;next} /ELEVATION=([^.]*)/ {name="$1";} #END {}