Hi,

I'm try-ing to retrieve the list of fieldname from a spatialite table.
To do this I try this code:

dataset = "select * from table1"
ds = driver.Open(file,False)
layer = ds.ExecuteSQL(dataset,None,"SQLITE")
layer.ResetReading()
layerDef = layer.GetLayerDefn()
.....

In the last line I'm having an error.

Is the comand "GetLayerDefn" available on sqlite driver ?

Thx,

Andrea.


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to