2

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

  • 3
    If you want shapefiles, your Target Workspace will need to be a folder – BERA Apr 16 '18 at 12:19
  • @BERA I tried both: like cou can see in the Folder above there are no shapefiles. – David Apr 17 '18 at 6:25
1

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:

4

Your target workspace appears to be a file geodatabase, which means your output will be feature classes. Open the Target GDB in Catalog/ArcMap and you will see the split attributes as single Feature Classes.

The documentation for the tool states the outputs are either feature classes or tables

enter image description here

http://desktop.arcgis.com/en/arcmap/latest/tools/analysis-toolbox/split-by-attributes.htm

Should you really desire to output Shapefiles, you can add the Feature Class To Shapefile (Conversion) tool to your model.

  • But when I want to open the target GDB there are only tables and not a single shapefile. – David Apr 16 '18 at 12:20
  • 1
    @David You need to use Catalog to look inside the GDB. Split by Attributes will create multiple feature classes (or shapefiles if your output workspace is a folder), that is what the tool is made to do. You should never get a single feature class or shapefile if you use it the right way – BERA Apr 16 '18 at 12:27
  • @BERA Okay I tried to look in the GDB via Arc Catalog but also there are only tables and no shapefile – David Apr 17 '18 at 6:28
  • Have you checked your input shapefile to make sure it looks correct? – Dan Apr 17 '18 at 6:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.