Skip to main content
Solved

List duplicate remover garbles geometry attribute

  • October 10, 2013
  • 1 reply
  • 10 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
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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
Influencer
  • 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

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