Re: [Qgis-user] QGIS unable to access Spatialite tables.

2024-02-22 Thread Andrea Giudiceandrea via QGIS-User

Brent Wood Brent.Wood at niwa.co.nz
Thu Feb 22 17:54:46 PST 2024



However, opening the same table (or an SQL on that table) results in an error 
message about an invalid layer, but no further or useful diagnostic info.
Can anyone suggest a possible cause or solution?


Hi Brent Wood,
I think it would help to find the cause of the issue and it's solution 
if you reported the full error message (and any other error message 
logged in the "Log Messages" panel) and described how exactly you import 
the layer in the QGIS project (and possibly also provided a sample layer 
file affected by the issue).


Best regards.

Andrea
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS unable to access Spatialite tables.

2024-02-22 Thread Brent Wood via QGIS-User
Hi,

I and a few colleagues are encountering a problem accessing Spatialite tables 
from QGIS.
It does not seem to be happening with v3.28, but it is with v3.34 (in both 
Linux & Windows).

When opening a table in v2.8 there are no issues, everything is working as it 
has in recent years.
However, opening the same table (or an SQL on that table) results in an error 
message about an invalid layer, but no further or useful diagnostic info.

Can anyone suggest a possible cause or solution? My current workaround is to 
run the select in the Spatialite command line tool, with the geometry exported 
as WKT & then open the text file in QGIS.

At present I'm still trying to get access to the QGIS issues facility to log 
this problem, so cannot raise this there at present.



Thanks...

  Brent Wood

Principal Technician, Fisheries
NIWA
DDI:  +64 (4) 3860529
[https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png] 

Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529

National Institute of Water & Atmospheric Research Ltd (NIWA)
301 Evans Bay Parade Hataitai Wellington New Zealand
Connect with NIWA: niwa.co.nz 
Facebook 
LinkedIn 
Twitter 
Instagram 
YouTube
To ensure compliance with legal requirements and to maintain cyber security 
standards, NIWA's IT systems are subject to ongoing monitoring, activity 
logging and auditing. This monitoring and auditing service may be provided by 
third parties. Such third parties can access information transmitted to, 
processed by and stored on NIWA's IT systems.
Note: This email is intended solely for the use of the addressee and may 
contain information that is confidential or subject to legal professional 
privilege. If you receive this email in error please immediately notify the 
sender and delete the email.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user