Skip to main content
Solved

Writer truncates attribute values


umapper1
Contributor
Forum|alt.badge.img+5

warnings2warnings1writer tab2writer tab1Hi community, I could use some help.

I'm reading an xml, doing some geometric and attribute manipulation before writing out to OGCgeopackage format. I'm having trouble with the writer truncating the attribute values. My understanding is that by default, FME takes the character width from the reader however this seems to be too short for my final values so I've switched over the attribute definition from automatic to manual in the writer and increased the width. It seems to be ignoring this and coming up with a lot of warnings. Anyone know how to fix? Images attached.

Best answer by ebygomm

Have you tried changing the Table Handling to drop and create? Currently it is set as create if needed, so it looks like the table probably already exists without the changed attribute widths. Hence the warnings

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

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • Best Answer
  • August 14, 2020

Have you tried changing the Table Handling to drop and create? Currently it is set as create if needed, so it looks like the table probably already exists without the changed attribute widths. Hence the warnings


umapper1
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 14, 2020
ebygomm wrote:

Have you tried changing the Table Handling to drop and create? Currently it is set as create if needed, so it looks like the table probably already exists without the changed attribute widths. Hence the warnings

Your a star @ebygomm​ ! That was the issue ;)

Explains why it worked the first time and then stopped working after that too.


Reply


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