Skip to main content
Question

String attribute as component on pointcloud

  • May 21, 2026
  • 2 replies
  • 51 views

esietinga
Contributor
Forum|alt.badge.img+7

I have 400 rasters i would like to convert to a single combined pointcloud for more efficient processing. Each raster has a specific piece of information about the hydrology of the subsoil (horizontal resistance, top of geologic layer, bottom of geologic layer, top of aquifer, bottom of aquifer, etc). To preserve the meaning of the individual values i would like to keep the name and type of the source raster as component values. This is where my problem/challenge lies. I can rename the original rater bands to a meaningful name, but because each raster only has a single band, the band value is by default used as the z-value. If I set the attributes to keep as component to an attribute containing the layer name, these are not kept on the pointcloud. I think this is because they contain string values and components in a pointcloud usually only contain numeric values , but then why can i configure it as being a string datatype?

 

The rasters are 2800 x 3250 Pixels with each pixel 100 x 100 m.

Running FME Form 2025.2

2 replies

j.botterill
Influencer
Forum|alt.badge.img+58
  • Influencer
  • May 25, 2026

Firstly use 2 featurereaders. The first Path and File Directory reader points to your raster folder. Then connect the PATH outport port into another featurereader where the dataset is set to the Attribute path_windows. 

The PointCloudComponentAdder allows you to define the DataType, along with AttributeManagers

example - make sure you use the Feature/Record Information tab when inspecting the Components 

 


esietinga
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • May 26, 2026

Firstly use 2 featurereaders. The first Path and File Directory reader points to your raster folder. Then connect the PATH outport port into another featurereader where the dataset is set to the Attribute path_windows. 

The PointCloudComponentAdder allows you to define the DataType, along with AttributeManagers

example - make sure you use the Feature/Record Information tab when inspecting the Components 

 

OK, using the PointCloudComponentAdder did work to add the attributes as components. It also alerted me to the fact that one of my attributes/components, which was defined to be of an Int8 type, can’t be a NULL value. The error message was formatted strangely though: @AddPointCloudComponents: Parameter '<value>' has value '' which is invalid for component type 'Int8'.  Please ensure the specified value and type are compatible. No error or warning messages from the PointCloudCombiner.

Thanks ​@j.botterill 

 

This does not however explain why I can’t do the same action in the PointCloudCombiner with the Attributes to Preserve as Componenets option. According to the docs this should do exactly the same as the PointCloudComponentAdder. Any thoughts on this ​@DanAtSafe ?