Skip to main content
Solved

Error message when converting four shapefiles into one FGDB.


arash_hokm
Contributor
Forum|alt.badge.img+8

Error message when converting four shapefiles into one FGDB. Error consists of:

An error occurred while attempting to create the feature class 'SB_Aussenkasten'. The error number from ArcObjects is: '-2147220649'. The error message from ArcObjects is: {Cannot create double column table.}

CraeteFGDBI would be thankful. if someone could tell me what the problem is.

Thanks very much.

 

 

Best answer by nielsgerrits

The source (SB_Aussenkasten) apparently has the attributes "BAUTEILNUM" and "Bauteilnum".

 

This can happen if you have multiple shapes with the same names in different folders.

 

In a GDB featureclass columns are not case sensitive and this is not allowed as these are seen as the same. So you need to fix that or rename one of them before writing to gdb.

 

You can do this using an AttributeRenamer, rename "BAUTEILNUM" to "Bauteilnum".

 

If you have a lot of columns you also can use a BulkAttributeRenamer to change all columns to lowercase.

View original
Did this help you find an answer to your question?

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • January 12, 2022

The source (SB_Aussenkasten) apparently has the attributes "BAUTEILNUM" and "Bauteilnum".

 

This can happen if you have multiple shapes with the same names in different folders.

 

In a GDB featureclass columns are not case sensitive and this is not allowed as these are seen as the same. So you need to fix that or rename one of them before writing to gdb.

 

You can do this using an AttributeRenamer, rename "BAUTEILNUM" to "Bauteilnum".

 

If you have a lot of columns you also can use a BulkAttributeRenamer to change all columns to lowercase.


arash_hokm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • January 12, 2022
nielsgerrits wrote:

The source (SB_Aussenkasten) apparently has the attributes "BAUTEILNUM" and "Bauteilnum".

 

This can happen if you have multiple shapes with the same names in different folders.

 

In a GDB featureclass columns are not case sensitive and this is not allowed as these are seen as the same. So you need to fix that or rename one of them before writing to gdb.

 

You can do this using an AttributeRenamer, rename "BAUTEILNUM" to "Bauteilnum".

 

If you have a lot of columns you also can use a BulkAttributeRenamer to change all columns to lowercase.

@nielsgerrits​ Many thanks for your help. I also have other question about creating relationship between Excel spreadsheet and FeatureClass in an FGDB. i will ask in other post.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings