Python in Toolbox - Parameter ???

924
4
Jump to solution
08-05-2014 06:06 AM
JohannesBierer
Occasional Contributor III

If I have a python script in the Toolbox and want to have a Parameter Output as shape - what is it for a data type?

Feature Class - or something else ???

0 Kudos
1 Solution

Accepted Solutions
ToddUlery
Occasional Contributor

Hi Johannes,

One check:

Go over the spelling, location, special characters.... Just make sure it is all correct.

Second:

Feature Class to Shapefile there are some limitations that are present for shapefiles: (taken from ArcGis resources)

Shapefiles have many limitations compared to feature classes in a geodatabase. For example, shapefile attributes cannot store null values, they round up numbers, they have poor support for Unicode character strings, they do not allow field names longer than 10 characters, and they cannot store both a date and time in a field. Additionally, they do not support capabilities found in geodatabases such as domains and subtypes.

Third:

The Error is telling me OUTPUT FOLDER, but the print out is a path for a shapefile. This is not a folder. So if the output needs to be a folder location, not a shapefile. The Tool is looking for a folder to output the shapefile, not a shapefile that already exists.

Just a few things, but lets explore this more if you want.

View solution in original post

0 Kudos
4 Replies
JohannesBierer
Occasional Contributor III

FC =>

ERROR 000732: Output Folder: Dataset C:\Temp1\linienherkunft.shp ist nicht vorhanden oder wird nicht unterstützt.

Fehler beim Ausführen von (FeatureClassToShapefile).

0 Kudos
ToddUlery
Occasional Contributor

Hi Johannes,

One check:

Go over the spelling, location, special characters.... Just make sure it is all correct.

Second:

Feature Class to Shapefile there are some limitations that are present for shapefiles: (taken from ArcGis resources)

Shapefiles have many limitations compared to feature classes in a geodatabase. For example, shapefile attributes cannot store null values, they round up numbers, they have poor support for Unicode character strings, they do not allow field names longer than 10 characters, and they cannot store both a date and time in a field. Additionally, they do not support capabilities found in geodatabases such as domains and subtypes.

Third:

The Error is telling me OUTPUT FOLDER, but the print out is a path for a shapefile. This is not a folder. So if the output needs to be a folder location, not a shapefile. The Tool is looking for a folder to output the shapefile, not a shapefile that already exists.

Just a few things, but lets explore this more if you want.

0 Kudos
RiyasDeen
Occasional Contributor III

for feature class to shapefile output datatype is folder.

0 Kudos
JohannesBierer
Occasional Contributor III

Gracias - folder was the right answer ...

0 Kudos