lasclipSpatialPolygon.LAScluster <-
function(las, sp, projection){
las<-readLAS(las)
if(is.empty(las)) return(NULL)
las<-lasclipSpatialPolygon.LAS(las, sp, projection=projection)
if(!is.null(las))
las <- lasfilter(las, buffer == 0)
return(las)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.