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?

whyzar
12.1k23 gold badges41 silver badges72 bronze badges
asked Nov 10, 2016 at 21:17
0

1 Answer 1

2

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
answered Nov 11, 2016 at 14:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.