[gdal-dev] Writing Coded Domain Values from GDAL
gane.prog at gmail.com
Wed Dec 23 23:08:20 PST 2015
I just figured out the issue, I tried to see that the C.D.V are created on
the layer, but for XML with C.D.Vs the layer returned was NULL.
However it worked for XML without C.D.V values. Filegeodb API says that
call for geodatabase->createTable will ignore C.D.Vs
On Thu, Dec 24, 2015 at 12:13 PM, Gane R <gane.prog at gmail.com> wrote:
> 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
> On Tue, Dec 22, 2015 at 6:21 PM, Even Rouault <even.rouault at spatialys.com>
>> 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
>> > 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
>> In this test, the value of XML_DEFINITION is set to the content of
>> It doesn't test Coded Domain Values though , so I'm not completely sure
>> will work if you had C.D.V in it.
>> Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev