[R-sig-Geo] Combine two polygons
Ben Tupper
btupper @end|ng |rom b|ge|ow@org
Fri Apr 28 02:52:23 CEST 2023
Hi,
You might try st_union() from the sf package
https://r-spatial.github.io/sf/articles/sf3.html#geometrical-operations
On Thu, Apr 27, 2023 at 5:37 PM Miluji Sb <milujisb using gmail.com> wrote:
> Dear all,
>
> I am using the country-level shapefile from GADM. I would like to merge
> Cyprus and North Cyprus into one polygon. Is this possible? I am using
> rgdal to read the shapefile, subset, and then rewrite it. Any help will be
> highly appreciated.
>
> ##
> world <- readOGR("~/gadm36_levels_shp", layer = "gadm36_0")
>
> Best regards,
>
> Milu
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list