Saturday, 22 September 2018

arcgis desktop - Split By Attributes creates no Shapefiles?


I want to create for each polygon of a shapefile a separate shapefile with the Split By Attributes tool. Input is a polygon shapefile and as split field I choose the ID. This tool works fine but in the results I cant find any shapefile, only .dbf , .dbf.xml and .cpg. But why is there no .shp?


As output I tried a workspace and a geodatabase, both didn't worked.


enter image description here


enter image description here


enter image description here



Answer



Your problem is that you use a Shapefile as an input.


Although this is a type of feature class, the Split by Attributes tool will treat this as a table. To fix this you will need to make sure that your input is in a geodatabase, either by:




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...