Skip to main content
Question

Grouping of points within 30 meters and generate polygon.

  • May 22, 2017
  • 5 replies
  • 166 views

I wanted to generate polygon by grouping points within 30 meters together and form polygon from it.

I need help as urgent as possible.

Thanks

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.

5 replies

  • Author
  • May 22, 2017
@itay

 

@davidpack

 

@david_r

 


david_r
Celebrity
  • May 23, 2017

Lots of ways to do it (as usual with FME), here's one suggestion:

  1. Read the CSV and specify the lon-column as the x attribute, the lat-column as the y attribute in the CSV reader
  2. Reproject the points to a meter-based coordinate system, such as EPSG:91009 (web mercator) using the CsmapReprojector
  3. Use the NeigborhoodAggregator with a 30x30 meter box, specifying a minimum of 3 points.
  4. HullReplacer to convert the point aggregate to a polygon

You might also want to use a GeometryValidator and/or GeometryFilter to filter out any polygons that are actually lines.

Sample result:

And if you're wondering why it's a bit quiet on the forum this week: https://fmeuc.com/ :-)


takashi
Celebrity
  • May 24, 2017

Hi @f1, for example, if the distances between point A and B, B and C were less than 30m but the distance between A and C was greater than 30m, how should you group them?


  • Author
  • May 24, 2017

Hi @f1, for example, if the distances between point A and B, B and C were less than 30m but the distance between A and C was greater than 30m, how should you group them?

 

Hi @takashi this is part of what I ne

 


takashi
Celebrity
  • May 24, 2017

Hi @f1, for example, if the distances between point A and B, B and C were less than 30m but the distance between A and C was greater than 30m, how should you group them?

A basic idea. If you create circular areas those centers are the source points and the radius of them is 15 meters, you can merge overlapped circles to make areas each of which contains points belonging to a group. The 2DEllipseReplacer and the Dissolver help you to do that.