mapcrop
Crop planar map raster
Description
[
crops the planar map raster B
,RB
] = mapcrop(A
,RA
,xlimits
,ylimits
)A
, which uses the raster reference
RA
, and returns the cropped raster B
and raster
reference RB
. The returned raster is cropped to limits in world
coordinates close to those specified by xlimits
and
ylimits
.
To clip vector data represented by a point, line, or polygon shape in planar
coordinates, use the mapclip
function
instead.
Examples
Input Arguments
Output Arguments
Alternative Functionality
To crop a raster in geographic coordinates, use the
geocrop
function.To create a raster with limits that match
xlimits
andylimits
, resample the raster by using themapresample
function.
Version History
Introduced in R2020a