Re: [gdal-dev] Ogr2ogr CSV driver not handling correctly line breaks inside columns

2023-05-05 Thread Robert Hewlett
Can something such as head -n -2 Be part of the pipeline? The 3 text files are being combined into 1 stream. - Line 1 CRS/SRID from the .prj - Line 2 Types from the .cvst - Line 3 to the end from the .csv Which is great in some ways as the SRID does not go missing and header info is at

Re: [gdal-dev] Ogr2ogr CSV driver not handling correctly line breaks inside columns

2023-05-05 Thread Rahkonen Jukka
Hi, Have you considered to output GeoJSONseq https://gdal.org/drivers/vector/geojsonseq.html instead of CSV, that for my mind is a workaround as a geodata format. Maybe JSON could handle your newlines by the same. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Moises Calzado via gdal-dev Läh

Re: [gdal-dev] Ogr2ogr CSV driver not handling correctly line breaks inside columns

2023-05-05 Thread Moises Calzado via gdal-dev
Hi Even! I've just created the two issues: - https://github.com/OSGeo/gdal/issues/7699 - https://github.com/OSGeo/gdal/issues/7700 Robert, as I explained before, we need the `/vsistdout/` driver as we're processing the file in streaming mode, so we can't save the result to the storage. Unforteuna