Skip to main content
Question

Custom Transformer "ArcGISDissolver"

  • January 22, 2018
  • 1 reply
  • 9 views

Forum|alt.badge.img

Hi,

I have dataset which consists of about 40 millions parcels. Some of them have the same identifier and I would like to join them into one area (with dissolve lines). I would like to use custom transformer which is very similar to https://knowledge.safe.com/articles/47216/using-arcpy-for-fme-feature-processing.html. I have FeatureWriter, PythonCaller and FeatureReader Transformer and I have a problem with keeping attributes after FeatureWriter transformer because in the PythonCaller Transformer I would like to use Attribute Accumulation (…”AREA SUM; CITY FIRST; POSTCODE FIRST; COUNTRY FIRST”…). I will need these information as a final score. Maybe is here someonebody who could help me?

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.

1 reply

Forum|alt.badge.img
  • February 27, 2018

Hi,

Got the right format, Just change the last bit of the python code from :

arcpy.Dissolve_management(inFeatures, outFeatureClass, dissolveFields, "", "MULTI_PART", "DISSOLVE_LINES")

to

arcpy.Dissolve_management(inFeatures, outFeatureClass, dissolveFields, "AREA SUM; CITY FIRST; POSTCODE FIRST; COUNTRY FIRST", "MULTI_PART", "DISSOLVE_LINES")

as shown in:

http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/dissolve.htm