[gdal-dev] handle succes or failures with ogr2ogr
Eric Plassot
e.plassot at laposte.net
Wed Aug 12 14:25:24 PDT 2020
Hi,
I pass a command line in a batch and I would like to write the result in
a text file to know if the multipolygon has been added.
here is what i tried :
"C:\Program Files\QGIS 2.18\OSGeo4W.bat" ogr2ogr.exe -f "PostgreSQL"
PG:"host=xx.xxx.x.x user=xxx dbname=xxx schemas=xxx password=xx" -t_srs
EPSG:2154 -append -nlt PROMOTE_TO_MULTI "kmlPath.kml" > "logPath.txt"
the log only contains OSGEO4W home is C: \ Program Files \ QGIS 2.18 \
and no more information
What can I do please to get this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200812/e1c1f687/attachment.html>
More information about the gdal-dev
mailing list