Skip to content
Prev 28847 / 29559 Next

Distance from point(s) to polygon(s) in terra?

I'm trying to simplify my R spatial code to use only terra functions, and I'm almost there. The one function I'm missing is a replacement for rgeos::gDistance for point-polygon distances. I'd be grateful for any ideas.
Murray