Re: [gdal-dev] Add coded field domains to file geodatabase

2022-04-16 Thread Even Rouault
It turns out that I needed that feature, hence https://github.com/OSGeo/gdal/pull/5620 Le 11/04/2022 à 19:33, Even Rouault a écrit : Adam, I've just clarified the doc to explain that it is read-only for the FileGDB driver. The FileGDB SDK itself seems to have support for writing too, but t

Re: [gdal-dev] Add coded field domains to file geodatabase

2022-04-11 Thread Even Rouault
Adam, I've just clarified the doc to explain that it is read-only for the FileGDB driver. The FileGDB SDK itself seems to have support for writing too, but this isn't implemented in the driver currently. Left as an exercise to the contributor as one says. Even Le 11/04/2022 à 19:13, adamg

[gdal-dev] Add coded field domains to file geodatabase

2022-04-11 Thread adamgutonski via gdal-dev
I am wondering how can one add a coded field domain to a file geodatabase using the FileGDB driver and File GDB API? Anytime I call AddFieldDomain it returns false: >>> coded_domain = ogr.CreateCodedFieldDomain("name", "desc", ogr.OFTString, >>> ogr.OFSTNone, {1:'LOW'}) >>> driver = gdal.GetDri