[Xastir] dbfawk display_level question

jeepin95 at comcast.net jeepin95 at comcast.net
Thu Aug 5 18:45:08 EDT 2004


I'm trying to customize the dbfawk file for the 2000 ESRI shapefile data and I'm having problems with the display_level option, it doesn't seem to be working at all.

I turned on the shapefile in the map selector without any max or min zoom settings. I then modified tried modifying the dbfawk file to adjust some of the display levels, but it continues to display everything. I tried setting everything to a really low setting to see if any of it work work, but it doesn't seem to. I am able to change the color settings in the same file and those changes do take effect.

I make the changes while Xastir isn't running, then load it after saving. What might I be doing wrong? I've read through the tutorial and tried creating my own dbfawk file for a shapefile I've created of Columbia River Gorge trails and it works fine for color, style, size, and labels, but again does not work with the display_level.

Pasted below is the section of the dbfawk file that adjusts the settings for the roads that I'm trying to mess with.

Thanks,
Josh


# A74 - driveway
/^CFCC=A1/ {lanes=4; color=96; display_level=20; font_size=3; next}
/^CFCC=A2/ {lanes=3; color=8; label_level=32; display_level=32; font_size=2; next}
/^CFCC=A3/ {lanes=2; color=8; label_level=32; display_level=32; font_size=1; next}
/^CFCC=A3[1-6]/ {display_level=32; next}
/^CFCC=A3[7-8]/ {display_level=32; next}
/^CFCC=A4/ {display_level=32; label_level=16; color=40; lanes=1; next}
/^CFCC=A5/ {lanes=2; label_level=16; color=40; display_level=32; font_size=1; next}
/^CFCC=A65/ {lanes=2; label_level=16; color=8; pattern=2; display_level=32; font_size=1; next}
/^CFCC=A6[^5]/ {color=40; label_level=16; display_level=32; next}
/^CFCC=A7[12]/ {lanes=1; label_level=16; color=12; pattern=2; display_level=32; next}
/^CFCC=A7[03-9]/ {lanes=1; label_level=16; color=40; pattern=2; display_level=32; next}
# need to implement these:



More information about the Xastir mailing list