[gdal-dev] Encoding in single transaction shp to PG
Even Rouault
even.rouault at spatialys.com
Thu Feb 10 05:04:53 PST 2022
Matteo,
you can define open options for each source layer in a VRT:
https://github.com/OSGeo/gdal/blob/c03502bc9eb5f8c9b25a8d0de06e009bf9756548/data/ogrvrt.xsd#L66
Even
Le 10/02/2022 à 11:46, matteo a écrit :
> Hi all,
>
> I've set up a QGIS Processing script that uses GdalUtils that takes a
> vrt catalog that points to specific shapefiles with and without
> geometries.
>
> Taking single layers with the -oo ENCODING=ISO-8859-1 option as
> suggested by Even works great. But it seems not working with a
> list_of_shape.vrt file.
>
> Mandatory for my workflow is to load the shapefiles into PG in a
> single transaction (this is the reason of the vrt file).
>
> Thanks for any suggestion!
>
> Cheers
>
> Matteo
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
More information about the gdal-dev
mailing list