View source: R/tile_functions.R
get_building_points | R Documentation |
Extract building points from a LAS tile
get_building_points(las)
las |
A LAS object, e.g. imported using |
An sf
spatial data frame suitable for map display and export
to a shapefile.
## Not run:
# Import tile and normalize point heights
las <- prepare_tile(path.to.tile)
# Extract building points
buildings <- get_building_points(las)
# Write to shapefile (requires 'sf' package)
st_write(buildings, "buildings.shp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.