Skip to main content
Solved

List duplicate remover garbles geometry attribute

  • October 10, 2013
  • 1 reply
  • 12 views

jakethepainter
Contributor
Forum|alt.badge.img+6
I'm using FME Desktop 2013 SP3 WIN32.  When I send a feature through the List Duplicate remover, the geometry attribute I'm storing (extracted as FME Binary)  to replace after I explode the list gets garbled.  For example, looking at the Data inspector for element 0 when I send it in I have this:

 

 

3149A883160060C2030DD6EF41418007135F18BE2041000000000000

 

 

and then after the duplicate remover I get this:

 

1I¨ƒ?` ÖïAA€_¾ A??????

 

 

Anyone have any ideas?  

Best answer by takashi

 

Hi,

 

 

The garbled string looks like decoded characters assuming the original string is representing hexadecimal character codes. This result might be natural when extracting the string as binary.

 

Hex. code --> Character (Latin-1 local?)

 

31 --> 1

 

49 --> I

 

A8 --> ¨

 

83 --> ƒ

 

16 --> <data link escape>

 

00 --> <null>

 

60 --> `

 

C2 --> Â

 

03 --> <end of text>

 

0D --> <carriage return>

 

...   If you need to get the original string, try these:

 

Read the original data as a string value (not as binary),

 

or

 

Use the BinaryEncoder (Encoding Type: HEX) to encode the garbled string.

 

Takashi
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

takashi
Celebrity
  • Best Answer
  • October 11, 2013

 

Hi,

 

 

The garbled string looks like decoded characters assuming the original string is representing hexadecimal character codes. This result might be natural when extracting the string as binary.

 

Hex. code --> Character (Latin-1 local?)

 

31 --> 1

 

49 --> I

 

A8 --> ¨

 

83 --> ƒ

 

16 --> <data link escape>

 

00 --> <null>

 

60 --> `

 

C2 --> Â

 

03 --> <end of text>

 

0D --> <carriage return>

 

...   If you need to get the original string, try these:

 

Read the original data as a string value (not as binary),

 

or

 

Use the BinaryEncoder (Encoding Type: HEX) to encode the garbled string.

 

Takashi