Escolar Documentos
Profissional Documentos
Cultura Documentos
The tools that allow you to specify the locations for which to extract cell
values to an attribute table or a regular table include the following:
Cell values identified by a point feature class can be recorded as an
attribute of a new
output feature class (Extract Values to Points). This will only extract the
values from
one
Cell input
valuesraster.
identified by a point feature class can be appended to the
attribute table
of that feature class (Extract Multi Values to Points). Cell values from
multiple
The
rasters
alsofor
beidentified
identified.
cell can
values
locations (both raster and feature) can be
recorded in a
table (Sample).
The following table lists the available Extraction tools and provides a
brief description of each.
Tool
Description
Extract by
Attributes
Extract by Circle
Extract by Mask
Extracts the cells of a raster that correspond to the areas defined by a mask.
Extract by Points
Extract by
Polygon
Extract by
Rectangle
Extract Multi
Values to Points
Extracts cell values at locations specified in a point feature class from one or more
rasters, and records the values to the attribute table of the point feature class.
Extract Values to
Points
Extracts the cell values of a raster based on a set of point features and
records the values in the attribute table of an output feature class.
Sample
Creates a table that shows the values of cells from a raster, or set of
rasters, for defined locations. The locations are defined by raster cells
or by a set of points.
With the Extract Values to Points tool, you can use a point feature dataset
to define the
locations for which you want to extract the cell values from a single
raster. These values will be recorded to the attribute table of the feature
Appending
dataset. cell values from rasters to a existing point feature dataset
With the Extract Multi Values to Points tool, you can use a point feature
dataset to define the locations from one or many rasters you want to
extract the cell values from.
The differences between this tool and Extract Values to Points are the
following:
This tool just appends the cell values to the attribute table of the
input feature
dataset. It does not create a new feature dataset.
This tool just appends the cell values to the attribute table of the
input feature
dataset. It does not create a new feature dataset.
Supports multi-band raster dataset input.
Related Topics
An overview of the Extraction tools
Extract Multi Values to Points
Extract Values to Points
Extraction by attribute
Cells that meet a specified attribute query can be extracted to a new
output raster with the Extract by Attributes tool.
Examples of applications for this tool include the extraction of all cells
that have a slope
greater than 10 percent or the extraction of all cells attributed with
zoning for commercial development. All cells that meet the query will
return, for the cell location, the original value that was queried.
The cells that meet the specified query do not have to be contiguous.
Extraction by shapes
You can extract cells based on a specified shape. You have the option to
extract only the cells that fall inside or outside the shape. You can
extract by a circle, rectangle, or polygon.
Extraction by location
Cells can be extracted based on their spatial location. The cells to
extract can be determined by individual point locations or from a group
of locations of any size or shape as identified by a mask.
A feature dataset can be used for the mask. Only cells that fall within
the specified shape of the feature data will receive the values of the
Input raster on the output raster.
GENERALIZATION
The two principal ways to determine resulting values when changing the
resolution of a raster dataset are interpolation and aggregation.
Interpolation
The interpolation method is used by the Resample tool in the Raster
toolset of the Data Management toolbox. It uses either the nearest
neighbor, bilinear, cubic interpolation, or majority resampling methods
on the values of the input raster.
Aggregation
The aggregation method uses a specified statistical aggregation method
within a
neighborhood to derive values in the output raster at the different
resolution. This method is used by the Aggregate and Block Statistics
AggregateWith this tool, Spatial Analyst aggregates a group of
Spatial Analyst tools.
cells to the same
value to produce a single, coarser resolution cell. The types of
statistics available
Block StatisticsWith this tool, Spatial Analyst calculates a specified
to aggregate the input values are Sum, Min, Max, Mean, and
statistic within
Median.
non-overlapping neighborhoods.
The main difference between them is that there is no concept of a
neighborhood in
Aggregate as there is in Block Statistics, since the would-be
neighborhood and output blocks are always square, and the size of the
would-be neighborhood is a function of the aggregation of cells that is
necessary to obtain the desired resolution.
The following table lists the available Generalization tools, and provides a
brief description of each.
Tool
Description
Aggregate
Boundary
Clean
Expand
Majority
Filter
Nibble
Region
Group
For each cell in the output, the identity of the connected region to which
that cell belongs is recorded. A unique number is assigned to each region.
Shrink
Thin
In the output raster's attribute table, the Value and Count items exist as
usual, but a third item, Link, is also created. The Link field stores the
original input zone values. With this connection back to the parent
values of the input, additional analysis can be completed.
Nibble
In the following image, Nibble was applied to the input and mask
rasters. Nibble will only be applied to the NoData values in the mask
raster. Notice all non-NoData cells on the mask raster receive the value
from the input raster. These cell values and their locations will be used
to assign values to the NoData locations identified on the mask raster.
The NoData locations will receive the value of the cell in the input
raster that is identified as the closest non-NoData cell on the mask
raster.
Shrink
The Shrink tool shrinks specified zones by replacing them with the
value of the cell that is most frequent in its neighborhood. In Shrink,
the values of spurious cells along zonal boundaries are changed to the
value of their highest frequency neighbor. Any cells that are not
internal cells (those that cannot be viewed as a center to eight nearest
neighbors of the same value) may be replaced.
For example, a region that is 2 cells wide and 10 cells long will be
removed, since it will shrink by one cell from two different
directions. If you shrink by two cells, the smallest size region that
can be retained is a 5-by-5 block of cells.
When you shrink by more than one cell, conceptually, it is like
running the tool as many times as the number of cells to shrink with
the results of the previous run being the input to the subsequent
iteration.
For example, if you shrink by two cells, conceptually, it is like
running Shrink by one cell on the input raster and shrinking the
identified zones and using the output of the first shrink as the input
for the second shrinking.
In the image below, Shrink is applied to the input raster, so zone 5
shrinks by one cell. Zone 5 is no more than two cells wide in any
area; therefore, all cells containing 5 are replaced with the value of
highest frequency in its neighborhood. NoData invades two locations
at the bottom right, since it is the value of highest frequency to the
two locations.
Expand
With the Expand tool, certain zones can expand into other zones.
Conceptually, selected values can be viewed as foreground zones,
while others remain background zones. The foreground zones can
expand into the background zones.
In the image below, the Expand tool is applied to the input raster
with zone 5 expanding one cell. Notice that zone 5 expanded into
the NoData values in the lower right.
Depending on the value specified for the cell factor (whether the
division of the cell factor by the number of cells in a row or column
leaves a remainder), the spatial extent of the input cells will not cover
the same extent for the last cell in a row or column as the output
raster. When this occurs, the value for the last output cell can be
calculated with the available cells from the input raster that fall within
the extent (Expand extent checked), or the raster can be
truncated by removing the last cell from the output raster (Expand