Skip to main content
Solved

PointCloudSpatialThinner without altering z-coordinates

  • Sep 16, 2025 7:30 AM UTC
  • 3 replies
  • 156 views

gurvan777
Contributor
Forum|alt.badge.img+3

Hello,

I would like to decimate my point cloud to keep one point every meter for example.

I tried PointCloudSpatialThinner but i suggest it extrapolates the coordinates to fit the best to the original cloud point.

The problem I have is I can’t change z-coordinates. Optimally I’d like to decimate my point cloud only on the x and y coordinates.

Does someone have a solution ?

Best regards,

Gurvan

Best answer by crystalwang

Hi ​@gurvan777,

 

I believe that the PointCloudSpatialThinner transformer can get the job done with a few tweaks.
Since it’s a custom transformer, we can add the PointCloudSpatialThinner transformer to the canvas > right-click to Embed it > right-click again to Edit Embedded Transformer.


Now, we’re inside the custom transformer. Double-click the PointCloudExpressionEvaluator transformer > click on the row with the Z component > click the minus (-) button at the bottom > click OK.


With this Z component deleted, running the PointCloudSpatialThinner transformer should only decimate your point cloud based on the X and Y coordinates.


Let me know if this works for your dataset!

View original
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

crystalwang
Safer
Forum|alt.badge.img+31
  • Safer
  • Best Answer
  • Sep 19, 2025 4:13 PM UTC

Hi ​@gurvan777,

 

I believe that the PointCloudSpatialThinner transformer can get the job done with a few tweaks.
Since it’s a custom transformer, we can add the PointCloudSpatialThinner transformer to the canvas > right-click to Embed it > right-click again to Edit Embedded Transformer.


Now, we’re inside the custom transformer. Double-click the PointCloudExpressionEvaluator transformer > click on the row with the Z component > click the minus (-) button at the bottom > click OK.


With this Z component deleted, running the PointCloudSpatialThinner transformer should only decimate your point cloud based on the X and Y coordinates.


Let me know if this works for your dataset!


gurvan777
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • Sep 25, 2025 5:55 AM UTC

Hi ​@gurvan777,

 

I believe that the PointCloudSpatialThinner transformer can get the job done with a few tweaks.
Since it’s a custom transformer, we can add the PointCloudSpatialThinner transformer to the canvas > right-click to Embed it > right-click again to Edit Embedded Transformer.


Now, we’re inside the custom transformer. Double-click the PointCloudExpressionEvaluator transformer > click on the row with the Z component > click the minus (-) button at the bottom > click OK.


With this Z component deleted, running the PointCloudSpatialThinner transformer should only decimate your point cloud based on the X and Y coordinates.


Let me know if this works for your dataset!

Hi ​@crystalwang ,

Thanks for your input. It worked partially but I learned I can edit custom transformer. After exploring others transformers I found PointCloudDupliucateRemover where it restores original XYZ after the point cloud is thinned. It does the job for me.

Have a good day !


crystalwang
Safer
Forum|alt.badge.img+31

Hi ​@gurvan777,

 

I believe that the PointCloudSpatialThinner transformer can get the job done with a few tweaks.
Since it’s a custom transformer, we can add the PointCloudSpatialThinner transformer to the canvas > right-click to Embed it > right-click again to Edit Embedded Transformer.


Now, we’re inside the custom transformer. Double-click the PointCloudExpressionEvaluator transformer > click on the row with the Z component > click the minus (-) button at the bottom > click OK.


With this Z component deleted, running the PointCloudSpatialThinner transformer should only decimate your point cloud based on the X and Y coordinates.


Let me know if this works for your dataset!

Hi ​@crystalwang ,

Thanks for your input. It worked partially but I learned I can edit custom transformer. After exploring others transformers I found PointCloudDupliucateRemover where it restores original XYZ after the point cloud is thinned. It does the job for me.

Have a good day !

I’m glad you were able to make it work for your workflow! Happy FME-ing!