{"id":155,"date":"2014-02-28T21:59:58","date_gmt":"2014-03-01T02:59:58","guid":{"rendered":"http:\/\/brian.digitalmaddox.com\/blog\/?p=155"},"modified":"2014-07-08T16:45:19","modified_gmt":"2014-07-08T20:45:19","slug":"using-free-geospatial-tools-and-data-part-8-2-us-census-tiger-data-national-files","status":"publish","type":"post","link":"https:\/\/brian.digitalmaddox.com\/blog\/?p=155","title":{"rendered":"Using Free Geospatial Tools and Data Part 8.2: US Census TIGER Data National Files"},"content":{"rendered":"<p>In Part 8.1, we went over how the Census ftp site was set up and what kind of data each directory has in it. We also loaded our first Census data, which were outlines of the US states and territories. In this installment, we will load all the national files on the Census FTP site. These are all individual files so will be easier to load. Next time we will look at using scripts to convert the rest of the county-based data into state-based datasets.<\/p>\n<p>We are not going to download everything on the Census website. Some of the data you will likely never need. However, once these articles are done you should be able to download and create tables from the other data directories should you decide you need them. After each load, I will show a screen shot of how the data table looks inside QGIS so you can make sure everything loaded properly.<\/p>\n<p>This is a rather lengthy post as it shows the commands you should type as well as the output so you can check that what you are doing works correctly. Be glad I do not sell advertising or this would be spread across many pages \ud83d\ude09<\/p>\n<p>For this set aside some time as the Census ftp site limits connection speeds to keep people from using up all of their bandwidth. Open a shell prompt, change to a directory where you will download the data, and run the command:<\/p>\n<pre><strong>lftp ftp:\/\/ftp2.census.gov\/geo\/tiger\/TIGER2013<\/strong><\/pre>\n<p>Type the command <em>cls<\/em> and you will see this listing:<\/p>\n<pre>lftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>cls<\/strong>\r\n2013-FolderNames-Defined.pdf AREAWATER\/ COUSUB\/ FACESMIL\/ PLACE\/ SLDL\/ UAC\/\r\nADDR\/ BG\/ CSA\/ FEATNAMES\/ POINTLM\/ SLDU\/ UNSD\/\r\nADDRFEAT\/ CBSA\/ EDGES\/ LINEARWATER\/ PRIMARYROADS\/ STATE\/ ZCTA5\/\r\nADDRFN\/ CD\/ ELSD\/ METDIV\/ PRISECROADS\/ SUBMCD\/\r\nAIANNH\/ CNECTA\/ ESTATE\/ MIL\/ PUMA\/ TABBLOCK\/\r\nAITS\/ COAST\/ FACES\/ NECTA\/ RAILS\/ TBG\/\r\nANRC\/ CONCITY\/ FACESAH\/ NECTADIV\/ ROADS\/ TRACT\/\r\nAREALM\/ COUNTY\/ FACESAL\/ OTHERID\/ SCSD\/ TTRACT\/\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt;<\/pre>\n<p>Here we will download the datasets that come in single national-level files from the Census. Run the following commands inside <em>lftp,<\/em> waiting for each to finish:<\/p>\n<pre>lftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror COUNTY\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror AIANNH\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror AITS\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror ANRC\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror CBSA\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror CD\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror CNECTA\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror COAST\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror ESTATE\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror METDIV\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror MIL\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror NECTA\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror NECTADIV\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror PRIMARYROADS\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror RAILS\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror TBG\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror UAC\/<\/strong>\r\nlftp ftp2.census.gov:\/geo\/tiger\/TIGER2013&gt; <strong>mirror ZCTA5\/<\/strong><\/pre>\n<p>This gives you a good number of files to add to your database for this part of the series. Type quit or hit Control-D to exit <em>lftp.<\/em><\/p>\n<p>We will start with the files under COUNTY as this will give you the county outlines to match the state outlines you loaded during the last installment. Change directory <em>(cd)<\/em> into the COUNTY directory and unzip the tl_2013_us_county.zip file:<\/p>\n<pre>[bmaddox@girls COUNTY]$ <strong>unzip tl_2013_us_county.zip<\/strong> \r\nArchive: tl_2013_us_county.zip\r\ninflating: tl_2013_us_county.dbf \r\ninflating: tl_2013_us_county.prj \r\ninflating: tl_2013_us_county.shp \r\ninflating: tl_2013_us_county.shp.xml \r\ninflating: tl_2013_us_county.shx \r\n[bmaddox@girls COUNTY]$ <strong>ls -l<\/strong>\r\ntotal 188336\r\n-rwxrwxr-x 1 bmaddox bmaddox 948140 Aug 6 2013 tl_2013_us_county.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_county.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 118339660 Aug 6 2013 \r\ntl_2013_us_county.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 24960 Aug 6 2013 \r\ntl_2013_us_county.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 25972 Aug 6 2013 tl_2013_us_county.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 73500446 Aug 16 2013 \r\ntl_2013_us_county.zip\r\n[bmaddox@girls COUNTY]$<\/pre>\n<p>Now run the command:<\/p>\n<pre><strong>shp2pgsql -s 4269 -c -D -I -W LATIN1 tl_2013_us_county.shp county_outlines |psql -d Census_2013<\/strong><\/pre>\n<p>Your command will look similar to the following output. Here I am running the import commands on the same server that is hosting the database.<\/p>\n<pre>[bmaddox@girls COUNTY]$ <strong>shp2pgsql -s 4269 -c -D -I -W LATIN1 tl_2013_us_county.shp county_outlines |psql -d Census_2013<\/strong> \r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \r\n\"county_outlines_gid_seq\" for serial column \"county_outlines.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \r\n\"county_outlines_pkey\" for table \"county_outlines\"\r\nALTER TABLE\r\naddgeometrycolumn \r\n-----------------------------------------------------------------\r\npublic.county_outlines.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2 \r\n(1 row) \r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls COUNTY]$<\/pre>\n<p>Run QGIS and load the state table that you created in the last installment. Once that finishes, add the county_outlines layer. Once loaded, it should look like this screen shot:<\/p>\n<div id=\"attachment_156\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/county_outlines_qgis.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-156\" class=\"size-medium wp-image-156\" alt=\"US County Outlines in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/county_outlines_qgis-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/county_outlines_qgis-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/county_outlines_qgis-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/county_outlines_qgis.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-156\" class=\"wp-caption-text\">US County Outlines in QGIS<\/p><\/div>\n<p>Now change to the AIANNH directory. This is the American Indian \/ Alaska Native \/ Native Hawaiian Areas dataset. This data contains information such as land and water area in each regional corporation. Run the following commands to unzip and load the data into PostGIS, substituting values specific to your setup:<\/p>\n<pre>[bmaddox@girls AIANNH]$ <strong>unzip tl_2013_us_aiannh.zip<\/strong> \r\nArchive: tl_2013_us_aiannh.zip\r\ninflating: tl_2013_us_aiannh.dbf \r\ninflating: tl_2013_us_aiannh.prj \r\ninflating: tl_2013_us_aiannh.shp \r\ninflating: tl_2013_us_aiannh.shp.xml \r\ninflating: tl_2013_us_aiannh.shx \r\n[bmaddox@girls AIANNH]$ <strong>ls -l<\/strong>\r\ntotal 21576\r\n-rwxrwxr-x 1 bmaddox bmaddox 232620 Aug 6 2013 tl_2013_us_aiannh.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_aiannh.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 13362524 Aug 6 2013 tl_2013_us_aiannh.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 31978 Aug 6 2013 \r\ntl_2013_us_aiannh.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 6708 Aug 6 2013 tl_2013_us_aiannh.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 8447076 Aug 16 2013 tl_2013_us_aiannh.zip\r\n[bmaddox@girls AIANNH]$ <strong>shp2pgsql -s 4269 -c -D -I <\/strong>\r\n<strong>tl_2013_us_aiannh.shp US_Indian_Alaska_Hawaii_Native_Areas |psql -d <\/strong>\r\n<strong>Census_2013<\/strong> \r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \r\n\"us_indian_alaska_hawaii_native_areas_gid_seq\" for serial column \r\n\"us_indian_alaska_hawaii_native_areas.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \r\n\"us_indian_alaska_hawaii_native_areas_pkey\" for table \r\n\"us_indian_alaska_hawaii_native_areas\"\r\nALTER TABLE\r\naddgeometrycolumn \r\n----------------------------------------------------------------------\r\n----------------\r\npublic.us_indian_alaska_hawaii_native_areas.geom SRID:4269 \r\nTYPE:MULTIPOLYGON DIMS:2 \r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls AIANNH]$<\/pre>\n<p>The loaded data should look similar to the screen shot below:<\/p>\n<div id=\"attachment_157\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AIANNH.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-157\" class=\"size-medium wp-image-157\" alt=\"AIANNH Dataset\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AIANNH-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AIANNH-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AIANNH-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AIANNH.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-157\" class=\"wp-caption-text\">AIANNH Dataset<\/p><\/div>\n<p>Next change to the AITS directory. This is the American Indian Tribal Subdivision dataset. It contains information similar to the AIANNH dataset. Since the technique should be familiar now, here are the commands to run and their output. Again, substitute the specific values applicable to your setup.<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd AITS\/<\/strong>\r\n[bmaddox@girls AITS]$ <strong>ls<\/strong>\r\ntl_2013_us_aitsn.zip\r\n[bmaddox@girls AITS]$ <strong>unzip tl_2013_us_aitsn.zip<\/strong> \r\nArchive: tl_2013_us_aitsn.zip\r\ninflating: tl_2013_us_aitsn.dbf \r\ninflating: tl_2013_us_aitsn.prj \r\ninflating: tl_2013_us_aitsn.shp \r\ninflating: tl_2013_us_aitsn.shp.xml \r\ninflating: tl_2013_us_aitsn.shx \r\n[bmaddox@girls AITS]$ <strong>ls -l<\/strong>\r\ntotal 14900\r\n-rwxrwxr-x 1 bmaddox bmaddox 134814 Aug 6 2013 tl_2013_us_aitsn.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_aitsn.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 9291396 Aug 6 2013 tl_2013_us_aitsn.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 21736 Aug 6 2013 tl_2013_us_aitsn.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 3884 Aug 6 2013 tl_2013_us_aitsn.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 5794063 Aug 16 2013 tl_2013_us_aitsn.zip\r\n[bmaddox@girls AITS]$ <strong>shp2pgsql -s 4269 -c -D -I -WLATIN1 tl_2013_us_aitsn.shp US_Indian_Tribal_Subdivisions |psql -d Census_2013<\/strong> \r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_indian_tribal_subdivisions_gid_seq\" for serial column \"us_indian_tribal_subdivisions.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_indian_tribal_subdivisions_pkey\" for table \"us_indian_tribal_subdivisions\"\r\nALTER TABLE\r\naddgeometrycolumn \r\n-------------------------------------------------------------------------------\r\npublic.us_indian_tribal_subdivisions.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2 \r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls AITS]$<\/pre>\n<p>The dataset should look like the following screen shot in QGIS:<\/p>\n<div id=\"attachment_158\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AITS.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-158\" class=\"size-medium wp-image-158\" alt=\"AITS Dataset\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AITS-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AITS-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AITS-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/AITS.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-158\" class=\"wp-caption-text\">AITS Dataset<\/p><\/div>\n<p>Next up is the Alaska Native Regional Corporations dataset. As with the other datasets, here are the commands you will use to load the data into PostGIS:<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd ANRC<\/strong>\r\n[bmaddox@girls ANRC]$ <strong>ls -l<\/strong>\r\ntotal 752\r\n-rwxrw-r-x 1 bmaddox bmaddox 768407 Aug 16 2013 tl_2013_02_anrc.zip\r\n[bmaddox@girls ANRC]$ <strong>unzip tl_2013_02_anrc.zip<\/strong> \r\nArchive: tl_2013_02_anrc.zip\r\ninflating: tl_2013_02_anrc.dbf \r\ninflating: tl_2013_02_anrc.prj \r\ninflating: tl_2013_02_anrc.shp \r\ninflating: tl_2013_02_anrc.shp.xml \r\ninflating: tl_2013_02_anrc.shx \r\n[bmaddox@girls ANRC]$ <strong>ls -l<\/strong>\r\ntotal 1896\r\n-rwxrwxr-x 1 bmaddox bmaddox 3890 Aug 6 2013 tl_2013_02_anrc.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_02_anrc.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 1131900 Aug 6 2013 tl_2013_02_anrc.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 21487 Aug 6 2013 tl_2013_02_anrc.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 196 Aug 6 2013 tl_2013_02_anrc.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 768407 Aug 16 2013 tl_2013_02_anrc.zip\r\n[bmaddox@girls ANRC]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_02_anrc.shp US_Alaska_Native_Regional_Corporations |psql -d Census_2013<\/strong> \r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_alaska_native_regional_corporations_gid_seq\" for serial column \"us_alaska_native_regional_corporations.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_alaska_native_regional_corporations_pkey\" for table \"us_alaska_native_regional_corporations\"\r\nALTER TABLE\r\naddgeometrycolumn ----------------------------------------------------------------------------------------\r\npublic.us_alaska_native_regional_corporations.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2 \r\n(1 row)\r\n\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls ANRC]$<\/pre>\n<p>Here is the screenshot of how the data should look in QGIS:<\/p>\n<div id=\"attachment_159\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ANRC.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-159\" class=\"size-medium wp-image-159\" alt=\"ANRC Dataset\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ANRC-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ANRC-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ANRC-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ANRC.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-159\" class=\"wp-caption-text\">ANRC Dataset<\/p><\/div>\n<p>Next change to the CBSA directory. This contains the combined Metropolitan and Micropolitan statistical areas. As before, here are the commands and you will replace things with information specific to your setup:<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd CBSA\/<\/strong>\r\n[bmaddox@girls CBSA]$ <strong>ls -l<\/strong>\r\ntotal 28960\r\n-rwxrw-r-x 1 bmaddox bmaddox 29654427 Aug 16 2013 tl_2013_us_cbsa.zip\r\n[bmaddox@girls CBSA]$ <strong>unzip tl_2013_us_cbsa.zip<\/strong> \r\nArchive: tl_2013_us_cbsa.zip\r\ninflating: tl_2013_us_cbsa.dbf \r\ninflating: tl_2013_us_cbsa.prj \r\ninflating: tl_2013_us_cbsa.shp \r\ninflating: tl_2013_us_cbsa.shp.xml \r\ninflating: tl_2013_us_cbsa.shx \r\n[bmaddox@girls CBSA]$ <strong>ls -l<\/strong>\r\ntotal 75708\r\n-rwxrwxr-x 1 bmaddox bmaddox 254035 Aug 6 2013 tl_2013_us_cbsa.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_cbsa.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 47575788 Aug 6 2013 tl_2013_us_cbsa.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 17767 Aug 6 2013 tl_2013_us_cbsa.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 7532 Aug 6 2013 tl_2013_us_cbsa.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 29654427 Aug 16 2013 tl_2013_us_cbsa.zip\r\n[bmaddox@girls CBSA]$ <strong>shp2pgsql -s 4269 -c -D -I -WLATIN1 tl_2013_us_cbsa.shp US_Metro_Micropolitan_Statistical_Areas |psql -d Census_2013<\/strong> \r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_metro_micropolitan_statistical_areas_gid_seq\" for serial column \"us_metro_micropolitan_statistical_areas.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_metro_micropolitan_statistical_areas_pkey\" for table \"us_metro_micropolitan_statistical_areas\"\r\nALTER TABLE\r\naddgeometrycolumn \r\n-----------------------------------------------------------------------------------------\r\npublic.us_metro_micropolitan_statistical_areas.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2 \r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls CBSA]$<\/pre>\n<p>Here is how it looks in QGIS once loaded:<\/p>\n<div id=\"attachment_160\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CBSA.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-160\" class=\"size-medium wp-image-160\" alt=\"CBSA in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CBSA-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CBSA-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CBSA-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CBSA.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-160\" class=\"wp-caption-text\">CBSA in QGIS<\/p><\/div>\n<p>Now change to the CD directory. This dataset contains the 113<sup>th<\/sup> Congress Congressional districts.<\/p>\n<pre>[bmaddox@girls census]$ <strong>ls CD<\/strong>\r\ntl_2013_us_cd113.zip\r\n[bmaddox@girls census]$ <strong>cd CD\/<\/strong>\r\n[bmaddox@girls CD]$ <strong>ls -l<\/strong>\r\ntotal 38528\r\n-rwxrw-r-x 1 bmaddox bmaddox 39448037 Aug 16 2013 tl_2013_us_cd113.zip\r\n[bmaddox@girls CD]$ <strong>unzip tl_2013_us_cd113.zip<\/strong> \r\nArchive: tl_2013_us_cd113.zip\r\ninflating: tl_2013_us_cd113.dbf \r\ninflating: tl_2013_us_cd113.prj \r\ninflating: tl_2013_us_cd113.shp \r\ninflating: tl_2013_us_cd113.shp.xml \r\ninflating: tl_2013_us_cd113.shx \r\n[bmaddox@girls CD]$ <strong>ls -l<\/strong>\r\ntotal 100132\r\n-rwxrwxr-x 1 bmaddox bmaddox 50146 Aug 6 2013 tl_2013_us_cd113.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_cd113.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 62997500 Aug 6 2013 tl_2013_us_cd113.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 19400 Aug 6 2013 tl_2013_us_cd113.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 3652 Aug 6 2013 tl_2013_us_cd113.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 39448037 Aug 16 2013 tl_2013_us_cd113.zip\r\n[bmaddox@girls CD]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_us_cd113.shp US_113_Congress_Districts |psql -d Census_2013<\/strong> \r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_113_congress_districts_gid_seq\" for serial column \"us_113_congress_districts.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_113_congress_districts_pkey\" for table \"us_113_congress_districts\"\r\nALTER TABLE\r\naddgeometrycolumn \r\n---------------------------------------------------------------------------\r\npublic.us_113_congress_districts.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2 \r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls CD]$<\/pre>\n<div id=\"attachment_162\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CD113.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-162\" class=\"size-medium wp-image-162\" alt=\"113th Congressional Districts\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CD113-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CD113-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CD113-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CD113.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-162\" class=\"wp-caption-text\">113th Congressional Districts<\/p><\/div>\n<p>Now we move to the CNECTA directory. \u00a0This dataset is the Combined New England City and Town Areas dataset.<\/p>\n<pre>[bmaddox@girls census]$ <strong>ls CNECTA\/<\/strong>\r\ntl_2013_us_cnecta.zip\r\n[bmaddox@girls census]$ <strong>cd CNECTA\/<\/strong>\r\n[bmaddox@girls CNECTA]$ <strong>ls -l<\/strong>\r\ntotal 436\r\n-rwxrw-r-x 1 bmaddox bmaddox 442433 Aug 16 2013 tl_2013_us_cnecta.zip\r\n[bmaddox@girls CNECTA]$ <strong>unzip tl_2013_us_cnecta.zip<\/strong> \r\nArchive: tl_2013_us_cnecta.zip\r\ninflating: tl_2013_us_cnecta.dbf \r\ninflating: tl_2013_us_cnecta.prj \r\ninflating: tl_2013_us_cnecta.shp \r\ninflating: tl_2013_us_cnecta.shp.xml \r\ninflating: tl_2013_us_cnecta.shx \r\n[bmaddox@girls CNECTA]$ <strong>ls -l<\/strong>\r\ntotal 1128\r\n-rwxrwxr-x 1 bmaddox bmaddox 1944 Aug 6 2013 tl_2013_us_cnecta.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_cnecta.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 679436 Aug 6 2013 tl_2013_us_cnecta.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 16353 Aug 6 2013 tl_2013_us_cnecta.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 148 Aug 6 2013 tl_2013_us_cnecta.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 442433 Aug 16 2013 tl_2013_us_cnecta.zip\r\n[bmaddox@girls CNECTA]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_us_cnecta.shp US_Combined_New_England_City_Town_Areas |psql -d Census_2013<\/strong> \r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_combined_new_england_city_town_areas_gid_seq\" for serial column \"us_combined_new_england_city_town_areas.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_combined_new_england_city_town_areas_pkey\" for table \"us_combined_new_england_city_town_areas\"\r\nALTER TABLE\r\naddgeometrycolumn \r\n-----------------------------------------------------------------------------------------\r\npublic.us_combined_new_england_city_town_areas.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2 \r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls CNECTA]$<\/pre>\n<p>The loaded data should look similar to below:<\/p>\n<div id=\"attachment_163\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CNECTA.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-163\" class=\"size-medium wp-image-163\" alt=\"CNECTA Dataset\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CNECTA-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CNECTA-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CNECTA-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CNECTA.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-163\" class=\"wp-caption-text\">CNECTA Dataset<\/p><\/div>\n<p>Next we move on to the COAST directory. This is the US Coastline data derived from Census edges.<\/p>\n<pre>[bmaddox@girls census]$ <strong>ls COAST\/<\/strong>\r\ntl_2013_us_coastline.zip\r\n[bmaddox@girls census]$ <strong>cd COAST\/<\/strong>\r\n[bmaddox@girls COAST]$ <strong>ls -l<\/strong>\r\ntotal 15792\r\n-rwxrw-r-x 1 bmaddox bmaddox 16168901 Aug 16 2013 tl_2013_us_coastline.zip\r\n[bmaddox@girls COAST]$ <strong>unzip tl_2013_us_coastline.zip<\/strong>\r\nArchive: tl_2013_us_coastline.zip\r\ninflating: tl_2013_us_coastline.dbf\r\ninflating: tl_2013_us_coastline.prj\r\ninflating: tl_2013_us_coastline.shp\r\ninflating: tl_2013_us_coastline.shp.xml\r\ninflating: tl_2013_us_coastline.shx\r\n[bmaddox@girls COAST]$ <strong>ls -l<\/strong>\r\ntotal 40272\r\n-rwxrwxr-x 1 bmaddox bmaddox 449644 Aug 6 2013 tl_2013_us_coastline.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_coastline.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 24558540 Aug 6 2013 tl_2013_us_coastline.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 15352 Aug 7 2013 tl_2013_us_coastline.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 34028 Aug 6 2013 tl_2013_us_coastline.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 16168901 Aug 16 2013 tl_2013_us_coastline.zip\r\n[bmaddox@girls COAST]$ <strong>shp2pgsql -s 4269 -c -D -I -WLATIN1 tl_2013_us_coastline.shp US_Coastlines |psql -d Census_2013<\/strong>\r\nShapefile type: Arc\r\nPostgis type: MULTILINESTRING[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_coastlines_gid_seq\" for serial column \"us_coastlines.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_coastlines_pkey\" for table \"us_coastlines\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n ------------------------------------------------------------------\r\npublic.us_coastlines.geom SRID:4269 TYPE:MULTILINESTRING DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls COAST]$<\/pre>\n<p>The coastlines will look like this:<\/p>\n<div id=\"attachment_166\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/COAST.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-166\" class=\"size-medium wp-image-166\" alt=\"COAST in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/COAST-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/COAST-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/COAST-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/COAST.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-166\" class=\"wp-caption-text\">COAST in QGIS<\/p><\/div>\n<p>We now move to the CSA directory, which holds the combined statistical area national-level shapefile. These are generally areas where several large cities are combined into a single statistical unit, such as the Branson-Springfield area in Missouri.<\/p>\n<pre>[bmaddox@girls census]$ <strong>ls CSA<\/strong>\r\ntl_2013_us_csa.zip\r\n[bmaddox@girls census]$ <strong>cd CSA\/<\/strong>\r\n[bmaddox@girls CSA]$ <strong>ls -l<\/strong>\r\ntotal 10020\r\n-rwxrw-r-x 1 bmaddox bmaddox 10259685 Aug 16 2013 tl_2013_us_csa.zip [bmaddox@girls CSA]$ <strong>unzip tl_2013_us_csa.zip<\/strong>\r\nArchive: tl_2013_us_csa.zip\r\ninflating: tl_2013_us_csa.dbf\r\ninflating: tl_2013_us_csa.prj\r\ninflating: tl_2013_us_csa.shp\r\n<span style=\"font-size: 14px\">inflating: tl_2013_us_csa.shp.xml\r\n<\/span><span style=\"font-size: 14px\">inflating: tl_2013_us_csa.shx\r\n<\/span>[bmaddox@girls CSA]$ <strong>ls -l<\/strong>\r\ntotal 26184\r\n-rwxrwxr-x 1 bmaddox bmaddox 45139 Aug 6 2013 tl_2013_us_csa.dbf\r\n<span style=\"font-size: 14px\">-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_csa.prj\r\n<\/span>-rwxrwxr-x 1 bmaddox bmaddox 16477264 Aug 6 2013 tl_2013_us_csa.shp -rwxrwxr-x 1 bmaddox bmaddox 16012 Aug 6 2013 tl_2013_us_csa.shp.xml -rwxrwxr-x 1 bmaddox bmaddox 1452 Aug 6 2013 tl_2013_us_csa.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 10259685 Aug 16 2013 tl_2013_us_csa.zip [bmaddox@girls CSA]$ <strong>shp2pgsql -s 4269 -c -D -I -WLATIN1 tl_2013_us_csa.shp US_Combined_Statistical_Areas |psql -d Census_2013<\/strong>\r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_combined_statistical_areas_gid_seq\" for serial column \"us_combined_statistical_areas.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_combined_statistical_areas_pkey\" for table \"us_combined_statistical_areas\"\r\n<span style=\"font-size: 14px\">ALTER TABLE\r\n<\/span>addgeometrycolumn\r\n-------------------------------------------------------------------------------\r\n<span style=\"font-size: 14px\">public.us_combined_statistical_areas.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2\r\n<\/span><span style=\"font-size: 14px\">(1 row)\r\n<\/span>CREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls CSA]$<\/pre>\n<p>Once loaded, it should look like this in QGIS:<\/p>\n<div id=\"attachment_167\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CSA.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-167\" class=\"size-medium wp-image-167\" alt=\"CSA in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CSA-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CSA-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CSA-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/CSA.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-167\" class=\"wp-caption-text\">CSA in QGIS<\/p><\/div>\n<p>The MIL directory contains areas that are classified as belonging to the US Military&#8230; that we know about at least.<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd MIL\/<\/strong>\r\n[bmaddox@girls MIL]$ <strong>dir<\/strong>\r\ntotal 2904\r\n-rwxrw-r-x 1 bmaddox bmaddox 2973061 Aug 16 2013 tl_2013_us_mil.zip\r\n[bmaddox@girls MIL]$ <strong>unzip tl_2013_us_mil.zip<\/strong>\r\nArchive: tl_2013_us_mil.zip\r\ninflating: tl_2013_us_mil.dbf\r\ninflating: tl_2013_us_mil.prj\r\ninflating: tl_2013_us_mil.shp\r\ninflating: tl_2013_us_mil.shp.xml\r\ninflating: tl_2013_us_mil.shx\r\n[bmaddox@girls MIL]$ <strong>ls -l<\/strong>\r\ntotal 7628\r\n-rwxrwxr-x 1 bmaddox bmaddox 150451 Aug 6 2013 tl_2013_us_mil.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_mil.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 4653712 Aug 6 2013 tl_2013_us_mil.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 15575 Aug 6 2013 tl_2013_us_mil.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 6524 Aug 6 2013 tl_2013_us_mil.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 2973061 Aug 16 2013 tl_2013_us_mil.zip\r\n[bmaddox@girls MIL]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_us_mil.shp US_Military_Areas |psql -d Census_2013<\/strong>\r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_military_areas_gid_seq\" for serial column \"us_military_areas.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_military_areas_pkey\" for table \"us_military_areas\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n-------------------------------------------------------------------\r\npublic.us_military_areas.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls MIL]$<\/pre>\n<p>And it looks like this in QGIS:<\/p>\n<div id=\"attachment_169\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/MIL.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-169\" class=\"size-medium wp-image-169\" alt=\"MIL in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/MIL-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/MIL-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/MIL-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/MIL.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-169\" class=\"wp-caption-text\">MIL in QGIS<\/p><\/div>\n<p>Now to NECTA, which is the New England City and Town Areas.<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd NECTA<\/strong>\r\n[bmaddox@girls NECTA]$ <strong>ls<\/strong>\r\ntl_2013_us_necta.zip\r\n[bmaddox@girls NECTA]$ <strong>unzip tl_2013_us_necta.zip<\/strong>\r\nArchive: tl_2013_us_necta.zip\r\ninflating: tl_2013_us_necta.dbf\r\ninflating: tl_2013_us_necta.prj\r\ninflating: tl_2013_us_necta.shp\r\ninflating: tl_2013_us_necta.shp.xml\r\ninflating: tl_2013_us_necta.shx\r\n[bmaddox@girls NECTA]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_us_necta.shp US_New_England_City_Town_Areas |psql -d Census_2013<\/strong>\r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_new_england_city_town_areas_gid_seq\" for serial column \"us_new_england_city_town_areas.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_new_england_city_town_areas_pkey\" for table \"us_new_england_city_town_areas\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n--------------------------------------------------------------------------------\r\npublic.us_new_england_city_town_areas.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls NECTA]$<\/pre>\n<p>Which looks like this in QGIS:<\/p>\n<div id=\"attachment_171\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTA.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-171\" class=\"size-medium wp-image-171\" alt=\"NECTA in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTA-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTA-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTA-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTA.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-171\" class=\"wp-caption-text\">NECTA in QGIS<\/p><\/div>\n<p>And the NECTADIV, which are the divisions in the NECTA dataset.<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd NECTADIV\/<\/strong>\r\n[bmaddox@girls NECTADIV]$ <strong>dir<\/strong>\r\ntotal 184\r\n-rwxrw-r-x 1 bmaddox bmaddox 186486 Aug 16 2013 tl_2013_us_nectadiv.zip\r\n[bmaddox@girls NECTADIV]$ <strong>unzip tl_2013_us_nectadiv.zip<\/strong>\r\nArchive: tl_2013_us_nectadiv.zip\r\ninflating: tl_2013_us_nectadiv.dbf\r\ninflating: tl_2013_us_nectadiv.prj\r\ninflating: tl_2013_us_nectadiv.shp\r\ninflating: tl_2013_us_nectadiv.shp.xml\r\ninflating: tl_2013_us_nectadiv.shx\r\n[bmaddox@girls NECTADIV]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_us_nectadiv.shp US_New_England_City_Town_Divisions |psql -d Census_2013<\/strong>\r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_new_england_city_town_divisions_gid_seq\" for serial column \"us_new_england_city_town_divisions.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_new_england_city_town_divisions_pkey\" for table \"us_new_england_city_town_divisions\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n------------------------------------------------------------------------------------\r\npublic.us_new_england_city_town_divisions.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls NECTADIV]$<\/pre>\n<p>QGIS Screenshot:<\/p>\n<div id=\"attachment_172\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTADIV.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-172\" class=\"size-medium wp-image-172\" alt=\"NECTADIV in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTADIV-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTADIV-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTADIV-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/NECTADIV.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-172\" class=\"wp-caption-text\">NECTADIV in QGIS<\/p><\/div>\n<p>RAILS contains, you guessed it, the national-level file of US railroads.<\/p>\n<pre>[bmaddox@girls RAILS]$ <strong>dir<\/strong>\r\ntotal 40660\r\n-rwxrw-r-x 1 bmaddox bmaddox 41634270 Aug 16 2013 tl_2013_us_rails.zip\r\n[bmaddox@girls RAILS]$ <strong>unzip tl_2013_us_rails.zip<\/strong>\r\nArchive: tl_2013_us_rails.zip\r\ninflating: tl_2013_us_rails.dbf\r\ninflating: tl_2013_us_rails.prj\r\ninflating: tl_2013_us_rails.shp\r\ninflating: tl_2013_us_rails.shp.xml\r\ninflating: tl_2013_us_rails.shx\r\n[bmaddox@girls RAILS]$ <strong>ls -l<\/strong>\r\ntotal 130320\r\n-rwxrwxr-x 1 bmaddox bmaddox 23419778 Aug 6 2013 tl_2013_us_rails.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_rails.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 66902500 Aug 6 2013 tl_2013_us_rails.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 15759 Aug 6 2013 tl_2013_us_rails.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 1463828 Aug 6 2013 tl_2013_us_rails.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 41634270 Aug 16 2013 tl_2013_us_rails.zip\r\n[bmaddox@girls RAILS]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_us_rails.shp US_Rails |psql -d Census_2013<\/strong>\r\nShapefile type: Arc\r\nPostgis type: MULTILINESTRING[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_rails_gid_seq\" for serial column \"us_rails.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_rails_pkey\" for table \"us_rails\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n-------------------------------------------------------------\r\npublic.us_rails.geom SRID:4269 TYPE:MULTILINESTRING DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls RAILS]$<\/pre>\n<p>In QGIS:<\/p>\n<div id=\"attachment_173\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/RAILS.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-173\" class=\"size-medium wp-image-173\" alt=\"RAILS in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/RAILS-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/RAILS-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/RAILS-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/RAILS.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-173\" class=\"wp-caption-text\">RAILS in QGIS<\/p><\/div>\n<p>Next is TBG, which are national-level Tribal Block Groups.<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd TBG\/<\/strong>\r\n[bmaddox@girls TBG]$ <strong>ls -l<\/strong>\r\ntotal 16208\r\n-rwxrwxr-x 1 bmaddox bmaddox 90939 Aug 6 2013 tl_2013_us_tbg.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_tbg.prj\r\nrwxrwxr-x 1 bmaddox bmaddox 16468896 Aug 6 2013 tl_2013_us_tbg.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 17719 Aug 6 2013 tl_2013_us_tbg.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 7420 Aug 6 2013 tl_2013_us_tbg.shx\r\n[bmaddox@girls TBG]$ <strong>shp2pgsql -s 4269 -c -D -I tl_2013_us_tbg.shp US_Tribal_Block_Groups |psql -d Census_2013<\/strong>\r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_tribal_block_groups_gid_seq\" for serial column \"us_tribal_block_groups.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_tribal_block_groups_pkey\" for table \"us_tribal_block_groups\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n------------------------------------------------------------------------\r\npublic.us_tribal_block_groups.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls TBG]$<\/pre>\n<p>In QGIS:<\/p>\n<div id=\"attachment_174\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/TBG.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-174\" class=\"size-medium wp-image-174\" alt=\"TBG in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/TBG-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/TBG-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/TBG-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/TBG.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-174\" class=\"wp-caption-text\">TBG in QGIS<\/p><\/div>\n<p>UAC contains the Urban Areas from the 2010 Census.<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd UAC<\/strong>\r\n[bmaddox@girls UAC]$ <strong>unzip tl_2013_us_uac10.zip<\/strong>\r\nArchive: tl_2013_us_uac10.zip\r\ninflating: tl_2013_us_uac10.dbf\r\ninflating: tl_2013_us_uac10.prj\r\ninflating: tl_2013_us_uac10.shp\r\ninflating: tl_2013_us_uac10.shp.xml\r\ninflating: tl_2013_us_uac10.shx\r\n[bmaddox@girls UAC]$ <strong>ls -l<\/strong>\r\ntotal 211884\r\n-rwxrwxr-x 1 bmaddox bmaddox 976289 Jul 26 2013 tl_2013_us_uac10.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Jul 26 2013 tl_2013_us_uac10.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 132331308 Jul 26 2013 tl_2013_us_uac10.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 17734 Aug 2 2013 tl_2013_us_uac10.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 28908 Jul 26 2013 tl_2013_us_uac10.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 83595662 Aug 16 2013 tl_2013_us_uac10.zip\r\n[bmaddox@girls UAC]$ <strong>shp2pgsql -s 4269 -c -D -I -WLATIN1 tl_2013_us_uac10.shp US_Urban_Areas_2010 |psql -d Census_2013<\/strong>\r\nShapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_urban_areas_2010_gid_seq\" for serial column \"us_urban_areas_2010.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_urban_areas_2010_pkey\" for table \"us_urban_areas_2010\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n---------------------------------------------------------------------\r\npublic.us_urban_areas_2010.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls UAC]$<\/pre>\n<p>QGIS:<\/p>\n<div id=\"attachment_175\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/UAC.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-175\" class=\"size-medium wp-image-175\" alt=\"UAC in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/UAC-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/UAC-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/UAC-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/UAC.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-175\" class=\"wp-caption-text\">UAC in QGIS<\/p><\/div>\n<p>Next we will do the PRIMARYROADS dataset, which can be thought of as basically major US Interstates.<\/p>\n<pre>[bmaddox@girls census]$ <strong>ls -l PRIMARYROADS\/<\/strong>\r\ntotal 25364\r\n-rwxrw-r-x 1 bmaddox bmaddox 25969141 Aug 16 2013 tl_2013_us_primaryroads.zip\r\n[bmaddox@girls census]$ <strong>cd PRIMARYROADS\/<\/strong>\r\n[bmaddox@girls PRIMARYROADS]$ <strong>ls -l<\/strong>\r\ntotal 25364\r\n-rwxrw-r-x 1 bmaddox bmaddox 25969141 Aug 16 2013 tl_2013_us_primaryroads.zip\r\n[bmaddox@girls PRIMARYROADS]$ <strong>unzip tl_2013_us_primaryroads.zip<\/strong>\r\nArchive: tl_2013_us_primaryroads.zip\r\ninflating: tl_2013_us_primaryroads.dbf\r\ninflating: tl_2013_us_primaryroads.prj\r\ninflating: tl_2013_us_primaryroads.shp\r\ninflating: tl_2013_us_primaryroads.shp.xml\r\ninflating: tl_2013_us_primaryroads.shx\r\n[bmaddox@girls PRIMARYROADS]$ <strong>ls -l<\/strong>\r\ntotal 66828\r\n-rwxrwxr-x 1 bmaddox bmaddox 1633818 Aug 6 2013 tl_2013_us_primaryroads.dbf\r\n-rwxrwxr-x 1 bmaddox bmaddox 165 Aug 6 2013 tl_2013_us_primaryroads.prj\r\n-rwxrwxr-x 1 bmaddox bmaddox 40696696 Aug 6 2013 tl_2013_us_primaryroads.shp\r\n-rwxrwxr-x 1 bmaddox bmaddox 16481 Aug 6 2013 tl_2013_us_primaryroads.shp.xml\r\n-rwxrwxr-x 1 bmaddox bmaddox 101412 Aug 6 2013 tl_2013_us_primaryroads.shx\r\n-rwxrw-r-x 1 bmaddox bmaddox 25969141 Aug 16 2013 tl_2013_us_primaryroads.zip\r\n[bmaddox@girls PRIMARYROADS]$ <strong>shp2pgsql -s 4269 -c -D -I -WLATIN1 tl_2013_us_primaryroads.shp US_Primary_Roads |psql -d Census_2013<\/strong> Shapefile type: Arc\r\nPostgis type: MULTILINESTRING[2]\r\nSET\r\nSET\r\nBEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_primary_roads_gid_seq\" for serial column \"us_primary_roads.gid\" CREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_primary_roads_pkey\" for table \"us_primary_roads\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n---------------------------------------------------------------------\r\npublic.us_primary_roads.geom SRID:4269 TYPE:MULTILINESTRING DIMS:2 (1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls PRIMARYROADS]$<\/pre>\n<p>And in QGIS:<\/p>\n<div id=\"attachment_176\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/PRIMARYROADS.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-176\" class=\"size-medium wp-image-176\" alt=\"PRIMARYROADS in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/PRIMARYROADS-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/PRIMARYROADS-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/PRIMARYROADS-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/PRIMARYROADS.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-176\" class=\"wp-caption-text\">PRIMARYROADS in QGIS<\/p><\/div>\n<p>And finally (yes FINALLY!), the ZCTA5 dataset, which is the list of US zip code tabulation areas.<\/p>\n<pre>[bmaddox@girls census]$ <strong>cd ZCTA5\/<\/strong>\r\n[bmaddox@girls ZCTA5]$ <strong>dir<\/strong>\r\ntotal 513180\r\n-rwxrw-r-x 1 bmaddox bmaddox 525492077 Aug 16 2013 tl_2013_us_zcta510.zip\r\n[bmaddox@girls ZCTA5]$ <strong>unzip tl_2013_us_zcta510.zip<\/strong>\r\nArchive: tl_2013_us_zcta510.zip\r\ninflating: tl_2013_us_zcta510.dbf\r\ninflating: tl_2013_us_zcta510.prj\r\ninflating: tl_2013_us_zcta510.shp\r\ninflating: tl_2013_us_zcta510.shp.xml\r\ninflating: tl_2013_us_zcta510.shx\r\n[bmaddox@girls ZCTA5]$ <strong>shp2pgsql -s 4269 -c -D -I -WLATIN1 tl_2013_us_zcta510.shp US_Zip_Code_Areas |psql -d Census_2013\r\n<\/strong>Shapefile type: Polygon\r\nPostgis type: MULTIPOLYGON[2]\r\nSET\r\n<span style=\"font-size: 14px\">SET\r\n<\/span>BEGIN\r\nNOTICE: CREATE TABLE will create implicit sequence \"us_zip_code_areas_gid_seq\" for serial column \"us_zip_code_areas.gid\"\r\nCREATE TABLE\r\nNOTICE: ALTER TABLE \/ ADD PRIMARY KEY will create implicit index \"us_zip_code_areas_pkey\" for table \"us_zip_code_areas\"\r\nALTER TABLE\r\naddgeometrycolumn\r\n------------------------------------------------------------------- public.us_zip_code_areas.geom SRID:4269 TYPE:MULTIPOLYGON DIMS:2\r\n(1 row)\r\nCREATE INDEX\r\nCOMMIT\r\n[bmaddox@girls ZCTA5]$<\/pre>\n<p>And the final screen shot:<\/p>\n<div id=\"attachment_177\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ZCTA5.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-177\" class=\"size-medium wp-image-177\" alt=\"ZCTA5 in QGIS\" src=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ZCTA5-300x182.png\" width=\"300\" height=\"182\" srcset=\"https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ZCTA5-300x182.png 300w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ZCTA5-1024x621.png 1024w, https:\/\/brian.digitalmaddox.com\/blog\/wp-content\/uploads\/2014\/02\/ZCTA5.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-177\" class=\"wp-caption-text\">ZCTA5 in QGIS<\/p><\/div>\n<p>So that is it. You now have the US state borders, county outlines, and a large amount of national-level data such as railroads and interstates. In 8.3 we will tackle some of the other datasets that are comprised of multiple county files for each state. We will convert them to single state files and then import them into PostGIS. Until then, examine and experiment with what you have just done and see what data is actually inside the tables.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Part 8.1, we went over how the Census ftp site was set up and what kind of data each directory has in it. We also loaded our first Census data, which were outlines of the US states and territories. &hellip; <a href=\"https:\/\/brian.digitalmaddox.com\/blog\/?p=155\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-gis"],"_links":{"self":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=155"}],"version-history":[{"count":7,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/155\/revisions"}],"predecessor-version":[{"id":179,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/155\/revisions\/179"}],"wp:attachment":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}