# This file is used for the federal lands shapefile from National Atlas # basic stuff is complete, still needs work. (e.g., NASA centers # aren't right, this is obvious here in Huntsville). # Jason kg4wsv # AREA float (12,3) # PERIMETER float (12,3) # FEDLANP020 integer (11,0) # FEATURE1 string (80,0) # FEATURE2 string (80,0) # FEATURE3 string (80,0) # AGBUR string (7,0) # URL string (150,0) # NAME1 string (80,0) # NAME2 string (80,0) # NAME3 string (80,0) # STATE string (14,0) # STATE_FIPS string (14,0) # 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="AREA:PERIMETER:FEDLANP020:FEATURE1:FEATURE2:FEATURE3:AGBUR:URL:NAME1:NAME2:NAME3:STATE:STATE_FIPS"; # dbffields is which of the above fields we actually want to look at. dbffields="AREA:AGBUR:FEATURE1:FEATURE2:FEATURE3:NAME1:NAME2:NAME3"} # BEGIN_RECORD is called once per dbf record which contains multiple fields. # Use this rule to re-initialize variables between records. #_way_ too much noise in this map. turn off everything by default, #turn on the features that we want. this may or may not suit your #needs. # that was even worse. looks like we need # to look at multiple fields to really see what's happening BEGIN_RECORD {key=""; lanes=0; color=15; fill_color=15; label_color=15; name=""; filled=0; pattern=0; display_level=0; label_level=0; symbol=""; font_size=0} /AREA= (0.000)/ {next_record} # skip Corps of Engineers stuff, since we're looking at hydrology # info from the hydro dat a set /FEATURE1=Army Corps of Engineers.*/ {label_level=0; display_level=0; next_record} #AGBUR possible values: #BIA B Indian Affairs #BLM B Land Management #BOR #DOD DoD #FS Forestry Sevice #FWS Fish & Wildlife #NPS Nat'l Park Service #OTHER #TVA Tennessee Valley Authority #/AGBUR=(Null)/ {label_level=0; display_level=0;next_record} #/AGBUR=NULL/ {label_level=0; display_level=0;next_record} #/AGBUR=OTHER/ {label_level=0; display_level=0;next_record} # skip TVA stuff #/AGBUR=TVA/ {filled=1; pattern=0;color=26; fill_color=26} #/AGBUR=TVA/ {filled=1; pattern=0;color=26; fill_color=26; label_level=0; display_level=0;next_record} #/AGBUR=TVA/ {label_level=0; display_level=0;next_record} # purple for BIA /AGBUR=BIA/ {filled=1; pattern=0; color=1; fill_color=1;display_level=40960; label_level=1024} # red for DoD /AGBUR=DOD/ {filled=1; pattern=0; color=68; fill_color=68;display_level=40960; label_level=1024} # green for these /AGBUR=FS/ {filled=1; pattern=0; color=0; fill_color=100;display_level=40960; label_level=1024} /AGBUR=FWS/ {filled=1; pattern=0; color=0; fill_color=100;display_level=40960; label_level=1024} /AGBUR=NPS/ {filled=1; pattern=0; color=0; fill_color=100;display_level=40960; label_level=1024} /NAME1=(.*) */ {name="$1";} #/NAME1=(.*) */ {name="$name:$1";} #/NAME2=(.*) */ {name="$name/$1";} #/NAME3=(.*) */ {name="$name/$1";} #/FEATURE1=(.*) */ {name="$name/$1";} #/FEATURE2=(.*) */ {name="$name/$1";} #/FEATURE3=(.*) */ {name="$name/$1";} #END {}