Skip to main content

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

@itay

 

@davidpack

 

@david_r

 


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/ :-)


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 @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

 


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.

Reply