[Xastir] 2008 Tiger Map edge.dbfawk

Keith Kaiser wa0tjt at gmail.com
Wed Apr 29 13:27:59 EDT 2009


I don't think it's in tabblock I think it's in featnames. I went into  
both and made the featnames look the same as in edges, still have the  
same exact behavior as before.

I'm clearly doing something wrong.

On Apr 29, 2009, at 10:41 AM, Tom Russo wrote:

> On Wed, Apr 29, 2009 at 09:28:09AM -0500, we recorded a bogon- 
> computron collision of the <wa0tjt at gmail.com> flavor, containing:
>> The mystery continues! I've posted two screen shots of my Xastir
>> running, one at zoom level 128 the other at level 151. The 128 level
>> really is pretty nice, especially note the smaller roads how they are
>> grayed out. Now compare them to the 151 level how the same roads are
>> now in black.
>>
>> http://kaiserklan.com/snapshot_128.png
>> http://kaiserklan.com/snapshot_151.png
>>
>> I can not find the MTFCC=S level that controls this, nor can I figure
>> out my original question how to drop these smaller roads off the map
>> completely above 150 zoom.
>
> I think the issue is that the edges and a second file both contain  
> shapes
> for the same road.  This was something I worked out with Dale a week  
> or two
> ago.  This is why the roads change color --- one map is drawn on top  
> of the
> other, and when the upper one stops being drawn the lower one starts  
> being
> visible.
>
> I believe that the "tabblock" file is the one with the duplicate  
> shapes.  Thing
> is, I believe it also has different MTFCC codes for them, because it  
> is using
> those lines for different purposes (boundaries of tabulation blocks or
> something like that).
>
> I'm not clear on what value the tabblock file has, but the  
> duplication of
> features is confusing to the map user in Xastir.  Try turning off  
> the tabblock
> files for your area and see if it gets you the behavior you want.   
> If tabblock
> contains some features you really want to see, you'll have to figure  
> out
> how to tweak *its* dbfawk file to hide the features you want to go  
> away at
> high zooms.
>
> Trying to debug dbfawk files while viewing multiple shapefiles at  
> once is the
> path to madness.  What you want to do when working on a dbfawk file  
> is to
> deselect all maps in the map chooser except the one associated with  
> the dbfawk
> you're debugging.  In this case, the presence of identical shapes in  
> multiple
> files completely confuses the issue.
>
>
>>
>> On Apr 28, 2009, at 1:00 PM, Tom Russo wrote:
>>
>>> On Tue, Apr 28, 2009 at 12:55:11PM -0500, we recorded a bogon-
>>> computron collision of the <wa0tjt at gmail.com> flavor, containing:
>>>> Renaming doesn't seem to have had any effect. I renamed, then
>>>> reindexed all maps but I still have all the roads that should not  
>>>> be
>>>> showing above level 150 showing up at all levels. I tried closing
>>>> Xastir, and even rebooting, hmmmm!
>>>
>>> Do you have "Enable Map Levels" turned on?
>>>
>>> See Map->Enable Map Levels.  If it's not checked, it should be.
>>> Unchecked it
>>> will always display all shapes in a shapefile irrespective of zoom
>>> level.
>>>
>>>> On Apr 28, 2009, at 11:14 AM, Dick Repasky wrote:
>>>>
>>>>>
>>>>> I think that the problem may be that the dbfawk file is misnamed  
>>>>> in
>>>>> the zip
>>>>> distro.  Try renaming the file to edges.dbfawk. That worked for  
>>>>> me.
>>>>>
>>>>> Dick, KC9JLU
>>>>>
>>>>>
>>>>> Keith Kaiser wrote:
>>>>>> I've got something wrong I just don't understand...
>>>>>>
>>>>>> This is a snipit from the edge.dfbawk file, please note the types
>>>>>> of
>>>>>> roads (Limited Access, secondary, local, 4WD, Freeway access,
>>>>>> walkway,
>>>>>> alley, bike, road median). So where are the interstate highways,
>>>>>> state
>>>>>> highways, etc.?
>>>>>>
>>>>>> Also, setting these display_level values had no effect on the map
>>>>>> display, they made no changes at all. I still have way too much
>>>>>> detail
>>>>>> at higher zoom levels. What am I doing wrong? Do I need to have  
>>>>>> the
>>>>>> details in map chooser set in some special way? Currently they  
>>>>>> are
>>>>>> set
>>>>>> (mostly) like this; max zoom = 500, min zoom = -, fill = auto,
>>>>>> automap =
>>>>>> yes
>>>>>>
>>>>>> Help!
>>>>>>
>>>>>> ....
>>>>>> # Limited access road
>>>>>> /^MTFCC=S11/ {lanes=4; color=11; display_level=64;  
>>>>>> label_level=64;
>>>>>> font_size=3; next}
>>>>>> # secondary road
>>>>>> /^MTFCC=S12/ {display_level=150; lanes=3; color=8;  
>>>>>> label_level=75;
>>>>>> font_size=2; next}
>>>>>> # local road
>>>>>> /^MTFCC=S14/ {display_level=150; label_level=16; color=48;  
>>>>>> lanes=1;
>>>>>> next}
>>>>>> # 4WD off-road trail
>>>>>> /^MTFCC=S15/ {lanes=1; color=4; display_level=32; font_size=1;
>>>>>> next}
>>>>>> # Freeway access / service drive
>>>>>> /^MTFCC=S16/ {color=11; display_level=64; next}
>>>>>> # walkway / stairway
>>>>>> /^MTFCC=S17[12]/ {lanes=1; color=12; pattern=2; display_level=32;
>>>>>> next}
>>>>>> # alley / private road
>>>>>> /^MTFCC=S17[34]/ {lanes=1; color=40; pattern=2; display_level=64;
>>>>>> next}
>>>>>> # bike / bridle path
>>>>>> /^MTFCC=S18/ {lanes=1; color=40; pattern=2; display_level=64;  
>>>>>> next}
>>>>>> # road median
>>>>>> /^MTFCC=S20/ {lanes=1; color=40; pattern=2; display_level=64;  
>>>>>> next}
>>>>>> ....
>>>>>>
>>>>>> 73's
>>>>>> Keith Kaiser
>>>>>> wa0tjt at gmail.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Xastir mailing list
>>>>>> Xastir at lists.xastir.org
>>>>>> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xastir mailing list
>>>> Xastir at lists.xastir.org
>>>> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>>>
>>> -- 
>>> Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
>>> Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
>>> In some cultures what I do would be considered normal.
>>>                                 -- Ineffective daily affirmation
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> -- 
> Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
> Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
>  In some cultures what I do would be considered normal.
>                                  -- Ineffective daily affirmation
>

73's
Keith Kaiser
wa0tjt at gmail.com






More information about the Xastir mailing list