When writing las files fme defaults to determining its own scale factor and offset values to utilise in the output file. For a las to las conversion is there a way of forcing fme to maintain/use the same offset and scale factor values that the input las file has?
las2las conversion - while maintaining scale factor and offset
Best answer by jovitaatsafe
Hi @pointpixel
My sincere apologies for causing confusion, I checked in with one our point cloud developers on it, and I'm missing a very important step in this process. Before applying the desired scale and offset that we want to preserve, we need to 'undo' the transformation before we apply it. So, to correct my answer to your earlier question, yes this process does apply the transformation on the values. This means that your workflow should look like:
Reader > PointCloudPropertyExtractor > Vertical reprojection, then
Undo the original scale/offset before we re-apply it. Attach a Scaler set to divide 1.0/@Value(_pre_x_scale), and _pre_y_scale for Y, and etc for Z
- Add an Offsetter
- Attach a PointCloudTransformationApplier with Apply Transformation Matrix set to Yes. Here we will set X, Y, and Z
Please let me know if you have any other questions and I'd be happy to find out for you. Update: I've attached a workspace below. Thanks for your patience and hope this clears things up for you!
preserve-scale-offset.fmwt
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.