[Qgis-user] Confirming Problem Importing Geopackage Data?

Even Rouault even.rouault at spatialys.com
Tue Jun 6 13:11:24 PDT 2017


On mardi 6 juin 2017 15:13:20 CEST Michael Treglia wrote:
> Thanks Even.
> 
> I renamed layers within Arc, just for anonymity of the data, and then tried
> to open the data again in QGIS 2.18.9, and it worked, so not sure what was
> going on.
> 
> If I can get another demonstrable and replicable example, I'll file a
> ticket.

I've fixed the issue with the input provided by Michael. The issue was that there was an 
inconsistency in the case of the table name between the table_name columns of gpkg system 
tables, and the table name in sqlite_master system table.
I'm not completely sure if such .gpkg are strictly valid, but as SQLite3 doesn't accept both foo 
and Foo as different tables, comparisons can be made case insensitive to avoid such issues.

Renaming the layers in ArcMap probably fixed the case inconsistency.

Fixed per https://trac.osgeo.org/gdal/ticket/6916

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170606/e63515d0/attachment.html>


More information about the Qgis-user mailing list