geoclip
Description
clips the specified geographic point, line, or polygon shapes to the specified latitude and
longitude limits. Specify the shapes using clipped
= geoclip(shape
,latlim
,lonlim
)shape
, the latitude limits
using latlim
, and the longitude limits using
lonlim
.
To crop raster data that is represented by an array and a geographic raster reference
object, use the geocrop
function
instead.
clips the shapes to the specified clipper polygon. (since R2024b)clipped
= geoclip(shape
,clipperPolygon
)
Examples
Input Arguments
Output Arguments
Tips
If you clip a shape within a geospatial table, the function does not modify any attributes of the table.
If you do not know the latitude and longitude limits you want, you can open and explore a geographic axes by using the
geoaxes
function. Return the limits of the axes by using thegeolimits
function or interactively select the southwest and northeast corners of a bounding box by using theginput
function.