Professional Documents
Culture Documents
Add Raster Feature PDF
Add Raster Feature PDF
(https://www.chiwater.com/Home)
Articles (/Articles/Home)
Back
Theory
The tool supports various feature types and masks are created from the selected entities
(https://support.chiwater.com/77863/entity) of any single vector layer
(https://support.chiwater.com/77875/vector-layer) or shapes drawn with the Ruler tool.
If entities from multiple vector layers are selected, only the ones from the active layer in
the Layers panel (https://support.chiwater.com/79938/layers-panel) are used to define a
feature. By selecting entities, masked cells are identified, which are then used to add the
desired raster features.
https://support.chiwater.com/153823/add-raster-feature 1/10
11/14/2020 Add raster feature
For lines, a cell is masked if any of its four edges intersects any selected line.
Polygons can be the selected ones in a polygon layer or created by buffering points,
lines, or polygons. For polygons, a cell is masked if its center point is within any selected
polygon.
https://support.chiwater.com/153823/add-raster-feature 2/10
11/14/2020 Add raster feature
Raster layer
Select the input raster layer to which a feature will be added. Only open background
layers (https://support.chiwater.com/77867/background-layer) that are read-supported
raster file types (/79187/layer-file) will be included in the dropdown list.
Feature type
Select a type of feature to be added. Supported feature types for the masked cells are
Replace, Cut, Fill, Offset, Connect, and Storage Pond. The non-masked output cells will
have the same values as the input raster layer. A taper style can be optionally applied
with all feature types except Storage Pond.
Feature
Description (without a Taper style)
Type
Replace Replace the input cell values with the specified Value (e.g., a fixed elevation).
If an input cell value is greater than the specified Value, the output cells are
Cut set to this Value. Otherwise, cell values are unchanged from the input raster
layer.
https://support.chiwater.com/153823/add-raster-feature 3/10
11/14/2020 Add raster feature
If an input cell value is less than the specified Value, the output cells are set
Fill to this Value. Otherwise, cell values are unchanged from the input raster
layer.
Offset the input cell values by the specified Value, which can be positive or
Offset
negative.
Perform a linear interpolation along selected lines using the two elevations
at the first and last vertices of each selected line.
This only works for line shapes and will throw an error for point or
Connect polygon shapes.
Both start and end vertices of a selected line must have input cell values
that are not NoData. Otherwise, the interpolation cannot be performed.
Add a storage pond to the output raster based on a single selected polygon.
Storage
If multiple polygons are selected, an error message will be thrown. Note
Pond
that the Taper style does not apply for this feature type.
Operation
Select a operation to perform. Supported operations for the masked cells include Cut,
Fill, and Cut&Fill.
Operation Description
Replaces the input cell values with the specified Value (e.g., a fixed
Cut & Fill
elevation, offset depth, or other).
If the newly calculated Value of a cell is less than the original Value, the
Cut cell is set to this Value. Otherwise, cell values are unchanged from the
input raster layer.
If the newly calculated Value of a cell is greater than the original Value, the
Fill cell is set to this Value. Otherwise, cell values are unchanged from the
input raster layer.
Value
Output cell value that applies to Replace, Cut, and Fill feature types. It can be positive or
negative.
https://support.chiwater.com/153823/add-raster-feature 4/10
11/14/2020 Add raster feature
Offset
Output cell value that applies to Offset and Connect feature types. It can be positive or
negative.
Buffer distance
A buffer distance applies to the selected entities, which can be points, lines, or polygons.
A positive buffer distance will create buffer polygons around the selected points, lines,
or polygons.
A negative buffer distance will create inward buffer polygons around the selected
polygons, and will not create buffer polygons for the selected points or lines.
The created buffer polygon is then used to define a feature. If no valid buffer polygons
can be created using the Buffer distance (e.g., a negative distance on points or lines), the
output raster layer will be the same as the input layer and no feature will be added.
Taper style
A taper style defines a transitional shape from the polygon boundary inward for an input
taper width. It only works with polygons, which can be the selected from a polygon layer
or buffered using selected entities and a buffer distance.
https://support.chiwater.com/153823/add-raster-feature 5/10
11/14/2020 Add raster feature
S-shaped
The Z calculation is the same for feature types Replace, Cut, Fill, Offset, and Connect, and
does not apply to Storage Pond.
For the Cut feature type, if Z is greater than the input cell value, the output cell value is
set to the input.
For the Fill feature type, if Z is lower than the input cell value, the output cell value is
set to the input.
Taper width
The width (horizontal projection (https://support.chiwater.com/79176/projection)) over
which the transitional raster features are defined.
Exponent
Only used with the Exponential taper style.
Taper examples
A range of taper styles is shown below, with the raster illustrated in the left panel and a
cross-section view (using the Ruler tool) in the right panel. The first example shows a
Replace feature in which cell values are replaced with an elevation value of 355 and a
buffer of 100 ft (i.e., cells that are within 100 ft of the black line are assigned an elevation
of 355 with no taper). In each subsequent example, a taper width of 100 ft is used.
https://support.chiwater.com/153823/add-raster-feature 6/10
11/14/2020 Add raster feature
Save raster as
Specify the output raster layer filename.
Add button
Apply the Add Raster Feature tool to create the output raster layer.
Close button
Close the dialog and do not apply this tool.
Bank data
Bank data consists of multiple rows of pond embankment zones known as bank
segments. The layout of each segment is entered by the user, proceeding sequentially
from the lowest segment (pond bottom elevation) to the highest segment (top of
embankment elevation).
Bank Segment
https://support.chiwater.com/153823/add-raster-feature 8/10
11/14/2020 Add raster feature
Multiple bank segments can be defined. The first row in the Bank data table accepts the
innermost bank segment width and slope and the last row accepts the outermost bank
segment, as shown in the schematic below:
End Point
The End Point represents the outer perimeter of each bank segment polygon. Three
parameters (https://support.chiwater.com/77868/parameter) are automatically
calculated by PCSWMM once the bank segment information has been entered.
Height gain at the outer polygon perimeter of a bank segment above the
Height
Invert elevation.
https://support.chiwater.com/153823/add-raster-feature 9/10
11/14/2020 Add raster feature
Invert elevation
Elevation of the cells within the innermost bank segment polygon (i.e., the bottom of the
storage pond).
Freeboard
The elevation difference between the desired freeboard water level in the pond and the
selected polygon boundary. The estimated storage pond volume (Vol in screen capture
below) is calculated each time a new Freeboard depth is entered, without generating an
output raster layer. Selecting the Add button will generate the output raster layer, and
more accurately calculate the storage pond volume as well as the Cut/Fill quantities.
These quantities can then be copied to the clipboard by selecting the Copy button.
https://support.chiwater.com/153823/add-raster-feature 10/10