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

Stefan Keller sfkeller at gmail.com
Wed Jan 7 09:03:29 PST 2015


2015-01-07 16:39 GMT+01:00 Even Rouault <even.rouault at spatialys.com>:

> Hum I don't think so.

Ok. And what about accessing it with Python GDAL/OGR API?

--S.

P.S.
> Anyway interesting small enhancement to potentially sponsor.
Right. Perhaps Esri could step in ;-)


2015-01-07 16:39 GMT+01:00 Even Rouault <even.rouault at spatialys.com>:
> Le mercredi 07 janvier 2015 16:20:46, Stefan Keller a écrit :
>> Hi Mike
>>
>> Thanks! That ticket is very insightful.
>>
>> I'm not sure though if there is already an agreement there about the
>> best solution inside OGR code.
>>
>> In the meantime: Am I correct that there's an immediate solution by
>> defining an query against table DipCategories of a FileGDB file with
>> ogr2ogr (-sgl "select ")?
>
> Hum I don't think so. The suggestion in the ticket was to enhance the drivers
> to expose the XML as a OGR layer and do a join. Or to do optional expansion of
> the code into their descriptions. Another less ad-hac approach would be to
> extent the recently added subtyping field mechanism to model such enumerated
> fields and then have an option in ogr2ogr to do the expansion.
> Anyway interesting small enhancement to potentially sponsor.
>
> Even
>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com


More information about the gdal-dev mailing list