<div dir="ltr">Hi,<div><br><div><br></div><div>I have angle values affected to each segment of a road network and I'd like to get the angles for sampling points.</div><div><br></div><div>The problem is that my points don't seem to intersect with my roads network.</div><div><br></div><div>Here is the code and the data is attached to this mail.</div><div><br></div><div>> library(rgeos)</div><div><br></div><div>> pts <- spsample(rds.un, type="regular", n=100)<br></div><div><br></div><div><div>> gIntersects(pts, rds.un)</div><div>[1] FALSE</div></div><div><br></div><div><br></div><div>Any idea ?</div><div><br></div><div>Best,</div><div><br></div><div>Mathieu</div></div></div>