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 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.roua...@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 _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev