[R-sig-Geo] Semi-join?

Tim Keitt tke|tt @end|ng |rom utex@@@edu
Tue May 7 20:29:48 CEST 2019


I keep finding things that are trivial in sql are not so in R, so perhaps
you can help me out.

What would be the way in the 'sf' package to retain only polygons from one
coverage that intersect points in another coverage? I think that's a
semi-join.

Roughly: 'select a.* from polys a, points b where st_intersects(a.geom,
b.geom)'

Thanks.

THK

-- 
Timothy H. Keitt
Professor of Integrative Biology and
Associate Chair for Undergraduate Education
http://www.keittlab.org/

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list