[gdal-dev] source csv delimiters
Paul Harwood
runette at gmail.com
Thu Sep 1 13:33:22 PDT 2022
The slightly pedantic answer to that is surely that if it not comma
separated, it is not a CSV file!
As far as I know - that is the approach that GDAL takes!
It is easy enough to preprocess the file. As the GDAL docs say :
"Many variations of textual input are sometimes called Comma Separated
Value files, including files without commas, but fixed column widths, those
using tabs as separators or those with other auxiliary data defining field
types or structure. This driver does not attempt to support all such files,
but instead to support simple .csv files that can be auto-recognised.
Scripts or other mechanisms can generally be used to convert other
variations into a form that is compatible with the OGR CSV driver."
On Thu, 1 Sept 2022 at 19:08, Travis Kirstine <traviskirstine at gmail.com>
wrote:
> Is there a way to specify the delimiters when reading a source CSV file.
> The file I received uses a carrot ^ value.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220901/d4410a61/attachment.htm>
More information about the gdal-dev
mailing list