Created
June 21, 2012 15:02
-
-
Save kaleb/2966271 to your computer and use it in GitHub Desktop.
Extract attributes from census.gov TIGER/Line .shp.xml shape metadata files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# REQUIRES: xmlstarlet <http://xmlstar.sourceforge.net/> | |
xmlstarlet sel -t -v //attr $1 | |
# Where $1 is a *.shp.xml file as downloaded from <http://www.census.gov/cgi-bin/geo/shapefiles2011/main> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment