Skip to main content
Question

Dissolve polygons

  • September 27, 2022
  • 5 replies
  • 15 views

dxirgu
Contributor
Forum|alt.badge.img+4

Hello,

I need to do a simple operation in any GIS software, like QGIS, but I can't replay it in FME, and then load this data on ArcGIS Server.

 

For example, I have two polygons with the same code (two rown in a data base) and I need to fusion them into a single one, using a common attribute, the code. The result would be two geometries and only one row into database. 

 

If I use Aggregator transformer, checking group by this attribute, apparently the result is ok, but output a geometry collection don't load to ArcGIS Server. I tried to use GeometryCoercer, after the output port of Aggregator transformer, but it didn't work. 

 

So, can someone help me?

 

Thanks!

5 replies

danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • September 27, 2022

Hi @dxirgu​ 

 

Did you try to use the transformer Dissolver?

 

 


dxirgu
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • September 27, 2022
danilo_fme wrote:

Hi @dxirgu​ 

 

Did you try to use the transformer Dissolver?

 

 

Hi @danilo_fme,

Yes, I tried, but output got more polygons than input.

Maybe I configured in a wrong way.


danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • September 27, 2022
dxirgu wrote:

Hi @danilo_fme,

Yes, I tried, but output got more polygons than input.

Maybe I configured in a wrong way.

Inspector


dxirgu
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • September 28, 2022
dxirgu wrote:

Hi @danilo_fme,

Yes, I tried, but output got more polygons than input.

Maybe I configured in a wrong way.

Hi,

thanks for your help, but it didn't work, with this config.

imageOutput features get more features than incomming. In the next image, the correct number of features is from output port of Aggregator transformer.

image


dxirgu
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • October 21, 2022

Finally, I found out a solution. I used GeometryRefiner transformer after Aggregator transformer, to solve my problem. This worked for me.


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