Add polygon to spatial data
Arguments
- poly
A valid polygon to add to spatial data.
- spat
Spatial dataset to add polygon too.
- spat.id
The ID column in
spat
.- new.id
The ID for new polygon.
- combine
Whether to use
combine_zone
. This will turn the intersections betweenpoly
andspat
into new polygons. Note that the new polygon IDs will be derived fromspat
andnew.id
will not be used.