I am looking for an equivalent to Postgis ST_NumGeometries
https://postgis.net/docs/ST_NumGeometries.html
I have multipolygons in an sf df, where most of them are likely to be single
part. I want to identify those that are not single part, and possibly retain
only the largest polygon part, and cast all into Polygon.
Any advice is appreciated, thanks!
Martin
[[alternative HTML version deleted]]
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo