I've been using the new FileGDB support in gdal-1.9.0 to create file geodatabases that can be opened in ArcGIS. For example (I'm doing this all on one line, so I'm not certain this will run as indented here):
ogr2ogr -overwrite -f 'FileGDB' \
-sql "SELECT
CAST(gml_id AS character(255)), id,
CAST(scene_id AS character(255)),
CAST(license_type AS character(255)),
CAST(url AS character(255))
FROM SDMI_Inventory" \
sdmi_inv.gdb \
WFS:"http://wfs.alaskamapped.org/inventory"
This worked great until 10.0 Service Pack 4, at which point ArcMap / ArcCatalog started reporting errors similar to this when you try to add / preview the layer:
Error opening feature class
The item does not have a definition. [SDMI_Inventory]
The item does not have a definition.
The XML being loaded could not be parsed. [physical name: SDMI_INVENTORY]
The item does not have a definition.
The XML being loaded could not be parsed. [physical name: SDMI_INVENTORY]
I've got the latest (1.2) API and the latest GDAL (1.9.0), x86_64 GNU/Linux.
Anyone have any ideas how to get this to work again?