I'm using ArcGIS Desktop 10.3. My workspace parameters are set correctly, to the geodatabase with all the other feature class files. When I run the Clip tool, it adds an extra ".shp" to the output filename, and then gives me the error that the output name contains invalid characters (the period).
I've tried deleting the .shp in the name before running. I've tried running the tool in Arcpy, with the same result.
The data I'm clipping is from a state agency, gis shapefile made publicly available.
Any ideas what to try next?
Solved! Go to Solution.
I don't have 10.3.0 to test, but checked it with 10.3.1 and it worked as expected. Are you using the clip_analysis tool? Clip—Help | ArcGIS for Desktop
# Replace a layer/table view name with a path to a dataset (which can be a layer file) or create the layer/table view within the script # The following inputs are layers or table views: "GMU", "ClipPoly" arcpy.Clip_analysis(in_features="GMU", clip_features="ClipPoly", out_feature_class="C:/_temp/clippedGMU.shp", cluster_tolerance="")
Some things to check:
Check those things out and see if that fixes it. If you are still getting a double .shp, give a snapshot of the command window and hoe you have it filled out. Although I tested in 10.3.1, I had 10.3.0 for quite a while and don't remember any issues, just fyi.