Hi @miladahmad, according to the Quick Facts on LAS Reader/Writer, the format supports only Int32 type for the x, y, z components, so I don't think the destination zlas dataset can contain Real64 x, y, z. However, the LAS writer seems to calculate and set appropriate scale factors to x, y, z components automatically, in order to represent decimal values with integers.
If the scale factors automatically set are not desired, you can also set your preferable scale factors with some transformers. For example, if the tiled point cloud have Real64 x, y, z without scale factors and you want to use 0.01 (equivalent to two decimal places precision) as the scale factors in the destination zlas dataset, these transformers might help you.
- Scaler: Set 100 to scale factors for x, y, z components.
- PointCloudTransformationApplier: Apply the scale factors to x, y, z components.
PointCloudComponentTypeCoercer: Cast the data type of x, y, z components to Int32.- Scaler_2: Set 0.01 to scale factors for x, y, z components.
Note that you should set scale factors via the "Point Cloud" section in the Scaler Parameters dialog, like this.
thanks takashi.. OK, then I should apply all the following : scaler (100), then PointCloudTransformationApplier, then pointCloudCompenentTypeCoercer (example component x, type int32, cast, round), then another scaler for 0.01, then another PointCloudTransformationApplier, then PointCloudCombiner, then tiler.
is that correct?
what is the scale factors to x, y, z by default (which applied by the las fme writer)?
thanks again
No, I intend to apply the transformers AFTER tiling and then write the point cloud feature into the destination LAS dataset. The screenshot below illustrates my intention.
See also the attached workspace and compare A and B to find differences between the default scale factors set by the LAS writer automatically and ones modified with the transformers.
set-scale-factor-to-point-cloud-component.fmw (FME 2016.1.3+)
No, I intend to apply the transformers AFTER tiling and then write the point cloud feature into the destination LAS dataset. The screenshot below illustrates my intention.
See also the attached workspace and compare A and B to find differences between the default scale factors set by the LAS writer automatically and ones modified with the transformers.
set-scale-factor-to-point-cloud-component.fmw (FME 2016.1.3+)
You can see properties of components including data type, scale factor etc. on the Feature Information window of FME Data Inspector. e.g.
You can see properties of components including data type, scale factor etc. on the Feature Information window of FME Data Inspector. e.g.
Hey Sir, Do you have any idea on how to segmentize lidar data within FME workbench and making plane fitting using the equation Ax+BY+CZ=0