[gdal-dev] PG driver: apply custom sql files together with loading data in one transaction

Martin Landa landa.martin at gmail.com
Thu Aug 30 02:44:10 PDT 2018


Hi,

I have a Python application which loads data into PostGIS DB using
GDAL Python API. Input files are processed in one transaction (done on
datasource level). After loading data there some custom SQL files
applied (currently implemented using psycopg2). There is a request to
perform loading data and customization SQL files in one transaction.
Is there any option how to apply SQL custom files on data source level
using GDAL API?

Thanks for any tips/pointers! Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list