<div dir="ltr"><div>Saek;</div>I tried the suggestions with no luck, then decided to try a rename, the table now it works. Apparently spatilite does not like the name wmain for a table name. I could only get it to work by adding an extension, I am assuming there is a corruption somewhere and the database cannot agree if the table exists or not.<div>Any thoughts on why this occurred?</div><div>Tyler</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 30, 2016 at 7:31 PM, Tyler Veinot <span dir="ltr"><<a href="mailto:tylerkveinot@gmail.com" target="_blank">tylerkveinot@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks I will try that in the morning<br><br>Sent from my Bell Sony device over Canada’s largest network.<br><br>---- SaekBinko wrote ----<div class="HOEnZb"><div class="h5"><br><br>Hi,<br><br>Try to recover geometry typing a command<br><br>SELECT RecoverGeometryColumn('[1]', 'Geometry', [2], '[3]', 'XY');<br><br>Where:<br>[1] - table name<br>[2] - epsg code<br>[3] - geometry type<br><br>I had similar problem some time ago, and recovering geometry helped me.<br><br><br>Also try to open that Spatialite database in Spatialite GUI - nice app to<br>perform some actions using Spatialite.<br><br><br><br>--<br>View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Spatilite-and-QGIS-issue-tp5283146p5283153.html" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/Spatilite-and-QGIS-<wbr>issue-tp5283146p5283153.html</a><br>Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>______________________________<wbr>_________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a></div></div></blockquote></div><br></div>