Background: NASA, Wikimedia, 2012
When read by a computer, the matrix values are mapped onto color schemes:
Remember, because it is a matrix, raster data can be processed by conducting operations on the cells of the matrix or by using matrix algebra to conduct operations on the matrix as a whole.
US Geological Survey, 2006:
http://www.mrlc.gov/nlcd2006.php
NOAA, 2008:
http://sos.noaa.gov/Datasets/dataset.php?id=100
Stephen Van Worley, Data Pointed, 2009:
http://www.datapointed.net/visualizations/maps/distance-to-nearest-mcdonalds/
http://spatial-analyst.net/wiki/index.php?title=Global_datasets
(http://www.mrlc.gov/nlcd2006.php)
But the dataset is HUGE and we won't have enough time in the lab
Instead, we'll use a clipped version posted on the desire2learn site
(http://www.census.gov/geo/maps-data/data/tiger.html)
Then open up ArcMap and drop it in
Then use select >> select by attribute to get the state of Illinois
And export it as a separate shapefile
Making sure to save only the selected feature:
Then remove the US states layer and drop in the NLCD image (.img) file (be sure to unzip the file first!)
Remember to check the projections! In this case, they're different, so we need to reproject the Illinois shapefile to match the NLCD image, which is in an Alber's equal area projection:
So open arc toolbox, choose data management tools >> projections and transformations >> feature >> project, and import the output coordinate system from the NLCD image before reprojecting:
Now we want to clip out a manageable bit of this behemoth of a file. So we'll want to go to ArcToolbox >> Spatial Analyst Tools >> Extraction >> Extract by Mask, set our NLCD layer as our Input Raster, and use our reprojected Illinois shapefile as our mask
This is where we come in. Add the IllinoisAlbers shapefile and the nlcdillinois image file to ArcMap. What do you see?
So our first task will be to define the projection correctly. This is done with ArcToolbox >> Projections and Transformations >> Raster >> Define Projection. Set your Input Dataset as nlcdillinois and the coordinate system as Albers_Conical_Equal_Area
Well, that's better. Now we just need to let ArcMap know that the values in this raster are codes (they represent land-use classes), not absolute values. Open the Properties for the raster layer, go the Symbology tab, and set up a Discrete Color scheme.
Hmmm. . . not too pretty, but we don't care that much. Let's say that we're working on a project on the potential effects of fracking, and we're primarily concerned with forest cover, water, wetlands, and impervious surfaces. It would be easier if we could just extract those values out of this raster.
Let's look at the NLCD 2006 legend: http://www.mrlc.gov/nlcd06_leg.php. What classes do we need?
We can split out these types using ArcToolbox >> Spatial Analyst Tools >> Reclass >> Reclassify, get unique values, and set our desired values to one and all other values to zero
Alternatively, we could use ArcToolbox >> Spatial Analyst Tools >> Map Algebra >> Raster Calculator. You then create an expression like the following: nlcdillinois == 11. This basically says "Give me a 1 where nlcdillinois and a 0 everywhere else."
On your own, repeat one of these processes to extract forests and wetlands. Then you can remove your Illinois NLCD layer. We won't need it anymore.
Because we're interested in fracking, we could also use some information about the geology of the state of Illinois. Download the Illinois geology shapefile from the USGS website at: http://mrdata.usgs.gov/geology/state/, unzip it, and drop it in ArcMap
Check the Properties and perform any operations you need to in order to ensure the data are compatible
Now we want to figure out how much area in each of these geologies is water. The easiest way to do this is to use ArcTools >> Spatial Analyst >> Zonal >> Tabulate Area. Set your shapefile as your zones, with FID as your zone field and the water raster as your Input Value Raster.
That gives you a table with the water area for each feature. You can join it to the original shapefile using the FID field.
Repeat this process to determine the forest area for each geological zone.
Let's take a moment to consider the benefits and limitations of raster data in environmental GIS applications
Background: Hengl, IGBP, Wikimedia, 2004
Close ArcMap and open ArcCatalog. Using the Catalog Tree, navigate to your working folder. Right click on the folder, then select new >> file geodatabase
Now we need to add class into the geodatabase. Right click on the geodatabase and choose import >> feature class >> single. Choose one of your shapefiles and give it a reasonable name in the Output Feature Class field.
Now let's add a raster layer. Right click on the geodatabase again and choose import >> Raster Datasets and select one of the raster datasets you created.
Now we'll import a table. Right click on the geodatabase, choose import >> Table (single) and select one of the area tabulations you created