File:USA counties FIPS text addressable.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 555 × 352 pixels. Other resolutions: 320 × 203 pixels | 640 × 406 pixels | 1,024 × 649 pixels | 1,280 × 812 pixels | 2,560 × 1,624 pixels.
Original file (SVG file, nominally 555 × 352 pixels, file size: 1.34 MB)
File information
Structured data
Captions
Summary
[edit]DescriptionUSA counties FIPS text addressable.svg |
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 domainPublic domainfalsefalse |
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:
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.
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 01:50, 20 May 2009 | 555 × 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 |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.