[R-sig-Geo] Cropping a set of points with a polygon
Anthony Fischbach
afischbach at usgs.gov
Fri May 4 18:37:55 CEST 2012
You may use something like this.
X.prj<-spTransform(X, proj4string(pointsDF)) ## project polygons to the
points coordinate system
pointsDF.over<-over(x=pointsDF, y=X.prj) ## perform GIS over lay opperation
-----
Tony Fischbach, Wildlife Biologist
Walrus Research Program
Alaska Science Center
U.S. Geological Survey
4210 University Drive
Anchorage, AK 99508-4650
AFischbach at usgs.gov
http://alaska.usgs.gov/science/biology/walrus
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Cropping-a-set-of-points-with-a-polygon-tp7515947p7527731.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list