map.girl

Dissolve not dissolving. Syntax help please

Discussion created by map.girl on Apr 12, 2013
Latest reply on Apr 15, 2013 by mvolz47
I do not understand why this simple script won't work. I can get it to dissolve in model builder but not from a script that I run from inside the map document. My output results are 4 polygons, just like my input file. I only want one.

Any suggestions? Attached shapefile.

# Import arcpy module
import arcpy
from arcpy import env

# Local variables:
env.workspace="C:\\Test\\shapefiles"

infeatures = "Multipolys.shp"
outfeatures = "C:\\Test\\shapefiles\\Dissolve.shp"

# Process: Dissolve
arcpy.Dissolve_management(infeatures, outfeatures, "", "", "SINGLE_PART", "DISSOLVE_LINES")


ArcGIS 10.1 Advanced

Attachments

Outcomes