[Xastir] Since we are talking about dbfawk...an issue

Keith Kaiser wa0tjt at gmail.com
Wed Apr 22 10:00:19 EDT 2009


In the new 2008 Tiger maps I'd like to have the county names appear  
(large, green) at about zoom level 100 and then disappear again at  
about level 300. Which dbfawk file do I play with to make this happen?


On Apr 21, 2009, at 10:25 PM, Lee Bengston wrote:

> On 4/21/09, Tom Russo <russo at bogodyn.org> wrote:
>> On Tue, Apr 21, 2009 at 09:49:50PM -0500, we recorded a bogon- 
>> computron
>> collision of the <r.polivka at sbcglobal.net> flavor, containing:
>>> How do I go about ignoring the display of a particular feature?
>>>
>>> I don't want the "x" displayed at the end of cul-de-sac's (MTFCC  
>>> code
>>> C3061).
>>>
>>> What is the structure of the line to accomplish this? I am getting
>>> nowhere.
>>
>> Two ways to do it:
>>
>> If the majority of features in the shapefile are features you want to
>> display,
>> set display_level to something reasonable in BEGIN_RECORD, and set  
>> it to 0
>> for features you don't want.  So in pointlm.dbfawk, if most  
>> features are
>> features you want displayed, leave display_level where it is in
>> BEGIN_RECORD,
>> and add a dbfawk rule:
>>
>> /MTFCC=C3061/ {display_level=0; next;}
>>
>> Make sure that no earlier rule matches such a record first.  For  
>> example, if
>> you have
>> /MTFCC=C3/ {display_level=512; next;}
>> (which you do), then you must put the C3061 rule earlier in the  
>> file so that
>> only those MTFCC=C3... that aren't C3061 get caught by the less  
>> specific
>> rule.
>
> Perfect - I added
> /MTFCC=C3061/ {display_level=0; next;}
> to the file ahead of the other aforementioned rule, and no more red
> X's at the dead ends.  Thanks, Tom, you really led the horse right to
> the water on that one.
>
> Lee - K5DAT
> Murphy, TX
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

73's
Keith Kaiser
wa0tjt at gmail.com






More information about the Xastir mailing list