Re: [JPP-Devel] sqlite database

2020-08-24 Thread edgar . soldin
On 8/24/2020 1:23 PM, Michaud Michael wrote: > Just to precise what I fixed wrt. to what Ede is suggesting : > > I could not read spatialite files from QGis because GeometryColumn.isIndexed() > returned null for some GeometryColumnsLayouts. > > I fixed it for OGC_OGR_LAYOUT (used by QGIS when expor

Re: [JPP-Devel] sqlite database

2020-08-24 Thread Nicolas Ribot
Hi Michael, Thanks for the precision. I modified buildSpatialIndexFilter to return an empty string (no spatial filter clause) in case a valid GeometryColumn object cannot be built. I also cleaned the code where system.out were used and replaced it with suitable Logger. I will commit these changes

Re: [JPP-Devel] sqlite database

2020-08-24 Thread Michaud Michael
Hi,Just to precise what I fixed wrt. to what Ede is suggesting :I could not read spatialite files from QGis because GeometryColumn.isIndexed() returned null for some GeometryColumnsLayouts.I fixed it for OGC_OGR_LAYOUT (used by QGIS when exporting as spatialite), and for other unknown layouts (e.

Re: [JPP-Devel] sqlite database

2020-08-24 Thread edgar . soldin
you can simulate it, simply return NULL in SpatialiteDSMetadata.getGeometryColumn(String datasetName, String geoCol) for testing and you should end up with the stack. wrt. what Mike did. he wrote earlier On 8/22/2020 11:18 AM, Michaud Michael wrote: > > Finally got it : there was a bug preventi

Re: [JPP-Devel] sqlite database

2020-08-24 Thread Nicolas Ribot
Do you have a sample dataset showing the problem ? Or a way to generate such a sample ? I tested with a shapefile exported to a spatialite database with qgis 3.12 and it worked. Nicolas On Mon, 24 Aug 2020 at 10:48, Nicolas Ribot wrote: > Hello ede, > > I'll check it out. There are some todos l

Re: [JPP-Devel] sqlite database

2020-08-24 Thread Nicolas Ribot
Hello ede, I'll check it out. There are some todos left in the code, mainly in case of failure to retrieve expected information. Nicolas On Sun, 23 Aug 2020 at 13:07, wrote: > hey Nico, > > On 21.08.2020 10:52, Michaud Michael wrote: > >> >> For all my tests, I get the same error after I have