Skip to main content
Solved

Generalise Points - Convert Multiple Points to Single Points based on proximity and attributes.


Hello, I have a point shapefile containing every aeronautical obstruction in the UK above 80ft. I am working with Largescale mapping and need to generalise the points so as not to clutter the chart. I need to merge multiple points into single points based on their proximity to each other and other attributes. Then create a new attribute stating that the new point is now a 'Multipoint'. Additionally I will need to retain the metadata of the highest obstruction of the generalised points.

Thank you very much in advance for any assistance you can provide.

@1spatialdave

Best answer by erik_jan

The transformer you want to have a look at is the NeighborhoodAggregator.

Set a maximum area size (proximity) and the Group by (attributes that need to be the same).

Then generate a list and sort that list (ListSorter) by height descending to get the attributes from the highest structure.

Finally use the CenterPointReplacer to replace the aggregate points by the Center point.

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

4 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • October 18, 2017

The transformer you want to have a look at is the NeighborhoodAggregator.

Set a maximum area size (proximity) and the Group by (attributes that need to be the same).

Then generate a list and sort that list (ListSorter) by height descending to get the attributes from the highest structure.

Finally use the CenterPointReplacer to replace the aggregate points by the Center point.


erik_jan wrote:

The transformer you want to have a look at is the NeighborhoodAggregator.

Set a maximum area size (proximity) and the Group by (attributes that need to be the same).

Then generate a list and sort that list (ListSorter) by height descending to get the attributes from the highest structure.

Finally use the CenterPointReplacer to replace the aggregate points by the Center point.

How would you set a maximum area size using NeighborhoodAggregator?

 

 


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • October 19, 2017
stanrussellaidu wrote:
How would you set a maximum area size using NeighborhoodAggregator?

 

 

Using the (red) parameters of Width and Height.

 

 


david_r
Evangelist
  • October 19, 2017
stanrussellaidu wrote:
How would you set a maximum area size using NeighborhoodAggregator?

 

 

Be aware that the area height and width values are in ground units of your coordinate system. Meaning that if your coordinate system is in meters, the values are interpreted as meters, etc.

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