[gdal-dev] OGR: How to access Coded Value Domains in File Geodatabases?

Mike Toews mwtoews at gmail.com
Tue Jan 6 17:44:16 PST 2015


Hi Stefan,

I found this issue too and wrote an enhancement ticket:
http://trac.osgeo.org/gdal/ticket/5741

The only workaround appears to be lots of work. The GDB_Items table
(a00000004.gdbtable) can be read with OGR, where the code/value pairs
are in attributes of XML code, which can be used to either hash the
values or do an SQL JOIN.

-Mike

On 7 January 2015 at 14:20, Stefan Keller <sfkeller at gmail.com> wrote:
> Hi,
>
> ArcGIS offers "Coded Value Domains" (short: "coded domain") to specify
> a valid set of values (code+description) for an attribute [1].
>
> Any clues on how to access this information using ogr2ogr, i.e. how to
> export this to a separate table when converting e.g. from a ESRI File
> Geodatabase (OpenFileGDB, .gdb directories) to Spatialite or
> GeoPackage?
>
> Yours, S.
>
> [1] http://resources.arcgis.com/en/help/main/10.1/index.html#//001s00000001000000


More information about the gdal-dev mailing list