Question

Dynamic component PointCloudFilter


Badge +2

Hi all

I´m working with a point cloud with the following schema

x|y|gridnum|col0|col1|col2|.....|colN

 

10|22|121212|12|23|.....|234

 

10|22|121212|0|12|.....|234

 

The number of components will vary and I can´t tell a fixed number

As output I want to remove the 0 values from the col(x) components

 

10|22|121212||12|.....|234

I´m using an iterator to go through all the components

Using PointCloudFilter I´m achieving it but only with fixed components.

 

I can also use a user parameter to set component. But again, I cannot update modify.

 

As I cannot use attributes in PointCloudFilter, Is there any way to update the value of the user parameter dynamically within the workspace? I´ve also considered JobSubmitter but I don´t have FME Server....

I think that an iterator is needed because I can´t say in advance how many components I will have.

Thanks so much in advance


2 replies

Badge +16

Hi @txalaparta,

Have you tried the RasterCellCoercer (Output Cell Geometry = Points) with Extract Nodata Values set to no?

Hope this helps,

Itay

Badge +2

Hi Itay

Thanks for the quick replay.

In this case the points come from already "cleaned" rasters. So, there shouldn´t be any NoData points.

This case is all about reformating the output. I did it first reading each point in the point cloud and then with a StringReplacer but it takes forever comparing to PointCloud transformers available in FME

Correct me if I didn´t understand what you meant.

Thanks again anyway.

 

Reply