1

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?

2

I solved this by specifying None in the geometric column:

uri.setDataSource('', 'TABLE',None,'','TABLE_ID')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.