Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6707 closed defect (fixed)

GPKG: don't show Spatialite vgpkg_ tables

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: gpkg


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

Change History (2)

comment:1 by Even Rouault, 6 years ago

Resolution: fixed
Status: newclosed

In 35997:

GPKG: don't show Spatialite vgpkg_ virtual tables (fixes #6707)

comment:2 by Even Rouault, 6 years ago

In 35998:

GPKG: don't show Spatialite vgpkg_ virtual tables (fixes #6707)

Note: See TracTickets for help on using tickets.