[gdal-dev] CSV driver option to set the quote character for input -oo

Robert Hewlett rob.hewy at gmail.com
Wed Feb 22 10:55:28 PST 2023


Hi,

Ran into a problem with a CSV driver where I need more control over setting
the quote character. It may already be there but I cannot find it on the
-oo side. It is there on the writer side -co.

The data is real-world data so it is a mess; unpaired single and double
quotes within a field.

When I use the copy for postgresql at the command line and use '\b' as the
quote character, I can get all the data in. However, the ogr2ogr CSV driver
really wants to pair up the quotes.

Is there a no quote option or a way to set '\b' as the quote character?

Thanks,

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230222/628a7820/attachment.htm>


More information about the gdal-dev mailing list