Skip to main content
Question

How to update the 'classification' attribute in a point cloud in FME Workbench?


Forum|alt.badge.img+1

3 replies

Forum|alt.badge.img+1
  • Author
  • October 16, 2017
Currently, my point cloud file has the classification attribute to 0 which I want to update it to 1

 

 


ulfme
Contributor
Forum|alt.badge.img+13
  • Contributor
  • October 17, 2017

Hi!

One fairly simple approach is to first split out the PC depending on Classification and then use the PointCloudExpressionEvaluator to update the classification. After this you glue it together with the PointCloudCombiner.

 

 

(It might also be possible even to have a condition in the PointCloudExpressionEvaluator to save some speed and Transformers - but this is a fairly simple alternative).

 

 

I include a screenshot:

Note - if you are running this on several input-files you should use a Group By statement in the PointCloudCombiner (for instance on fme_basename) so you don't end up with one large file.


Forum|alt.badge.img+1
  • Author
  • October 18, 2017

Thank you very much @ulfme. I really appreciate the time you took to make the workflow to explain.

Since my point cloud is unclassified, I cannot use the initial approach you mentioned. I am clipping the point cloud and assigning new classification values to the clipped feature. So I did try the expression evaluator to update the classification field.

Thanks again :D


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings