Re: [gdal-dev] Better way to use GPKG from SpatiaLite

2015-04-14 Thread Even Rouault
Jukka, >From the GPKG driver, it would mean that the user would have to think to change its layer names to prefix them with vgpkg_ in his requests and the GPKG driver should be modified to accept Spatialite geometries being returned as column values. >From the SQLite driver, currently it doesn

[gdal-dev] Better way to use GPKG from SpatiaLite

2015-04-14 Thread Jukka Rahkonen
Hi, I am reading from http://www.gdal.org/drv_geopackage.html the following "Starting with GDAL 2.0, SQL SELECT statements passed to ExecuteSQL() are also executed directly against the database. If Spatialite is used, a recent version (4.2.0) is needed and use of explicit cast operators AsGPB(),