GPKG: don't show Spatialite vgpkg_ tables
|Reported by:||Even Rouault||Owned by:||Even Rouault|
Reported by Jukka
If a GeoPackage file is touched with recent Spatialite-gui it creates automatically a virtual GPKG table for each native spatial GPKG table. If I now use ogrinfo or ogr2ogr with such database it will print an error for each virtual layer like
ERROR 1: no such module: VirtualGPKG Warning 1: unable to read table definition for 'vgpkg_Virtausnuoli'
Ogr2ogr works despite the messages but if there are 130 layers in the GeoPackage the error list is rather long. For most users it would be enough, or still too much, to get a list of the missing modules just one time for the whole datastore.
Listing such tables is a side effect of listing all tables by default since 2.2.0dev (and 2.1.2 backport). Can be workarounded by specifying -oo LIST_ALL_TABLES=no