Skip to main content
Solved

Increment from a starting value until reaching another value


sami26beniaouf
Contributor
Forum|alt.badge.img+7

Hello FME Experts,

I am working on processing a point cloud and need to create height-based sections to later filter the point cloud accordingly. Here is my goal:

  1. Extract the minimum and maximum height of the point cloud (already done).
  2. Create sections every 1m, starting from the minimum height up to the maximum height.
  3. For each section, create a buffer of ±0.5m (so each section spans 1m).
  4. Finally, filter the point cloud to extract the slices based on these buffers.

My idea is to extract the Bounding box of the pointcloud, extrude it 0.5m lower, and then slice it starting from bottom every 1m until reaching zmax, and use them with Clipper.

How can i slice this bounding box?

I thought about creating a new attribut Number of slices = zmax - zmin and then use it as increment? or is there a simpler solution?

 

Thank you for your help

 

Best answer by ebygomm

I think getting the footprint of the point cloud, offsetting it for each 1m height, then extruding those would be an easier way to create your boxes, than slicing the bounding box

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • March 10, 2025

I think getting the footprint of the point cloud, offsetting it for each 1m height, then extruding those would be an easier way to create your boxes, than slicing the bounding box


sami26beniaouf
Contributor
Forum|alt.badge.img+7

Thank you ​@ebygomm

I did this and for the increment i cloned the footprint and used a counter’s index to offset each with the right distance


Reply


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