File:USA counties FIPS text addressable.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 555 × 352 pixels, file size: 1.34 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Blank U.S. map with counties labeled by FIPS code. These can be colored by editing the document as text and adding FIPS codes, followed by a fill color for each group. This file is based on the public domain tagged file:USA Counties with FIPS and names.svg, which I processed by a simple Perl script to add class tags and from which I also removed a few small errors and inconsistent formatting.

Although I don't foresee any further need for processing, I should point out that the size of the file is such that even simple changes require a program to be run. Perl is freely downloaded and can run as a standalone (ActivePerl) or under Cygwin. The script I ran was not exactly rocket science, but I'll post it hopefully to embolden anyone who sees a need for further modification of the file. The following is the entire program, which processed the file in about two seconds:

use integer;
use strict;
use warnings;

# Open files

open (OLD, "< input.txt" ) || die ("no input?");
open (NEW, "> output.txt" ) || die ("Couldn't open output file: $!");
my (@a, $code, $class, $tmp);

while (<OLD>)
{
push @a,$_;
if (/(\d\d\d\d\d)/) {$code=$1};
if (/class/) {$class=@a};
if (/path/)
   {
   if ($class) {$a[$class-1]=('     class="land s' . $code . '"'."\n")} else {print "no class: $code"};
   while ($tmp=shift(@a)) {print NEW $tmp};
   }
};
Date
Source Own work
Author Mike Serfas
Other versions Derivative works of this file:  USA 2008 unemployment by county.svg

I'll add a

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

to keep the ball rolling.

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current01:50, 20 May 2009Thumbnail for version as of 01:50, 20 May 2009555 × 352 (1.34 MB)Mike Serfas (talk | contribs){{Information |Description={{en|1=Blank U.S. map with counties labeled by FIPS code. These can be colored by editing the document as text and adding FIPS codes, followed by a fill color for each group. This file is based on the public domain tagged [[:f

There are no pages that use this file.