Template:Trim Raster: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
The Trim Raster tool creates a new raster from the raster and coverage selected by the tool.  The coverage must contain one or more polygons, which will be used to trim the raster.  The polygons can include holes (or interior rings) when used to trim the raster.
The Trim Raster tool creates a new raster from the raster and coverage selected by the tool.  The coverage must contain one or more polygons, which will be used to trim the raster.  The polygons can include holes (or interior rings) when used to trim the raster.
If more than one polygon is found in the coverage specified, the raster will be trimmed to the polygons, with NODATA values assigned to areas not contained by polygons.
If more than one polygon is found in the coverage specified, the raster will be trimmed to the polygons, with NODATA values assigned to areas not contained by polygons.
:[[File:Trimrastertool1.png|thumb|none|400 px|Input raster and coverage containing a polygon used for trimming.]]
Input raster and coverage containing a polygon used for trimming.
:[[File:Trimrastertool2.png|thumb|none|400 px|Output raster cropped to the polygon.]]
Output raster cropped to the polygon.
====Input Parameters====
====Input Parameters====
*''Input raster'' – The raster used to create the trimmed raster.
*''Input raster'' – The raster used to create the trimmed raster.
Line 17: Line 15:
====Related Tools====
====Related Tools====
*Rasters/Extend Raster
*Rasters/Extend Raster
<noinclude>[[Category:Tools]]</noinclude>
<noinclude>[[Category:Toolbox Rasters]]</noinclude>

Latest revision as of 19:43, 26 October 2023


Trim Raster

The Trim Raster tool creates a new raster from the raster and coverage selected by the tool. The coverage must contain one or more polygons, which will be used to trim the raster. The polygons can include holes (or interior rings) when used to trim the raster. If more than one polygon is found in the coverage specified, the raster will be trimmed to the polygons, with NODATA values assigned to areas not contained by polygons.

Input raster and coverage containing a polygon used for trimming.
Output raster cropped to the polygon.

Input Parameters

  • Input raster – The raster used to create the trimmed raster.
  • Coverage with polygons – The coverage containing one or more polygons used to trim the input raster.

Output parameters

  • Output raster – A copy of the input raster, trimmed to the polygon features found in the coverage.

Current Location in toolbox

Rasters/Trim Raster

Related Tools

  • Rasters/Extend Raster