[gdal-dev] CSV driver inconsistent separator dealing to failures
Even Rouault
even.rouault at spatialys.com
Tue May 23 14:38:51 PDT 2023
Moises,
>
> In my humble opinion it makes sense to follow this approach if the
> separator is not clear, but in this case the first CSV line contains
> like 10 semicolons (the real separator) and just one comma. I believe
> that the actual behaviour could be improved adding some way of
> checking the most repeated separator. What do you think?
That seems reasonable. You may file an enhancement ticket about that,
with the header of the CSV file on which you hit the issue as an
illustration. We should also probably emit a CE_Warning visible even in
production builds when such ambiguous situation arises.
Even
>
> --
> *Moises Calzado*
>
> Support Engineer
>
> +34671264286 | mcalzado at carto.com | CARTO <https://www.carto.com/>
>
> <https://spatial-data-science-conference.com/2023/london/>
>
> _______________________________________________
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230523/f43864bd/attachment.htm>
More information about the gdal-dev
mailing list