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
Hi R-Sig-Geo,
I am working on a project related to deterministic probabilistic seismic
hazard analysis (PSHA). I know this sounds quite like an oxymoron, but the
idea is to use deterministic simulations of seismic wave propagation (due
to a dearth of data at large magnitudes) to help make
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
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 the fastest way?
In a first moment I