Skip to main content
Question

Split polygon into smaller polygons based on number of vertices

  • April 28, 2022
  • 4 replies
  • 319 views

od10
Contributor
Forum|alt.badge.img+4
  • Contributor
  • 11 replies

Hello,

 

Could someone provide some information on how i would go about breaking apart a polygon based on the number of vertices the polygon has. It has to be similar to the ST_Subdivide postgis function. This function breaks the polygon into smaller polygons at right angles.

 

@Takashi Iijima​ @davidmelanconasters​ 

4 replies

Forum|alt.badge.img+2
  • 1891 replies
  • April 28, 2022

@od10​  Try the Chopper transformer. There is also a GridChopper on FME HUB


  • 1 reply
  • April 28, 2022

@Mark Stoakes​ It looks like Chopper does the job in terms of splitting the polygons by number of vertices however it doesn't create vertices inside the chopped polygon like the ST_Subdivide does. Is there any way of getting the same output easily in FME?ST_Subdivide


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • 2252 replies
  • April 29, 2022

topologybuilder?


Forum|alt.badge.img+2
  • 1891 replies
  • April 29, 2022

@Mark Stoakes​ It looks like Chopper does the job in terms of splitting the polygons by number of vertices however it doesn't create vertices inside the chopped polygon like the ST_Subdivide does. Is there any way of getting the same output easily in FME?ST_Subdivide

@bocaj​ I think the GridChopper is the closest we have to that. It is a custom transformer so it might be possible to modify that to give a better results