Question

Character missing at attribute value after FGDB reader

  • 10 February 2015
  • 3 replies
  • 1 view

Badge +11
Hi guys!

 

 

I just encountered a strange behaviour from Esri File Geodatabase Reader (ArcObjects). I'm reading the attribute "UUID" that contains values like "{44AA3BB5-269B-4157-A43A-4A371D39AAA6}". When I read the FGBD into FME (2014 SP2) the value of UUID attribute is only "44AA3BB5-269B-4157-A43A-4A371D39AAA6". Has anybody an idea where the "{ }" have gone, and is there a parameter to avoid automatic change of the attribute value?

 

 

Thanks for your help

 

whkarto

3 replies

Badge +3
Guids are indeed somethimes written without the braces.

 

FME does not remove them if they are present (AFAIK).

 

 
Badge +11
This is the situation in ArcGIS

 

 

 

And this is what I get in FME

 

 

 

Obviously FME removed the bracets.
Userlevel 4
Hi,

 

 

UUIDs are not stored as strings in the database, they are in fact stored as a 128-bit value. What you see in ArcCatalog is simply a hexadecimal string representation of these integers with some added dashes for readability. So far this is pretty standard. ESRI has also opted to display them with brackets, where as Safe has opted to display the UUID values without brackets.

 

 

Both representations are equally valid, so what you're observing is not an error, simply a difference in representation of an internal binary value.

 

 

More reading:

 

David

Reply