To make USA-county.txt --------------------- /bin/rm HI.txt.temp /bin/rm AK.txt.temp cat [A-Z][A-Z].txt.temp >! USA-county.txt County vs. State names ---------------------- Two counties have the same name as their state (Hawaii and New York). Modify 51stbna data as follows to match uselectionatlas.org ----------------------------------------------------------- Remark: some counties in 51stbna end with "city", "City", or "Parish", but no corresponding ending in uselectionatlas.org. So strip these endings in VoteTally.java. CO00.BNA -------- CO00.BNA is ST_LOW48.BNA CO02.BNA -------- CO02.BNA is cat of CO02AW.BNA and CO02X.BNA FL.txt ------ uselectionatlas.org calls it both DeSoto (2004) and desoto (2000) so case sensitive matching will not work. uselectionatlas.org calls it both Miami-Dade (2004) and Dade (1992) HI.txt ------ 15001 Hawaii County 15003 Honolulu County (128 points) 15005 Kalawao County -> Maui (unclear whether it's a county) 15007 Kauai County 15009 Maui County ??? 15 = Honolulu 15005 = overseas CO17.BNA (Illinois IL) ---------------------- La Salle -> LaSalle CO18.BNA (Indiana IN) -------------------- La Porte -> LaPorte De Kalb -> DeKalb CO30.BNA (Montana) ------------------ Yellowstone National Park -> Yellowstone CO35.BNA (New Mexico) --------------------- DeBaca -> De Baca CO51.BNA (Virginia) ------------------- Clifton Forge and South Boston were independent cities in 2000 Census, but reincorporated as town. Removed. CO51.BNA (Virginia) has districts with holes. I rearranged the counties so that the districts with holes appear first. TIGER ----- http://www.census.gov/tiger/boundary/ The program can output two different varieties of BNA files, one in which the islands (i.e. the holes) are output as separate geographic features (you determine whether a feature is a hole by looking at the direction it traverses its bounded area--also "island" is given as the name field of the feature's first line). That is the format expected by Atlas Pro (and, I suspect, all other Strategic Mapping products). The other variety appends the coordinates of the islands to the original area; it traverses the outer boundary of the region clockwise, then jumps to an inner boundary (island), traverses it counterclockwise, and jumps back to the same point on the outer boundary. This format is supported by Tactician, another rather strange desktop mapping program for Macintoshes. [By the way, my boss is the one who likes Macs. I use one (in addition to DOS and UNIX machines), and I even write code for them, but don't confuse me with a Mac fanatic.] BNA Format This format is very similar to the NUM format, and it is described as follows: Each "geographical object" is associated with an Identifier and a Name. Each "geographical entity" is a set of geographical objects that have the same identifier. The first line of description of an entity is as follows: name,identifier,number_of_points The following lines describe the points of the entity: x,y x,y .... Entities with several objects separate the objects by the coordinates of the first point. Example: Map containing a simple entity (a) and another with 3 polygons (b): First,a,5 10,10 10,20 20,20 20,10 10,10 Second,b,11 40,40 40,50 50,50 50,40 40,40 (end of the first surface) 140,40 140,50 150,50 150,40 140,40 (end of the second surface) 40,40 (surface separator) 240,40 240,50 250,50 250,40 240,40 (end of the third surface) 40,40 (surface separator)