Wednesday, September 10, 2014

Module 2 - Special Topics in GIS - Positional Accuracy of Road Networks

Map produced by the City of Albuquerque,  with sample intersections
placed for this accuracy assessment.
This week in Special Topics in GIS, we continued to practice making calculations of error between a sample dataset and a reference dataset considered to be more accurate.

Last week, we calculated error on two existing sets of data that we were given as part of our lab materials.  This week, we generated our own datasets from maps of the city of Albuquerque, New Mexico, then calculated error.





The figure above is a simple street map for the first dataset to be tested . The dark dots represent samples of street intersections taken from a map created by the City of Albuquerque. This City map is considered to be quite accurate, according to our lab materials this week.  We also examined the accuracy of another street network from StreetMap USA, over which we placed sample location points on the same street intersections as for the City map.    In order to assess the accuracy of these two datasets, we needed an independent reference dataset with corresponding street intersection points, which has been deemed to be much more accurate than those datasets we want to test.
For this "truer" reference, we digitized a new set of points on the centers of the sample street intersections, based on digital orthophoto quarterquads (DOQQ's) covering the city.

For this accuracy assessment, we followed the methods developed for the National Standard for Spatial Data Accuracy (NSSDA).  This document and others based on it line out a 7-step process for assessing and documenting the positional accuracy of a data set.  A very well-written summary of this process, with several case-studies, was produced by the Minnesota Planning and Land Management Information Center and included in our lab readings, and this was my main guide in this project. 

In summary, here are the seven steps for assessing the positional accuracy of the dataset in question:

1.  See if you need to test horizontal, vertical, or both accuracy in your dataset.
        (For this assignment, we assessed only horizontal accuracy.)
2. Select a set of test or sample points from the dataset that you're testing. 
       (We tested two datasets, one from the City of Albuquerque map, and the other from the
       StreetMaps USA map of the same area.)    
       For this step, select at least 20 points, make sure that at least 20% of them are in each 
       quadrant of your study area, and that they are at a distance from each other of at least 
      10% of the diameter of your study area.
3. Find another, independent dataset that represents the locations of those same points, 
    but with higher spatial accuracy.
      For this, you might have to digitize the locations from an orthophoto, or measure them in the field       with GPS, or the points might already exist in another more accurate dataset.  
      (Our reference data was digitized from the DOQQ's.) 
4. Tabulate the x and y coordinates for both datasets.
5. Calculate positional accuracy statistics, either horizontal or vertical.
       In this step, calculate the distances for both X and Y between each pair of points (test and
       reference), square those differences, then sum the squares.  
      This is the first part of the Pythagorean equation, but in this case, do NOT find    
      the square root of the sum.  Instead, calculate the average  of the sums of x and y squares
      for all of the pairs of points.   Then, take the square root of that average.
      This gives you the average error distance between all of your test and reference points.    
      This is called the Root Mean Square Error (RMSE).  
      From this statistic, we now want to calculate the error distance at which 95% of our 
      tested data points fall from their corresponding reference points.  
     To do that, simply multiply the RMSE by 1.7308 for horizontal error, and 1.9600 for 
     vertical error (these factors are calculated from the mathematical characteristics 
     of a Gaussian or bell-shaped distribution curve.) 
     These products are known as the NSSDA statistics and should be reported in the 
     final accuracy assessment.
6. Write a standardized accuracy statement in the NSSDA format.  
     (My statements for these assessments are shown below.  
7.  Include that accuracy report in the metadata of the dataset you are testing.


Here are formal my NSSDA accuracy statements for the two tested datasets in Albuquerque, NM.

a. City of Albuquerque road network, Horizontal Positional Accuracy:

Using the National Standard for Spatial Data Accuracy, the dataset tested 16.8 feet horizontal accuracy at 95% confidence level.

b. StreetMaps road network, Horizontal Positional Accuracy:

Using the National Standard for Spatial Data Accuracy, the dataset tested 341.5 feet horizontal accuracy at 95% confidence level.


As we can see from these statements, the City of Albuquerque dataset is much more accurate than the StreetMaps USA dataset.  We can say (based on this sample test at least), that 95% of the City of Albuquerque-mapped street intersections lie within 16.8 feet (horizontally) of their true positions based on the DOQQ's.  However, we can only say for the StreetMaps USA map that  95% of the samples tested lie within 341.5 feet (horizontally) of their true locations.  This disparity was easily seen from cursory visual comparison of the street network datasets and the orthophotos.  The City mapped streets were always very close to their counterparts in the DOQQ's, but those of StreetMaps varied considerably from being fairly close (generally in the center of the map) to hundreds of feet away, and skewed at large angles (generally at the corners and edges of the map).

Tuesday, September 9, 2014

Module 2 - Remote Sensing - Visual Interpretation


In the second week of Photo Interpretation and Remote Sensing, we began looking more closely and analytically at aerial photos.  By making use of some systematic and discriminating methods, it's possible to learn much more from air photos than we can with a more casual and cursory approach.

The top map to the left shows examples of different degrees of tone, or brightness along a gray-scale, and texture, in features in an aerial photo.  Our tone scale has five classes: very light, light, medium, dark and very dark.  It's important to use a scale like this in order to maintain consistency as we describe and identify objects on the ground.










The bottom map illustrates four different elements of image interpretation.  Different objects on the ground have a variety of characteristics...some, such as cars and houses, are most easily recognized by their shape or size, others, such as a parking lot, by a distinctive pattern, and others, such as light poles, more by the shadow that they cast on the ground.  Finally, some features, (such as the pier in this map) can be distinguished mainly by their association with certain other features (the ocean in this case.) An interpreter must keep all of these elements of interpretation in mind while working to identify objects from aerial imagery.

























Wednesday, September 3, 2014

Module 1 - Special Topics in GIS - Calculating Metrics for Spatial Data Quality


Data quality is a critical aspect in GIS analysis.  Both accuracy and precision must be addressed.  Both may be positional, temporal, or thematic in nature.  Accuracy is defined as the degree that measured values approach the "true" or reference value.  Precision is not the same as accuracy, but rather is a measure of how close repeat measurements are to each other.  

The map at left depicts 50 repeat measurements (black dots), made using a GPS device, of a single location in Hillsborough County, Florida, near Tampa. The spatial average of the measurements (horizontal only) is shown by the green circle at the center, while degrees of spread, or estimates of precision, are shown by the blue circular zones.  The central zone contains 50% of the measurements, while the outer-most zone contains about 95% of the measurements.  This is a measure of the precision of the data gathering.

Horizontal accuracy of the measurements is indicated by the distance between the average of the measured points (green circle) and the reference location, which is know to be truer to the real position on the ground (red triangle).  The fact that the average of the measured points lies about 3 meters southeast of the reference location indicates a bias in the measured point toward the southeast: a systematic error in accuracy.

Here is a table of the horizontal and vertical accuracy and precision for these GPS measurements.

-Horizontal precision (68%):                                                            4.4 meters

-Horizontal Accuracy
  (Distance between average location and
  reference (“true”) point):                                                                3.2 meters


-Vertical precision (68%):                                                                 5.7 meters            
                            
-Vertical Accuracy
 (Difference between average elevation and
 reference (“true”) point elevation):                                                   6.0 meters



As seen in the table above, if you’re comparing horizontal to vertical for either precision or accuracy, vertical error is larger in both cases.  If you compare horizontal precision to horizontal accuracy, and then vertical precision to vertical accuracy, the pairs of values are fairly similar.  The 68% estimate for vertical precision is slightly better than the vertical accuracy.  

Friday, July 11, 2014

Module 8 - Application in GIS - Least-Cost Path and Corridor Analysis

In the last regular lab for Application in GIS this term, we worked on least cost paths and corridors.  This is somewhat similar to suitability analysis, in that we can assign weights and values to various criteria, then combine them to obtain a final best result.

Instead of suitability, we refer to "cost" in this type of study.  Cost can be time, or money, or anything else we must expend to get from a source to a destination.

In this type of analysis, a cost surface is computed, and from that a cost-distance surface.  The latter calculates the cells of a raster that are easiest to travel across, based on the criteria, from a source to a destination.  We can then produce an ideal path across the surface that will incur the minimum cost of travel.

A corridor can also be found from one place to another.  Instead of a single, one-cell-wide path, the corridor is a zone of lesser cost.  We can specify a  threshold to define the corridor, saying that only costs below a certain value are desirable.  The map here shows a movement corridor for black bears between two areas of National Forest in Arizona.  The criteria for finding the corridor were land cover type, elevation, and distance from roads.  The green area on the map shows the most optimal area through which the bears can travel from either direction, between the two tracts of National Forest.

Monday, July 7, 2014

Module 7 - Applications in GIS - Spatial Accessibility Modeling

This week in Application in GIS, we worked with spatial accessibility modeling.  This is the analysis of how well people are able to get to facilities that they need in their communities.  We use the ArcMap Network Analysis extension for this type of study.  The network dataset consists of streets, junctions, and many attributes associated with them, such as speed limits, stops, one-ways streets and other restrictions and impediments to flow of traffic.  By inserting the locations of facilities that people need to access, along with locations or zones in which people travel from, we can plot the fastest or most direct routes.
In this particular assignment, we examined the impact of the closure of a community college on the population of Travis County, Texas.  The above map shows polygons created in Network Analysis for the travel times from each census block group to the closest college campus of the Austin Community College system.   In the right-hand map, the travel times are examined for the six remaining campuses when the northern-most campus (Cypress Creek, represented by the red dot on the left-hand map) is closed.  Further analysis of the census block group data in Network Analyst revealed that more than 4000  people between the ages of 18 and 29 (most potentially college-aged) live closest to the Cypress Creek campus, and would have to travel further to an alternate campus if their nearest campus were closed.  In the event that Cypress Creek Campus were closed, most of these displaced potential students would be next-closest to the Northridge Campus. and a few would be closest to the Pinnacle Campus.  The average increase in travel time for those displaced potential students to their new college campuses is about 9 minutes.

Monday, June 30, 2014

Module 6 - Applications in GIS - Suitability Analysis

This week in Applications in GIS we practiced suitability analysis, in which several criteria are overlaid and the overall most suitable areas for a particular need or phenomenon are generated.  We studied two types of analysis.  The first is Boolean, sometimes referred to as binary suitability analysis.  Areas are deemed either suitable, or not suitable, based on the criteria of interest.  For example, any area with a slope greater than 3 degrees might be classed as unsuitable, while any area with a slope of less than 3 degrees might be suitable.  Several criteria can be combined, such as distance to roads or streams, types of land cover, price of land, etc..  Areas in which all criteria are suitable are then considered generally suitable for the purpose at hand.

The other type of suitability analysis is more flexible, because the criteria are judged on a scale of suitability values, and may be assigned different weights or degrees of relative importance.

The figure above shows two scenarios for land suitability depending on slope, land cover, soil, distance from streams and distance from roads.  In the map on the left, all 5 criteria are rated on a scale of 1-5 and weighted with equal importance.  In the map on the right, slope is twice as important, and distances to streams and roads are half as important. This area contains a flat-floored valley in the center, with mountains on either side.  Therefore, making slope more important (with low slope being most suitable) produces larger areas of both "Very High" suitability areas (dark green) and "Low" suitability areas (dark red), as in the case of the right-hand scenario.    In the analysis with equally-weighted criteria (left), there are larger areas of neutral or somewhat high suitability, but smaller areas of very low or very high suitability.  Although 5 suitability classes (Very Low to Very High) were applied to the individual criteria in this exercise, the combinations of all of the criteria did not produce any areas that can be considered of generally "Very Low" suitability.

Monday, June 23, 2014

Module 5 - Applications in GIS - Visibility Analysis

Security Camera Coverage of the Boston Marathon Finish Line
This week's Application in GIS was visibility analysis.  We studied how viewsheds and lines of sight are developed in ArcGIS.  A viewshed is a representation of everything that is visible or not visible from particular observation points or along lines of observation such as roads.  A line of sight is a single line between an observer and a target, showing which portions of the line are visible to the observer and which are not.  Applications that we worked with included an analysis of the visibility of landscapes in Yellowstone National Park and the best placement of security cameras at the finish line of the Boston Marathon (above).

For the Boston Marathon exercise, we started with the view that a single camera has (#1 on the left), then experimented with the placement, angle and height from the ground of two more.   For this, we used Viewshed and Visibility tools in ArcMap, adjusting the positions of cameras #2 and #3, as well as their height from the ground and the 90 degree angle they cover.  This figure shows my best result for surveillance camera coverage of the finish line. The map indicates areas of visibility from all 3 cameras (yellow), any 2 cameras (green) or only 1 camera (purple).  Areas that are not seen by the cameras at all have no color overlay.

Here is a table with the details of the camera parameters.  (They are numbered 1, 2, and 3, from west/left to east/right.  In this figure the camera positions are represented by red dots, but are a little hard to see.)

Surveillance Camera Parameters
All in all, this week's topic was really interesting, and I continue to be amazed at the versatility of ArcGIS!