merge_pols_intersected_by_lines: Merge Polygons Intersected By Lines

Description Usage Arguments Value See Also

View source: R/PWN_functions.R

Description

When an object-identification function is run on raster image in tiled mode (for memory management or paralel processing), The resulting objects are intersected by lines that correspond to the tile borders. This function allows you to mergein a SpatialPolygons object all the polygons that are split by a set of SpatialLines

Usage

1
merge_pols_intersected_by_lines(spat_pols, spat_lines, original_res = 0.15)

Arguments

spat_pols

A SpatialPolygons object

spat_lines

A SpatialLines object, e.g. as created by tile_raster_extent

original_res

The original resolution of the input image the Polygons were calculated from. Default = 0.15

Value

A SpatialPolygons object

See Also

tile_raster_extent


pieterbeck/CanHeMonR documentation built on May 25, 2019, 7:11 a.m.