Dear Adrian,
even this solution is pretty cool.
Again, thanks to all who suggested me how to do that.
Best
Paolo
Da: Adrian Baddeley
Inviato: venerd� 14 ottobre 2016 02.14
A: Paolo Piras; Rolf Turner
Cc: r-sig-geo; Ege Rubak
You can use the spatstat function 'edges' to extract the edges of a polygonal
window.
Example:
W <- letterR#polygonal window
E <- edges(W)
X <- runifpointOnLines(20, E)
plot(E)
plot(X, add=TRUE)
Prof Adrian Baddeley DSc FAA
Thanks a lot Rolf!
This is virtually exactly what I need;
I'm very grateful for that
All the best
Paolo
Da: Rolf Turner
Inviato: gioved� 13 ottobre 2016 23.12
A: Paolo Piras
Cc: r-sig-geo; adrian.badde...@curtin.edu.au; Ege Rubak
On 14/10/16 07:03, Paolo Piras wrote:
HI folks,
I write for a (hopefully) relatively simple question:
I would need to uniformly sample 1000 or more points **along the border** of a
polygon (not within the area enclosed) that is identified by ordered but not
equally spaced points; which is