Skip to main content
Question

Grouping of points within 30 meters and generate polygon.


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

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
Influencer
  • 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
takashi wrote:

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
Influencer
  • May 24, 2017
takashi wrote:

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.

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