[Xastir] More detail on 2008 Tiger/Line shapefiles

Dale Seaburg kg5lt at verizon.net
Tue Mar 17 21:04:50 EDT 2009


I almost forgot an important item that Craig, N6YXK shared with me to  
assure that polygon fills don't clobber roads.

Quoting Craig:

==================================
I have the six western states of the Tiger/Line 2007 files loaded on my
laptop; this makes for a *lot* of files to set level numbers on.  So,  
when
you have this many of the Tiger map files, the easiest way to change
some of the Tiger maps to have different layers is to use "vi" on the
map_index.sys file while xastir is not running.  Once you are editing
the file, use the following 3 commands in "vi" to change the layers.
This assumes that, like with my xastir, new maps get added into the
list at layer 1000.

:g/tabblock/s/01000/00995/
:g/pointlm/s/01000/00996/
:g/arealm/s/01000/00997/

(translation: global search throughout the file for lines with "arealm"
and substitute on that line for "01000", a "00997")

This moves the tabblock (& tabblock00) files, pointlm files, and arealm
files down underneath the roads maps.  Otherwise the roads can get
covered up by urban background coloring.  Or you can do this through
the GUI interface as well.
==================================


Here is a snippet of my map_index.sys file for Brown county, Texas:

0021063778,0020891483,0029092469,0029237162,01000,2,0,1,00997,00000,Tige 
rmaps_2008_Texas/Brown_County/arealm.shp
0021058521,0020852094,0029086778,0029265867,01000,2,0,1,00000,00000,Tige 
rmaps_2008_Texas/Brown_County/areawater.shp
0021078652,0020851344,0029086704,0029279360,01000,2,0,1,00000,00000,Tige 
rmaps_2008_Texas/Brown_County/cousub.shp
0021078652,0020851344,0029086704,0029279360,01000,2,0,1,00000,00000,Tige 
rmaps_2008_Texas/Brown_County/cousub00.shp
0021078652,0020851344,0029086704,0029279360,01000,2,0,1,00000,00000,Tige 
rmaps_2008_Texas/Brown_County/edges.shp
0021000834,0020961701,0029106378,0029179500,01000,2,0,1,00996,00000,Tige 
rmaps_2008_Texas/Brown_County/pointlm.shp
0021078652,0020851344,0029086704,0029279360,01000,2,0,1,00995,00000,Tige 
rmaps_2008_Texas/Brown_County/tabblock.shp

I did send a zipped copy of the dbfawk scripts to Curt.  He said he'd  
take care of putting them in to the CVS for me so they can be  
available for others.

73 - Dale.  KG5LT






More information about the Xastir mailing list