






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Data Conversion Tools
Describe provides information on map number, map scale, and map status. Describe also reports information about each map category, including value, label, number of cells and percent of total map area. The output is written to a text file.
Example: DESCRIBE Covertype
Describe
To
Map Analysis Tools
Tutorial Macro Tools
Tutorial macro tools include Help Topic, Pause, Note, and Remove.
You can use the macro tools to create map analysis tutorials in MapCalc.
Select a help topic to appear at this step when your tutorial runs.
For instance, if you have just inserted a command to run the Drain analysis tool, then you can select the Drain online help topic to appear on screen when that command runs.
You can use the macro tools to create map analysis tutorials in MapCalc.
Click this menu command when you want to insert a pause in your tutorial, between macro commands. When the macro is executed, for instance when a student is observing the tutorial you created, the program will pause and wait for the student to click a “Continue” command.
The Pause command gives a student time to observe what is happening in the tutorial, for instance, to examine a new map that has just been generated by running a map analysis tool.
You can use the macro tools to create map analysis tutorials in MapCalc.
The Note command opens a text entry box you can use to store a note. The note will appear on screen when the tutorial runs, at the step where it is inserted when you create the macro. The student viewing the tutorial may close the note window and continue.
You can use the macro tools to create map analysis tutorials in MapCalc.
The Remove command enables you to specify that at this step in your tutorial, selected maps will be closed and removed from the map set. This is helpful when you have generated many windows with map analysis commands.
To select more than one map, hold the Ctrl key down while selecting the maps in the list.
A Brief Overview of Interpolation
closest sample influences the average a great deal more than the farthest sample. Because this is a static averaging method, the estimated values can never exceed the range of values in the original field data. Also, inverse distance tends to "pull down" peaks and "pull up" valleys in the data. The technique is best suited for data sets with random samples that are relatively independent of their surrounding locations (i.e., minimal regional trend). A surface generated by the inverse distance technique is sensitive to sampled locations and tends to put "bumps" around the sampled areas.
What is Kriging?
The inverse distance interpolation technique is fairly straight forward: it is a distance- weighted average of nearby sample points. Kriging gives us another spatial interpolation tool to explore before we can consider which is the best technique to determine residual analysis.
Obliquely speaking, the kriging interpolation technique uses "regional variable theory based on an underlying linear variogram." Without immersion into its theory, it is enough to know that there is a lot of math behind the technique. In effect, it develops a custom window based on the spacing and directional trends it detects in the sample data. The reach, or size of the window, is determined by intersample correlation. The summary technique weights the data values, aligning them along the trend's direction more than values opposing the trend. This trend-weighted moving average can result in estimated values that exceed the actual range of the sampled data. Also, there can be unexpected results in large areas without data values. The technique is most appropriate for systematically sampled data exhibiting discernible trends. In general, the kriged surface may be somewhat smoother than the inverse distance plot.
Above: Comparison of IDW and kriged surface.
By now, you are likely to concede that spatial interpolation is a bit overwhelming. Different techniques result in radically different renderings for the same set of data. Which rendering is best?
A Brief Overview of Interpolation
How Should An Interpolation Method
Be Chosen?
The only thing certain is that there isn’t a single best method that covers all situations. Some rules of thumb and general considerations have been discussed, but the only good way to determine the "best" map is to empirically verify the results. This involves generating several maps then testing the results against known measurements, aptly termed a test set. Residual analysis summarizes the differences between map estimates and actual measurements.
Above: A test set containing 16 random samples (#17-32). Residual analysis table for average, IDW, and kriging estimates.
In the figure, the "Actual" column lists the measured values for the test locations identified by the "Col," "Row" coordinates. The difference between these values and those predicted by various interpolation techniques form the residuals shown in parentheses. The "Average" column compares the whole field arithmetic mean of 23 (guess 23 everywhere) for each test location. For example, the first sample (#17) guesses 23 but was actually 0; therefore, it’s off by 23. Note the sign of the residual indicates whether the guesses are too high (positive) or too low (negative). If it were a perfect data world, you would expect the "Sum of the Residuals" to be 0 (just as many high as low misses, in other words, balanced). However, in this case there is a net residual of -17 (indicating a bias to underestimate). The "Average Unsigned Residual" is simply the average magnitude of mistakes, regardless whether more or less than. For the "Average," expect errors of about 22.8 each time you guess. The "Normalized Residual Index" is simply the ratio of the "Average Unsigned Residual" to the "Test Set Average." An index of.81 indicates that the "Average" technique isn’t very good.
Now take a look at the residual analysis for the other techniques. Both techniques are considerably better than the whole field average (indices of.18 and.12, compared to a
A Brief Overview of Interpolation
What Is Important About Variograms?
The basic concept of spatial statistics involves spatial autocorrelation, referring to the degree of similarity among neighboring points (e.g., soil nutrient samples). If they exhibit a lot similarity, or spatial dependence, they ought to derive a good map. If they are spatially independent, then expect a map of pure, dense gibberish. How can we measure whether "what happens at one location depends on what is happening around it?"
Above: Variograms displaying significant spatial dependence (left) and insignificant spatial dependence (right).
A variogram, or semivariogram, is a plot of the similarity among pairs of values based on the distance between them. Instead of simply testing whether close things are related, it shows how the degree of dependency relates to varying distances between locations.
As the distance between points increases, subsets of the data are scrutinized for their dependency. The spatial dependency among points deteriorates with distance. The range is the distance at which the sill , or plateau, occurs. It identifies the distance beyond which the data values are considered to be independent of one another. This tells us that using data values beyond this distance for interpolation actually can mess up the interpolation. The value at the Y-axis intercept, or nugget , is a measure of potential data collection error. Therefore, a variogram that intersects the origin implies that two samples taken at a single location would have no variation, which is an unlikely scenario in the real world.
If the variogram is generally horizontal, there is insufficient spatial dependency in the data set to warrant interpolation. If you proceed with the interpolation, a nifty colorful map will be generated, but it’ll be worthless.
Variance
Distance
R a n g e
Sill
N u g g e t
Variance
Distance
Glossary
For an online reference of mathematical terms, try Eric Weisstein’s World of Mathematics 1 : http://mathworld.wolfram.com/
Affine Transformation Images are typically offset by some amount from the plane of the reference map. Affine transformation is the mathematical method MapCalc uses to fit raster images to maps. It is analogous to having the image printed on a rubber sheet that can be stretched in various directions to force it to conform (geometrically align) to the plane of the reference map. Once the image has been corrected, its values (for example, blue, green, red, or NIR reflected energy) can be used in MapCalc processing because all of the numbers in the stack of maps align.
Coefficient of Variation Coefficient of variation is a normalized measure of how widely values are dispersed from the average value. It is computed by dividing the standard deviation by the mean and multiplying by 100 to express as a percent.
Continuous Data A data type defined by a set of individual points describing the same parameter, such as nitrogen sample results in soil, which MapCalc interpolates across a grid to produce a continuous surface.
Discrete Data A data type defined by independent, categorical values such as Sand, Clay, or other soil types. This data type is not interpolated across a grid. MapCalc assigns the value to all grid squares that contain it.
Inverse Distance The inverse distance weighting (IDW) method of interpolating data involves calculating the value of each cell as a distance-weighted average of surrounding data points.
data value that is 2 distance units from the location influences the determined value by 1/4, and a data value that is 4 distance units from the location influences the determined value by 1/16.
Note that a large search radius or high number of points used in the calculation may not be the best choice for large data sets, since the effect is a smoothing of the data.
(^1) Not affiliated with Red Hen Systems, Inc.
Glossary
Variogram
A variogram, also called a semivariogram, is a graph of average variance of differences between pairs of points within specified intervals vs. distance. It provides an idea of the average difference between any pair of data values separated by some distance. When a data set is spatially autocorrelated (or spatially dependent), the variogram of the data displays a positive slope over some distance. At a distance known as the range, the data points are so far apart that they no longer exhibit a spatial correlation; beyond this range, the variogram levels off into what is known as the sill.
In practical terms, generating variograms during the map creation process lets you inspect the data for spatial correlation. It is important to use spatially Note that a few widely scattered data points over an area are less likely to exhibit spatial correlation than many data points distributed over the same area. A spatially non-correlated data set will have a generally horizontal variogram.
WGS
This is the geographic projection, or datum, that GPS data in which GPS data must be recorded for compatibility with MapCalc Learner and MapCalc Learner – Academic.