Skip to main content

I have a shapefile with a few thousand points. I would like to be able to remove points that are too close or overlapping on each other.

 

Usually, the points should be at a minimum of 1 meter of each other. If I have points that are exactly at the same coordinates or within let's say 0.8 meter, I would like to keep only the point with the lowest value into the OBJECTID attribute.

 

Any idea of which transformer I should use ?

 

Thank you.

 

Mathieu.

Hey @mlupien​ ,

I've made a quick workspace to help you. It's not optimized, but I hope it will help you!

Here is my methodology :

 

  1. Create a buffer of 1 meter
  2. Perform a PointOnAreaOverlayer and create a list to obtain the ID of all the points which are grouped together within a radius of 1m
  3. Identify the point with the smallest ID within the 1 meter radius
  4. Managing the duplicate and keep only the smallest point ID

 

There are many other ways to make this, but I think this one can work. Also, I don't know what you want to do when this situation happens :

 

Example 

Sorry for my mediocre talents with paint... And hope that will help!

 

Théo Drogo

GIS consultant​ @Consortech PartnerPortalLogin​ 

 


@mlupien​ here is my sample data... sorry I forgot to put them on the previous message!


Looks to be exactly what I was looking for !!

Thank you !

I will integrate this into my workbench and see what it looks like.


Thank you @theodrogo​ !

It did the job !

I will use this into some other workbenches to cleanup data.


@mlupien​ 

I'm glad it worked!

 Have a good day (and a good data cleaning 😄)!


Reply