[Xastir] dbfawk queries

Liz edodd at billiau.net
Sun Feb 10 17:29:19 EST 2013


query 1
My lakes are not being rendered filled
and no names are displayed
Can anyone assist with whatever error I have made?
all comment lines have been removed for this email

============================
BEGIN {

dbfinfo="FEATTYPE:NAME:PERENNIAL:FEATREL:ATTRREL:PLANACC:SOURCE:CREATED:RETIRED:PID:SYMBOL:TEXTNOTE:SHAPE_Leng:SHAPE_Area";

dbffields="NAME:PERENNIAL";
}


BEGIN_RECORD {key=""; lanes=1; color=26; fill_color=26; name="";
filled=1; pattern=0; display_level=8192; label_level=32;
label_color=26; font_size=0; symbol=""; fill_style=0 }


/^NAME=(.*)$/ {name=$1}


/^PERENNIAL=Perennial/ {filled=1; color=97; fill_color=97;
label_color=26; display_level=1024;next} 

/^PERENNIAL=Non-perennial/
{filled=1; color=23; fill_color=23; label_color=26;
display_level=1024;skip} 



More information about the Xastir mailing list