#rstats #rspatial and other #geospatial folks, I am pleased to announce the {centerline} package! It's a small but powerful tool that can find a centerline of closed polygons.
It has both {terra} and {sf} support and works pretty well, as far as its maintainer (i.e., me) sees. The very first devel version is out, and I'm curious to hear any feedback. Its even doesn't have any logo yet
https://github.com/atsyplenkov/centerline
GitHub - atsyplenkov/centerline: An R package to retrieve the centerline of polygons

An R package to retrieve the centerline of polygons - atsyplenkov/centerline

GitHub
@atsyplenkov Nice. What are likely applications of this? What do you intend to use it for?
@adriangadientbruegger thanks for kind words. Originally, I developed it for finding a landslide runout distance, i.e. connect initiation and terminal points. In my dreams I want to replicate the {collapse_dual_lines} from ArcGIS, a very handy tool for road and river analysis
@atsyplenkov thanks, that’s very interesting