Extract index of point cloud that are within a shapefile
1 | indexFromShape(xyz, qtr, class = "class", shpfile)
|
(xyz) |
matrix point cloud with x,y, and z coordinates |
(qtr) |
quadtree of xyz |
(shpfile) |
a SpatialPolygonsDataFrame to subset the point cloud only the first polygon is used if multiple polygons are present |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.