Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Copy Tables or Features Classes changes fieldnames that exceeds length of 28?!

$
0
0
Since 10.0 SP4 (until 10.1 SP1) i can't use arcpy.CopyRows_management or arcpy.CopyFeatures_management
with fieldnames that exceeds 28 characters.

These fieldname were change. Here some examples:

Code:

aaaaaaaaaaaaaaaaaaaaaaaaaa28    aaaaaaaaaaaaaaaaaaaaaaaaaa28        everything OK
aaaaaaaaaaaaaaaaaaaaaaaaaaa29    aaaaaaaaaaaaaaaaaaaaaaaaaaa2_20      wrong name
aaaaaaaaaaaaaaaaaaaaaaaaaaaa30  aaaaaaaaaaaaaaaaaaaaaaaaaaaa_21      wrong name
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa31  aaaaaaaaaaaaaaaaaaaaaaaaaaaaa_22
            wrong name

The number after the underscore seems to be the field-id.

FGDB to FGDB works but FGDB to ArcSDE (on SQL Server) doesn't!
Copy the data with ArcCatalog works.


Is this a known bug?
Is there a workaround or patch?

Viewing all articles
Browse latest Browse all 2485

Trending Articles