Question

Filter entities by square meters.

  • 31 October 2021
  • 4 replies
  • 2 views

Badge +5

Hello everyone!

I'm pretty sure it's a simple problem, but I could not resolve the matter.

We have a dxf file of cloud points, very loaded with points.

I want to do generic filtering by square meter.

For example he would leave me 4 points per square meter.

All the transformers of the point clouds do not work for me, and even if I do, I do not know with what method to do it.

Would appreciate help!

Thanks!


4 replies

Userlevel 4
Badge +30

Hi @dor1411993​ 

Have you try the custom transformer SpatialSorter?

Thanks in Advance,

Danilo​

Badge +5

Het Danilo,

Thanks for answering me!

What should I do in SpatialSorter?

 

PS_1 

Userlevel 4
Badge +26

Your best bet might be to convert your point cloud to a raster? - you can try the NumericRasterizer. If you set the cell size to 0.5 you should get 4 points per square meter I think (but it might depend on the resolution of the points). Part of the problem here though is that this only really works if you want to preserve the z coordinate of the point cloud. If you have other info in the point cloud like intensity or classification then this would get lost.

 

Another tool which might suit you better is the custom transformer called the PointCloudDuplicateRemover. This should let you set a spatial resolution for the 'duplicates' so here you can also use 0.5 (I think) as the resolution.

Userlevel 4
Badge +25

I think one easy way is to split the point cloud into 1m sections and then start to remove points.

 

  • Use a 2DGridCreator transformer to create a grid
  • Use a Clipper to clip the point cloud using the grid squares as the Clipper features
  • Use a PointCloudThinner to thin each item to 4 points

Reply