I'm working on a QGIS plugin. I'm trying to join a vector layer and a non-spatial table both in Oracle spatial.
I add the vector layer to the map, but I can not add the table without geometry so i can join the layers. I have to pull it out and add in CSV format then I add it as CSV file, do I?
whyzar
12.1k23 gold badges41 silver badges72 bronze badges
1 Answer 1
I solved this by specifying None
in the geometric column:
uri.setDataSource('', 'TABLE',None,'','TABLE_ID')
Joseph
76.7k8 gold badges173 silver badges286 bronze badges
Explore related questions
See similar questions with these tags.
lang-py