Hi List,<br><br>  I have been trying to transform some FileGDB databases with OGR and have run into a problem reading a specific field called "GlobalID". The field simply cannot be read by OGR, which emits this warning (and the field is left as NULL):<br>
<span class="922075013-01112012"></span><br>ERROR 1: Error: Failed to determine string value for column GlobalID (The value type is incompatible with the field type.)<br><br>Have run into the problem both programatically using the OGR C-API, the python bindings and also issuing commands like:<br>
<br>ogr2ogr -f SQLITE -dsco SPATIALITE=YES out.sqlite in.gdb layer_name<br><br>(Gdal version 1.9.1)<br><br>Have attached a screendump which displays what the field is supposed to look like.<br><br>Hope that someone can provide a hint on how to deal with this!<br>
<br>Cheers,<br>Simon Kokkendorff, National Survey and Cadastre of Denmark<br><br><br>The ArcGis resources describe the GlobalID field like this:<br><br>   <span class="922075013-01112012">
<h2 class="section1">Global identifiers</h2>
<p class="section1" id="GUID-61D61115-36EF-48BD-8E06-37DA15B33E6D">Global ID and GUID data types store registry style strings 
consisting of 36 characters enclosed in curly brackets. These strings uniquely 
identify a feature or table row within a geodatabase and across geodatabases. 
This is how features are tracked in one-way and two-way geodatabase replication. 
Developers can use them in relationships or in any application requiring 
globally unique identifiers. In a relationship, if a Global ID field is the 
origin key, a GUID field must be the destination key. You can add global IDs to 
a dataset in a geodatabase by right-clicking it in the Catalog tree and clicking 
<span class="uicontrol">Add Global IDs</span>. The geodatabase will then maintain 
these values automatically. You can create the GUID field as well, but you must 
maintain its values.</p>
<p class="section1" id="GUID-9D37AD18-A32D-4FEC-B6E7-0839F38EB79B">Databases with a native GUID data type, such as personal 
geodatabases and Microsoft SQL Server, store global ID and GUID values as 16 
bytes. Databases without a native GUID data type store them as 38 bytes.</p></span>