[Xastir] One more detail on the 2008 Tiger/Line maps
Dale Seaburg
kg5lt at verizon.net
Tue Mar 17 20:35:29 EDT 2009
I almost forgot on important detail that Craig, N6YXK, showed me to
allow proper layering so polygon fills don't clobber roads, etc.
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.
==================================================
Below is an example of a portion of my map_index.sys file, primarily
for Brown county in Texas:
0021063778,0020891483,0029092469,0029237162,00997,2,0,1,00000,00000,TIGE
R_2008/TX/Brown/arealm.shp
0021058521,0020852094,0029086778,0029265867,01000,2,0,1,00000,00000,TIGE
R_2008/TX/Brown/areawater.shp
0021078652,0020851344,0029086704,0029279360,01000,2,0,1,00000,00000,TIGE
R_2008/TX/Brown/cousub.shp
0021078652,0020851344,0029086704,0029279360,01000,2,0,1,00000,00000,TIGE
R_2008/TX/Brown/cousub00.shp
0021078652,0020851344,0029086704,0029279360,01000,2,0,1,00000,00000,TIGE
R_2008/TX/Brown/edges.shp
0021000834,0020961701,0029106378,0029179500,00996,2,0,1,00000,00000,TIGE
R_2008/TX/Brown/pointlm.shp
0021078652,0020851344,0029086704,0029279360,00995,2,0,1,00000,00000,TIGE
R_2008/TX/Brown/tabblock.shp
As far as the dbfawk scripts go, I sent Curt the scripts zipped up.
He can disseminate as he sees fit.
Many thanks to Craig for sharing his dbfawk scripts with me.
73 - Dale. KG5LT
More information about the Xastir
mailing list