Skip to main content
Solved

Increment from a starting value until reaching another value

  • March 10, 2025
  • 2 replies
  • 65 views

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

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.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+45
  • 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
  • Author
  • Contributor
  • March 11, 2025

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