Skip to main content
Solved

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

  • October 18, 2017
  • 4 replies
  • 99 views

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.

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.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • 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.


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+22
  • Contributor
  • 2179 replies
  • October 19, 2017
How would you set a maximum area size using NeighborhoodAggregator?

 

 

Using the (red) parameters of Width and Height.

 

 


david_r
Celebrity
  • 8394 replies
  • October 19, 2017
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.