[Xastir] State Boarders
Tom Russo
russo at bogodyn.org
Wed Dec 16 22:58:15 EST 2009
On Wed, Dec 16, 2009 at 03:28:08PM -0600, we recorded a bogon-computron collision of the <wa0tjt at gmail.com> flavor, containing:
> Thanks Dick, the how-to document looks like it should help, except that the dbf doesn't look anything like I expected. I've copied a small piece of it below. It looks to me like it has the two letter state code, followed by the state name, then the fips code and finally the lat and long. But since none of them are really named, I'm not sure how to address them in the dbfawk file.
>
> Anyone got an idea?
>
> Example of the s_01au07.dbf file:
>
> DCDistrict of Columbia 11 -77.01692 38.89078 AZArizona 04 -111.93248 34.17163 OHOhio 39 -82.67375 40.19406 -82.66098 41.76506 CACalifornia 06 -119.25700 37.26842 ALAlabama 01 -86.68338 32.60661 ARArkansas 05 -92.12893 34.75712 COColorado 08 -105.54781 38.99604 CTConnecticut 09 -72.75720 41.52281 DEDelaware 10 -75.41699
You need to use the program "dbfinfo" from the shapelib install or "testdbfawk" from Xastir to get the actual field names. What you've got there is the
records themelves. I believe there are instructions in the wiki page for
running testdbfawk (which might be called "testawk" in that page if it hasn't
been updated, but testdbfawk is the right name these days).
> On Dec 16, 2009, at 2:20 PM, Dick Repasky wrote:
>
> >
> > Keith,
> >
> > Unless someone out there has created a dbfawk file for the shape file
> > that you have, you'll need to create one. The best documentation that I
> > know of for that is at
> >
> > http://www.xastir.org/wiki/index.php/HowTo:DBFAWK
> >
> > Briefly, you'll have to tell dbfawk the names of the fields in the dbf
> > file so that it has a fingerprint for the file. Then, you'll tell it
> > what fields in the file you want to examine, and finally you'll write
> > line that sets the color value to what you want.
> >
> > Good luck,
> >
> > Dick, KC9JLU
> >
> > Keith Kaiser wrote:
> >> I downloaded this file; http://www.weather.gov/geodata/catalog/national/html/us_state.htm. I use it above zoom level 4096 to show me just the US State Outlines. What I'd like to do is change the color of the borders from black to red maybe or even bright green. Something to distinguish it from the county lines when I turn them on too.
> >>
> >> Can someone please explain to me how to do that?
> >>
> >> Thanks guys.
> >> _______________________________________________
> >> 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
>
> _______________________________________________
> 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
More information about the Xastir
mailing list