Skip to main content
Question

Filter entities by square meters.

  • October 31, 2021
  • 4 replies
  • 13 views

dor1411993
Contributor
Forum|alt.badge.img+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

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2076 replies
  • November 1, 2021

Hi @dor1411993​ 

Have you try the custom transformer SpatialSorter?

Thanks in Advance,

Danilo​


dor1411993
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 39 replies
  • November 1, 2021

Het Danilo,

Thanks for answering me!

What should I do in SpatialSorter?

 

PS_1 


virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • November 1, 2021

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.


mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • November 5, 2021

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