[gdal-dev] SQLite attach database as open option
Even Rouault
even.rouault at spatialys.com
Thu Aug 20 03:13:18 PDT 2020
On mercredi 19 août 2020 18:53:07 CEST Rahkonen Jukka (MML) wrote:
> Hi,
>
> I wonder if it a) might work and b) could have some practical use to
> implement an open option for attaching other SQLite databases to SQLite
> based datasources https://www.sqlite.org/lang_attach.html. The usage could
> be something like -oo ATTACH=path/to/other.gpkg:alias, where "alias" part
> would be optional and give the value for AS in the attach database SQL
> command. At least it should make it easier to use SQL joins than with the
> SQL dialects.
Candidate implementation (using PRELUDE_STATEMENTS as for the PostgreSQL driver)
in:
https://github.com/OSGeo/gdal/pull/2871
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200820/ac72e78e/attachment.html>
More information about the gdal-dev
mailing list