Learn R Programming

bcmaps (version 0.7.1)

fix_geo_problems: Check and fix polygons that self-intersect, and sometimes can fix orphan holes

Description

This uses the common method of buffering by zero.

Usage

fix_geo_problems(obj)

Arguments

obj
The SpatialPolygons* or sf object to check/fix

Value

The SpatialPolygons* or sf object, repaired if necessary

Details

fix_self_intersect has been removed and will no longer work. Use fix_geo_problems instead