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

2015-01-13 Thread Stefan Keller
I'd like to support mwtoews proposal to expose a coded value domain as a simple lookup table. -S. 2015-01-07 18:03 GMT+01:00 Stefan Keller sfkel...@gmail.com: 2015-01-07 16:39 GMT+01:00 Even Rouault even.roua...@spatialys.com: Hum I don't think so. Ok. And what about accessing it with Python

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

2015-01-07 Thread Stefan Keller
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

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

2015-01-07 Thread Even Rouault
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

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

2015-01-07 Thread Stefan Keller
2015-01-07 16:39 GMT+01:00 Even Rouault even.roua...@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

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

2015-01-06 Thread Mike Toews
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 (a0004.gdbtable) can be read with OGR, where the code/value pairs are in attributes of XML code, which can be used to

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

2015-01-06 Thread Stefan Keller
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