Input Layer Dissolve field = "Dissolve"
After Dissolve
Parameters
Expression | Explanation |
---|---|
Function Name | DissolvePolygons |
<input dataset> | A String representing the input layer. Must be of Polygon type. |
<output dataset> | A String - the full name of the output layer. |
{Dissolve Fields} | A String representing a list (separated with ";") with the field names to be used for dissolving. |
{Statistic Fields} | A String representing a list (separated with ";") with the field names for which statistics will be created. Example: "Field1 Sum;Field2 Max;Field3 Min" |
{Create Multiparts} | A Boolean indicating whether the function will create multipart polygons. |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")
Language | Syntax |
---|---|
Python | subprocess.call([ETGWPath, "DissolvePolygons", "input dataset", "output dataset", "Dissolve Fields", "Statistic Fields", "Create Multiparts"]) |
.NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "DissolvePolygons" "input dataset" "output dataset" "Dissolve Fields" "Statistic Fields" "Create Multiparts" |
.NET using ETGWOutX.dll | DissolvePolygons(input dataset, output dataset, Dissolve Fields, Statistic Fields, Create Multiparts) |
ArcPy | arcpy.DissolvePolygons(input dataset, output dataset, "Dissolve Fields", "Statistic Fields", "Create Multiparts") |
Notes:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.