Monday, December 15, 2014

Using Raster Modeling and Overlay to Create Suitability Index's for Lower Trempeleau County Wisconsin.

Intro

Up to this point in my tenure as a GIS user, I have had little interactions with raster data.  In this exercise, however, I will be attempting to conduct various levels of raster analyses in order to create a suitability model for potential locations of sand mines In the lower portion of Trempealeau County, Wisconsin.  This raster analysis  that being conducted will make two susceptibility models based off of a set of characteristics, that we as students are allowed to chose on our own.  The ending result came by using raster calculater, which combines two raster layers into a single raster showing a ranking of the areas most suitable and unsuitable locations for a sand mine. 

Procedure


The fist initial model that we were to produce was one that fits a self defined criteria for the following elements: Geology type, percent gradient (slope), water table elevation, national land cover data, and distance from rail terminals.  All of these shape files were downloaded from DNR, except for the water table depth topofile, which was obtained from the Wisconsin Geological and Natural History GIS DB.  To speed up the process, I used environmental settings to limit the extent of the tools being run.  Given the high degree of geoprocessing that this activity entails through its raster analyses, running an operation larger than the specified part of the county could be tedious, and might take hours to run.   All data was also projected to NAD_1993_Wisconsin_TM_Meters. 

 

First Suitability Index: Land Elements and Proximity to Rail Terminals.



The first step before doing any sort of rater modeling, is to predetermine what your criteria will be for what you deem to be unsuitable and suitable places to have sand mines.  in the tables that you will see to come, I will use raster's to both rank suitability on a 1-3 scale.  I will also use exclusion raster's to create areas that absolutely cannot be turned into mines.  for general purposes though, the lower the number, the less suitable the location/quality is for a Sand Mine.



figure 1: table of suitability. 3 most suitable and 0 is absolutely not suitable.



Once all the features classes were turned into rasters and subsequently classified so that they could be ranked based off that qualities suitability, I used model builder to overlay the raster layers and display my final results.  to create my first suitability index, the one based off of the criteria in figure 1. Once all necessary classifications and other tools were run, the ranked raster data sets were all added up in Raster Calculator, and subsequently multiplied by my NLCD exclusion raster.  this creates all the areas that we deemed impossible to mine to be given a 0, since we are multiplying the points that occupy those same geographic locations in the other layers by 0.  I chose to have the areas near rail terminals to be highly suitable, along with areas that had lower gradient in relation to the horizon.  Also, we learned that areas with a high water table elevation are suitable areas for mines and that the ideal subsurface bedrock for these mines are either Jordan or Wonewoc.  For land cover data, the most ideal places were areas that had little trees, water, or essentially, areas that are as barren and sandy as possible.  I determined that the only places that mines could not be, were areas where there is open water, a wetland, or any sort developed area.  I chose these criteria's in order to keep development of these mines a safe distance away from people and water sources, while also looking for areas with advantageous logistical elements such as short transport distance, ground levelness, and more assurances that you wont have to move to much earth and surface materials to find sand.





Figure 2:  This figure shows the model used to create the first portion of this exercise, the areas in lower Trempealeau County where land conditions and proximity to railroads are the basis for the suitability.







Part 2: Creating a Suitability Index Based off proximity to human elements, ecological factors, and a View shed.


Figure 3:  Table displaying the criteria for ranked and exclusionary rasters for part 2's model


 

Ranked Rasters: overlaying reclassified rasters

 

The second part of the exercise utilizes essentially the same work flow as part one, but with more of a human-environmental criteria as apposed to an land use-economic criteria specified in part 1.  For this set of geoprocessing we are too look at the most suitable distances from streams, residential areas, and schools.  The distance from these mines is to ensure that the public is not only safe from breathing in the very fine loose silica that can be picked up by the wind in these areas, but these mines tend to be very loud, so its important to keep a rather large gap between pockets of population and sand mines.  Any mines under 1000 meters for schools was deemed as an undesirable criteria, while any mines beyond 2000 was most desired.   Its also important to keep mines as far away, if possible, from hydrologic networks, like rivers and steams. Any mines under 600 meters from any major hydrologic feature was dubbed as a threat which could pollute the water way, and was thus deemed least suitable while anything more than1200 meters away was the most suitable.  The last-place ranked raster I created In this model was one that categorized the land for its potential farming ability.  The most desired land for mines would be ones that are deemed poor cropland, and the land we do not want mines is land deemed as good farmland. 

Exclusion Raster: multiplying by exclusionary raster to create final suitability model.

 Trempealeau County also known for having great recreational areas. weather it be horseback riding, snowmobiling, or just walking through one of its several nature reserves, you can find almost anything.  in light of that, the next to exclusion raster's were created with the intention of trying to keep these scenic view of the natural landscape of the county as prestigious as possible.  The first restrictor I created was a 500 meter buffer between bike trails and possible mine locations.  anything under 500 meters would be deemed unsuitable, and anything above 500 could be a potential sight.  I thought it was most important to protect to view that people could have from the counties longest snowmobile path.  by justification in choosing this for my last exclusion raster is that since people on this path would cover the most distance while out riding around, and thus this trail provides people with the most 'face time' if you will, with the county.  To create a raster that produced areas where you could see a mine and not see mine, I used the view shed tool.  I then used model builder to create a re-classed raster, were '0' were areas of the county that a mine could be seen, and '1' being areas where you could not.  




figure 4: Model showing creation of rasters based off of various proximity and suitability levels in relation to streams, schools, residential areas, potential farm land, view shed, and proximity to bike paths.




Creating a Weighted Raster for Residential Areas in Python Script.

 It was left to our discretion to create a Raster that showed one of the elements that we classified and ranked with an increased weight.  To do this we used a python script to combine the rasters, and also assigned the wight of 1.5 to our given criteria.  The element which i applied the weighted value too was residential, with the value of 1.5.  The image below provides the details of the account of the script i created. The raster that it subsequently created will be displayed in the Results portion of this post.


Results

Overlaying Suitability Rasters.

 After using model builder to build a 2nd suitability Raster, I could use raster calculator to now overlay the results of part 1 and part 2 to create a final suitability model.   the maps below are the subsequent overlays in the order that they were created in relation to the model builder application.  It should also be noted that the results produced in this lab represent hypothetical data, and its results are were strictly produced to better familiarize myself with using both model builder and raster calculator.  With that in mind, communities and environmentally conscious industries could utilize this information for leverage against or for a mine.



Figure 4: Suitability of geology, land cover, distance from rail terminal, gradient,  and water table data.                  







Figure 5: Sustainability map based on the personal criteria of proximity to streams, schools, residential areas, farming potential.  restrictor rasters used were viewshed and distance from bike path.
Figure 6: Map displaying view shed from a snowmobile path that covers almost the entire AOI
north and south. The white is the visible (0) and the black is not visible (1).







Figure 7:  This is the final overlay of the Land Suitability map, and the Community/Ecology map.
(Community/ecology suitability +  Land Suitability = COMMUNITY, ECOLOGY AND LAND
LAND SUITABILITY MAP.



Figure 8: Map displaying the increased wieghted value of residential areas in lower Trempealeau County.  The raster created was made in script class. 












Conclusion

As you can see based off of my final produced map of lower Trempealeau County, the most suitable place for a mine(s) is in the western center most part of other AOI.  The capabilities of that raster overlay as a tool for breaking down a geographic area deductively is very remarkable, and it will be a tool that I continue to use and become more familiar with.  Though this lab was challenging and it was sometimes frustrating waiting hours for some of the tools to run, it without a doubt produced the most tangible and relevant data then all the other labs that we have done. In hindsight, I wonder if the application of the view shed tool had a strong necessity due to its very small role in a list of legitimate criteria.  The capabilities of raster, and being able to turn various file types into raster is a powerful too for any individual who aspires to be successful in GIS modeling, and using it show spatial relationships and similarities in areas of interest.



works cited



Trempealeau County Land Records. 2014. (accessed 15 December 2014). Available from http://www.tremplocounty.com/landrecords/

Wisconsin Geological and Natural History Survey. 2014. (accessed 15 December 2014). Available from http://wgnhs.uwex.edu/maps-data/gis-data.

Wednesday, December 10, 2014

A Network Analysis of Wisconsin Sandmines and Rail Terminals

Goals and Background

The objective of this lab exercise was to conduct a network analysis on Wisconsin sand mines so that we can see how far they are from rail terminals, while also looking at the wear and tear moving sand has on the roads.  Once loaded onto the trains, the sand is taken around the country to be used in various industrial processes, one of these uses is frac mining.  Since the mines used in this exercise are all more than 1.5 kilometers away from a rail line, it is implied that the sand is transported by truck to the nearest rail terminal.  The repetitive cycle of moving massive amounts of sand is considered very strenuous on the roads, which are paid for and maintained by county and other municipal governments.  The final results of this exercise will provided the distance each truck travels on the way to and from mines, while also considering the cost of repairing the stretch of road being traveled on.

Procedure

In order to create this Network Analysis in Arc Map, the following things need to be determined:

       1. which rail terminal will each mine be sending their sand too for export?
       2. What rout is most efficient between terminals and mines?
       3. What is the length of the route?
       4. What is the estimated cost each county will incur from maintaining these roads.

the first part of this exercise (parts 1-5) were completed by using a python script to create the shape files that we need to create our network analysis.

figure 1: Script used to produce shape files of mines and terminals that fit our specific criteria. 

The result of this script provided mines that fit the criteria of being more than 1.5 miles away from a rail line.  This was done because we are operating under the assumption that any mine within that range would have what is called a spur, a privately owned rail line that moves sand from the mine directly to the major railway by use of transportation carts. Subsequently, the shape file that contains the locations of the terminals were both air and rail.  Since we are only interested in rail terminals, it was necessary to query out and make a layer of only rail terminals.Figure 2 shows the location of mines and terminals produced from this script.

figure 2: Map of sand mines and terminals in Wisconsin 

To display the routes between the mines (incidents) and the nearest terminal (facility) i used the Network Analyses tool to create 'closest facility' routes. The assumption we are making is that each mine sends its sand the shortest route possible, and to the nearest station. another element that could be considered is that we are assuming the mines close to Wisconsin's border with another state, don't send their sand to terminals that are closer, but are not mapped because they are in Minnesota, Iowa, Michigan (UP), or Illinois.  



The next problem we were to solve was how produce information that showed how much road per county in Wisconsin was driven on, and based off of that factor, calculate the cost that each county would incur as a result of the damages caused to the roads by the heavy loaded sand trucks.  we were given the arbitrary rate of 2.2 cents per mile driven per truck, and that each truck would do the trip 50 times a year.  to create the features that would display this data, we used model builder to do it all in one step.  

figure 3: Model built and ran to create shape files and tables used to acquire the desired results. 

As you can see, the model had a multitude of steps, and i must admit it took me several times to get all my parameters and outputs right in order to get it to run, but in the end it worked.  what this model essentially did was:

1. create routes between mines/facilities 
2. calculate the necessary lengths of these routes 
3. project all the shapefiles into NAD 1983 Wisconsin TM (meters) 
4. intersect that shapefile with counties,
5. convert the length in meters to length in miles 
6. add a cost field 
7. calculate the cost each county incurred over the span of a year. 


Results

the results calculated after my model ran showed that some counties had very little truck traffic, while others much more heavy usage.  the graph below (graph 1) shows both the distance of truck route per county, as well as the subsequent cost inured by road damage.  

Graph 1: Graph of Distance vs. Cost in Dollars 



The picture below displays the mines and terminals that were queried out during our python script, and the subsequent routes that were calculated between them when we ran our model.  As you can see, some mines near the border were required to go a very long distance to get o the nearest terminal in Wisconsin.  perhaps one way this activity could have been more productive, is if we would have included the rail lines, and terminals that were in Minnesota as well.  


figure 4: routes between mines and terminals 

figure 5: Distance of routes in each County 
Conclusion. 

The movement of sand via automobile is a very costly process for the mining companies.  As we learned from this lab, it can also be very detrimental to the roads which are payed for and managed by county municipalities.  Counties provided with this information could use this as leverage to create incentive for mining companies to either pay them for the damage they cause to the roads, or invest in transportation methods that avoid using the fragile road network.  many mines do utilize private rail lines, that not only reduce coast,  but also reduce the impact other transportation methods (like driving trucks) on the local infrastructure and environment.  The results in this lab are very hypothetical, but still helped produce the skills necessary to solve such issues if given more resources.  The main goal of this lab was to provide students with valuable skills in using a various array of ARC map tools (model builder, Network Analysis and summary statistics).  If we wanted to create viable results, we would need to expand the AOI into Minnesota, find all the mines that have spurs rather then assume they do or don't based off of an arbitrary distance, and also find very detailed information about the roads used by trucks, and their susceptibility to ware and tare. 

Friday, November 7, 2014

Geocoding and Normalizing Western Wisconsin Sand Mine Locations.

Goals

The main goals of this lab is to teach students how to normalize data, and then how subsequently map that data through geo-coding capabilities in ArcMap.  A notable sub-goal of this lab is a not so subtle introduction to the frustration and inconsistency associated with working with data that is not normilized to a certain standard.  This frustrating process highlighted to us how necessary it is establish consistent annotation when working with groups to produce the data that has  no room for operational error. The data used was  the location of sand mines, which was provided by the Wisconsin DNR, and was organized in a way that required us students to go through and separate the data characteristics  into separate fields on a separate table so that it could be later geo-coded to create a shape file of mine locations. Ideally, the mines created after normalizing and geo-coding the data are identical to the actual known locations of these mines. 

Methods

Part of building a risk/sustainability model for sand mine locations involves students locating these mines so we can compare their locations in relation to the various land features we mapped in the previous exercise.  Students were provided with a table that had mine locations we were intended to map (Roughly 17 each). The table, however, needs to be normalized so that it can be of any used to us.  One of the main operations in the normalization process was to separate the street addresses and the PLS addresses apart, since they were incorporated in the same field in the original table. Figure 1 shows the unnormalized table, not the inconsitancy in the annotation.


figure 1: The concerning part of this table is the very inconsistent information in the address field. As you can see, there various inputs throughout the column.  Some have PLS addresses, some have street addresses, or some have both.  The important thing that we needed to find was the full street address so the geolocater could find the mine locations. In most cases, however, the street address information was either incomplete or incomplete.

In order to turn this information into something that we can use, it was necessary to use the geocoding toolbar in Arcmap, in combination with a PLS shape file that we used from the DNR's Database and a 2013 image base map.   Using this tool, one could find the exact address two different ways: by typing in the street you were provided with if the necessary qualities were provided (number, street, zip, state) or by opening the attribute table of the PLS shape file, and scroll search through the PLS_Labeling field to locate the PLS square the mine was supposedly located in.  Once found, you could zoom to that square and search for the mine using the imagery of the base map.  

figure 2: Here we see a sand mine enclosed by a PLS quarter section.  I was able to locate the sand mine by using an attribute query in Arc map.  Once the correct quarter section is selected, one can zoom to the selected location, and use Arc maps geocoding tool to find the street address of the sand mine.  This was a long tedious process due to the inconsistent notation of the PLS information provided, and in some cases newer mines were not the base map imagery provided from the ESRI dataset.



 Results

Using the geocoder allowed us to find the full street/postal addresses for all the assigned mines each individual student was supposed locate. Below, in figure 3, is the normalized table of all the information gathered from that geocoder. Notice how the various elements of the postal address of each mine is divided into its own unique field.



Figure 3: Normalized Table.


 With this information, we could then use the geocoder to create a shape file of these map locations. Once that was created we saved that shape file into a folder where the rest of the class could also access it.  from there I merged all of the classes shape files, excluding my own, into one dataset.  once I had all of them in one data set, I ran a query on the data to extract all the mines that had the same mine_ID that I had mapped.  I than made a layer of that selection, and then removed all the other mines.  the information I now had allowed me to compare where I had located the mines, to that off of my classmates who had mapped the same ones. Figure 4 below shows a man comparing my mapped locations to the that of the class.

Figure 4: My mapped locations vs class mapped locations


To further investigate the consistency of the data between me and classmates, I used the point distance tool to run show the geographic distance (in meters) between my locations and that of my fellow classmates.

figure 5: point distance between my mine locations and class mine locations 


As you can see, some where almost dead on while others were not so close. However, many were far off. This came as result of the inconsistency of the data that we received from the un-normalized table.  given that we at times had to speculate, within a scope of an area, where the maps actual location was, it was expected that there would be at times great distances between our own data, and the rest of the classes.  Had the class done this activity as a unit, or at least met prior and discussed the how we should annotate the data that we were working with.  This, apart from the technical experience, was the most beneficial aspect of this lab, learning the importance of creating consistent annotation within data so that it can be used by others as well as yourself without causing confusion. 


Discussion and Conclusion

This lab is an important part of continually building upon our sustainability risk model for our western Wisconsin sand mine operations, but it perhaps most importantly it gave us great experience with handling data that doesn't have a high level of certainty and consistency.   Not every time you are given data to work with will all the pieces fall into place right away, it will often times require the user to go back and further investigate the data sources methods, and improve upon them with the skills you have developed. This lab was perfect for that. 

The data automation and completion, in this instance, had a poor quality, especially that of the attribute data input.  if the person who had collected this data had made better use of attribute domains, the fields would have had a much higher level of consistency, and would have been much easier to work with.   

Another source of inherent data error arose as a  result of there being no standard notation agreed upon by the class before beginning our normalization process.  As a result, there were different methodologies and annotations used as data was recorded and listed. Given that this class was not trained specifically to a standardized method of normalization (there are many) it would be incorrect to call these discrepancies gross errors.  The very point of this lab was to highlight how to normalize, in general. No standards were set, giving students a first hand look at its importance as we encountered hiccups and issues that come about as a result of students doing things under their own bias.

To have all of my data match that of my other classmates, we would have to be working with tables with 100% correct information, that was normalized in a 100% consistent manner.  with the lessons that we now know, it is very apparent how necessary it would have been for our class to come together and agree upon methods by which we should go about normalizing our data.


Before conducing any sort of group project, it is paramount that the group agree upon the standard of the normalized data.   The stricter the guidelines, the higher certainty there is that the results produced will have a low level of operational error involved, making your project more credible and applicable for what ever circumstance it may be used in.  ArcGIS software has a way to help with this process.  Within a geodatabase, the creator can establish domains and subtypes that limit the input a user can work with.  By doing this the amount of errouneous data can be limited, lowering the amount of errors that can 






Monday, October 20, 2014

Gathering Base Data in Preperation for Frac Sand Mining.

Goals of this lab

  • become more familiar with downloading data from different websites, weather it be raster or vector
  • better improve upon data management skills by conducting joins, projections, and extraction procedures
  • write a complete script in Arcpy that clips and projects the raster data we collected, all at once with out any interaction with Arcmap
 Methods

The first potion of this lab is dedicated to downloading data from online resources.  This operation consisted of students downloading the data to a temporary file space, from witch we later extracted to a working file.  Doing this made it so that the data we downloaded wouldn't be permanent and wouldn't take up valuable space on the server. Once the zip file's data was extracted to our own personal working file space, we were then able to conduct the various operations that this lab required.

here are the sources where I collected my data from:



Digital elevation model/land cover from the USGS database: http://nationalmap.gov/viewers.html.

Trempealeau County Geodatabase from the Trempealeau County Land Records:
 http://www.tremplocounty.com/landrecords/ 

Soil information from the USDA NRCS Web Soil Survey:
 http://websoilsurvey.sc.egov.usda.gov/App/HomePage.htm



After all the data was downloaded and allocated to its proper working file space, the next step was to conduct a python script. Through this typed script I was able to project and clip the soil, elevation, and land use data.  This script and subsequently created county level maps can be seen below:




Displayed here is the data that was clipped and projected to NAD_1983_HARN_WISCRS_Trempealeau_County_Feet




Data Accuracy

When gathering data with the intention to use it to portray some geographical relationship, you should attempt to to know the data you are working with the best you can. By learning more about it you can make a decision weather it is applicable to what you wish to use it for, and if has the necessary accuracy to eliminate any uncertainty.  below is a chart composing some of the important elements that i was able to find within the metadata of the data i downloaded.



 Conclusion:

Learning how to extract and conduct operations on data is paramount in being a skilled GIS operator.  This lab provided a very strong base for us to further improve upon our skills as we conduct more operations with more complex data sets.  perhaps the most important aspect of this lab for me personally was the ability for me  The data collected and displayed in this lab will be a very valuable part of our final risk-sustainability model. 

Friday, October 3, 2014

Wisconsin Sand Mining Introducton

Introduction

The main focus of our fall 2014 GIS II class will be to conduct GIS analysis of frac sand mining facilities throughout Western Wisconsin.  My goal as a GIS student, will be to produce valuable visual information through the GIS program Arc map.  This posts intention is to give a general overview of frac sand mining and why it is a controversial practice.  It is my intention through out this semester to display a sustainability/risk model in relation to these mines, that will ultimately allow the viewers of this blog to make a deices opinion as to weather there presence  has a more positive or negative affect on their surrounding environment.  Our primary focus will be in the area of Western Wisconsin, specifically, Trempealeau County.    


Overview of Frac Sand Mining

Although sand mining has been going on in the state of Wisconsin for more than 100 years, recent developments in the petroleum industry has increased the demand for sand that can be used for hydrofacing.  Hydrofracing is the process of injecting a mix of chemicals, water, and sand at a very high pressure in areas where natural gas is thought to be stored.  This procedure causes a breaking of the underground shale rock, which than allows for drills and hoses to extract either the natural gas or petroleum that it is encased within.  this process has made it more economically viable for areas to be mined that once had little profitability due to the difficulty of extracting the fuel contained in these hard rocks, hence why there is an increased presence of frac sand mines in the state of Wisconsin. The particular reason that makes  Wisconsin a good place to have these mines, is the abundance of sand that was created during periods of glaciation that occurred 50 million years ago.  The sand in western part of the state is composed of the right material, and the grain size and shape is ideal for hydrofracing.





Issues Associated with Frac Sand Mining

Although frac sand mining has huge economic potential, there are many concerns as to the negative environmental impacts the mines can have on its surrounding area.  Much of the concern arises from the chemicals that are used in the processing process, but it doesn't stop there.  These mines are big, loud and demand a lot of resources from the surrounding area, mainly water.  Due to the relative newness of these mines, its hard to say for sure weather these concerns will play out the way they are expected, but indicators show that these mines have the potential to do a lot of environmental damage.

Water pollution is probably the largest environmental concern associated with these sand mines.  The silt and sand that are held at the various sights have at times gotten leaked into nearby water sources, causing damage to aquatic wildlife, habitat, and water quality.  perhaps the most detrimental aspect of the sand mining process comes from the chemicals used in the mining process.  as of now, there are no drinking water standards for some of the chemicals used for sand mining, and many labs don't even test for these chemicals, meaning that if there are health implications for having these chemicals in the drinking water, they wont be known for some time. however, one of the most common known chemicals used, a substance known as polyacrylamide, is a known cancer causing agent. this chemical is used to remove unwanted minerals from the sand that is extracted from the earth. 

What's also a concern is the sheer amount of water needed obtain the sand.  the expected average of an operating mine is roughly between 420,500 gallons to 2 million gallons per day.  This use of ground water is considered to be recklessly excessive, and has the potential threat to cause the drainage of nearby streams, rivers, and lakes.

Conclusion

Throughout this class we will further investigate the various environmental aspects that encompasses the frac sand mine process and paint a broader picture of its potential for economic growth as well as their potential for environmental degradation.  The blogs to follow this introduction post will display much more detailed data, in witch I wish to convey my understanding of GIS software and how they can be applied to help solve real world dilemmas.

http://conservationvoters.org/issues/frac-sand-mining/

http://dnr.wi.gov/topic/Mines/documents/SilicaSandMiningFinal.pdf

http://dnr.wi.gov/topic/mines/silica.html

http://wcwrpc.org/frac-sand-factsheet.pdf