I saw the python example, I tried load the xml and used XML_DEFINITION on layer creation option, I get runtime crash, I guess I am wrong some where
I loaded the XML and created a buffer XML_DEFINITION=xmlcontent and sent in the layer creation options ? any suggesion or code snippets already working will be of great help Gane _ On Tue, Dec 22, 2015 at 6:21 PM, Even Rouault <even.roua...@spatialys.com> wrote: > Le mardi 22 décembre 2015 12:46:29, Gane R a écrit : > > I tried to read the coded domain values from GDAL, I used special sql > > requests from GDAL as described in FileGeoDB driver. I got the values in > > the XML format. > > > > Is it possible to write coded domain values from GDAL using special sql > > request. > > I saw that it was possible from ESRI filegeodb API, can this be done from > > GDAL itself. > > You could likely do it by using the XML_DEFINITION layer creation option. > > It is for example used by ogr_fgdb_11() in > https://svn.osgeo.org/gdal/trunk/autotest/ogr/ogr_fgdb.py > > In this test, the value of XML_DEFINITION is set to the content of > > https://svn.osgeo.org/gdal/trunk/autotest/ogr/data/test_filegdb_field_types.xml > > It doesn't test Coded Domain Values though , so I'm not completely sure > this > will work if you had C.D.V in it. > > 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