Closed GoogleCodeExporter closed 9 years ago
Solved in QSpatiaLite v 6.0.6
Please let me know if it's not the case
Original comment by romain.r...@gmail.com
on 25 Feb 2013 at 11:51
I have upgraded to v6.0.6.
Unfortunately there is no change to behaviour - exactly as previously reported.
In my case this issue is not fixed.
Thank you for taking the time to look into this. I hope you will be able to get
this to work.
Original comment by chris.yo...@gmail.com
on 27 Feb 2013 at 10:20
I can't reproduce this error at home.
Would you send me an example of your DB and SQL query ?
(Try to re-instal QSpatiaLite, because i've uploaded it twice, and you might
have the wrong version )
Original comment by romain.r...@gmail.com
on 28 Feb 2013 at 7:41
Try to add a primary key named "PKUID" to your Spatial Table.
I think this migth be the problem.
To load a spatial layer in QGIS, you must provide a Primary Key.
And the default in QSpatiaLite is "PKUID".
Original comment by romain.r...@gmail.com
on 28 Feb 2013 at 7:57
Hi,
Thanks. I have reinstalled the plug-in, which made no difference... HOWEVER...
Your suggestion about PKUID was the key (so to speak!). I already had the PKUID
primary key in my spatial table but I had not called it in the query. So as an
experiment I added the PKUID from my spatial table to the query and it worked!
Maybe this would be obvious to others, but it wasn't to me. It makes sense why
the other options worked - they created a PKUID in the new spatial table, which
was then loaded into QGIS. So this might be worth adding to any documentation -
that any query must include the primary key(s) from the spatial table(s) as
well as the geometry field in order to load directly into QGIS.
Thank you very much for your help with this. You are much appreciated.
Kind regards
Chris
Original comment by chris.yo...@gmail.com
on 28 Feb 2013 at 1:08
Great !
i'll try to find a solution to make it mors explicit for user
Original comment by romain.r...@gmail.com
on 28 Feb 2013 at 2:37
Original issue reported on code.google.com by
chris.yo...@gmail.com
on 11 Feb 2013 at 10:07