Skip to main content
Solved

Hi, What would be the best solution for splitting a pointcloud into smaller parts based on number of points? Eg. One new output-file for Every 1000 points.

  • April 1, 2021
  • 6 replies
  • 101 views

I can’t use the pointcloudcoercer and then group on ”count” since it still need to be in pointcloud- format when writing to Xyz-fileformat. Do I really need to first write to xyz and then bring it back in to split it up?

 

Thanks

 

Best answer by jdh

Have you looked at the PointCloudDensityTiler on FME Hub?

https://hub.safe.com/publishers/safe-lab/transformers/pointclouddensitytiler

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.

6 replies

siennaatsafe
Safer
Forum|alt.badge.img+12

Hi @abbe11​ 

I'd recommend using the PointCloundExpressionEvaluator to create a new component, the expression should be something like @index()/1000. Then, use a PointCloudSplitter to split by that component.

 

I've attached some images and a workspace as an example. 2021-04-01_15-56-302021-04-01_15-57-23 


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • Best Answer
  • April 5, 2021

Have you looked at the PointCloudDensityTiler on FME Hub?

https://hub.safe.com/publishers/safe-lab/transformers/pointclouddensitytiler


  • Author
  • April 6, 2021

Thanks @jdh​ , that almost does what I am after. However, Is it also possible to get a "tile-id" to achieve the final split/fanout on?


  • Author
  • April 6, 2021

Hi @abbe11​ 

I'd recommend using the PointCloundExpressionEvaluator to create a new component, the expression should be something like @index()/1000. Then, use a PointCloudSplitter to split by that component.

 

I've attached some images and a workspace as an example. 2021-04-01_15-56-302021-04-01_15-57-23 

Thanks @siennaatsafe​, this works well. The newly created component "t" isn't exposed as an component, right? (It is still possible to use it in pointcloudsplitter though, but not as a component in "split by"- drop down.)


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • April 6, 2021

Thanks @jdh​ , that almost does what I am after. However, Is it also possible to get a "tile-id" to achieve the final split/fanout on?

You could just add a Counter to get an id for the fanout.


siennaatsafe
Safer
Forum|alt.badge.img+12

Thanks @siennaatsafe​, this works well. The newly created component "t" isn't exposed as an component, right? (It is still possible to use it in pointcloudsplitter though, but not as a component in "split by"- drop down.)

Hi @abbe11​ ,

 

That's right, it won't count as an exposed component, but can be written in the pointcloudsplitter (however not selected by the dropdown).