View source: R/tile_functions.R
reproject_tile | R Documentation |
This function takes the X,Y coordinates of all points and transforms them
from their existing projection to a user-specified one. The transformation is
done using sf
package methods. If the point cloud is very large this
may take a while.
reproject_tile(las, epsg.new, epsg.old = lidR::epsg(las))
las |
A LAS object, e.g. imported using |
epsg.new |
Integer EPSG code for the projection into which the point cloud will be transformed. |
epsg.old |
This argument allows you to optionally supply or override the EPSG code for the existing projection. For a LAS tile with a properly assigned projection this defaults to the existing EPSG code. |
A new LAS
object with reprojected point coordinates and
an updated header.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.