1# Written for the Tiger/Line 2009 dataset
2# NB: Colors have been chosen with a black background in mind.
3#
4#  Copyright (C) 2010  Peter Gamache, KC0TFB
5#
6#  This program is free software; you can redistribute it and/or
7#  modify
8#  it under the terms of the GNU General Public License as published
9#  by
10#  the Free Software Foundation; either version 2 of the License, or
11#  (at your option) any later version.
12#
13#  This program is distributed in the hope that it will be useful,
14#  but WITHOUT ANY WARRANTY; without even the implied warranty of
15#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16#  GNU General Public License for more details.
17#
18#  You should have received a copy of the GNU General Public License
19#  along with this program; if not, write to the Free Software
20#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21#  02111-1307  USA
22#
23#  see file COPYING for details
24#
25# color,label_color,fill_color	sets object colors
26# lanes				sets width of lines drawn (in pixels)
27# name				sets the text that will be used as the label for the feature
28# symbol			"XYZ", where X=group (/ or \), Y=symbol and Z=overlay
29# fill_style			0=solid, 1=tiled, 2=stippled, 3=Opaque Stippled
30# fill_stipple			0 is a 13 percent stipple, 1 is 25%, 2 is 50%.
31# pattern			line pattern: 0=solid, 1=dashed, 2=double dash
32# display_level			maximum zoom level for object display
33# label_level			maximum zoom level for label display
34# font_size			0="Tiny", 4="Huge"
35
36BEGIN {
37# dbfinfo extracted from tl_2009_27_aits.dbf:
38dbfinfo="AIANNHCE:TRSUBCE:TRSUBNS:TRSUBID:NAME:NAMELSAD:LSAD:CLASSFP:MTFCC:FUNCSTAT:ALAND:AWATER:INTPTLAT:INTPTLON:STATEFP:TRSUBFP:PARTFLG";
39dbffields="NAMELSAD:MTFCC";
40}
41/^NAMELSAD=(.*)$/ {name="$1";next}
42
43/^MTFCC=G23/ {
44display_level=128; color=65;
45label_level=96;    label_color=6;
46next;
47}
48
49#END_RECORD {}
50#END {}
51