Re: [R-sig-Geo] uniformly sample points on a border of a polygon

2016-10-15 Thread Tom Philippi
Note that the spsurvey package can also do IRS (simple independent random sample) on points, polylines (e.g., stream networks), and area (polygons). While the irslin() function only shows shapefile and not sp object, the irs() function allows you to specify an sp object. So, you can convert your p

Re: [R-sig-Geo] uniformly sample points on a border of a polygon

2016-10-15 Thread Paolo Piras
Thanks Mike, I'll look forward for this solution too best paolo Da: mgm mgm Inviato: venerd� 14 ottobre 2016 23.12 A: Paolo Piras Cc: Adrian Baddeley; Rolf Turner; Ege Rubak; r-sig-geo Oggetto: Re: [R-sig-Geo] uniformly sample points on a border of a polygon