Using ArcGIS 10.2 for Desktop, I have some Shapefiles which I have no idea why their Geometry column (shape) contain ZM! now I need to remove all those
ZM and get a clean polygon instead.
I thought I can use the
FeatureClassToShapefile_conversion() but not sure how to
Output has Z Values and
Output has M Values through following ArcPy
# Import system modules import arcpy from arcpy import env # Set environment settings env.workspace = "C:/data" # Set local variables inFeature = ["climate.shp"] outLocation = "C:/output" arcpy.FeatureClassToShapefile_conversion(inFeatures, outLocation)