Comments (3)
For me a multiline header line feels very odd. Excel really seems to rely on making difference between LF and CRLF.
I would accept that GDAL does not parse such header lines.
I tried to read a test CSV back to Excel with poor success. I trust you that it is possible somehow but I did not manage to guess how. I could not read it with QGIS either. Maybe it is because of my locale (Finnish).
This is how Excel wants to open the CSV file that it created by itself:
from gdal.
Excel really seems to rely on making difference between LF and CRLF.
But see my note:
(Note, when you use Excel to create a file with line breaks in cells, those line breaks are saved as LF only, even though the line breaks between records are CRLF. However, no CSV reader I tested behaved differently when I interchanged LF and CRLF in various permutations.)
It is true that Excel saves the file like that, but it does not rely on that pattern of line endings when opening a file.
from gdal.
I am sceptical but I may be wrong. How could it make a difference between the LF that is separating the lines in the header and after the header? But anyway, user can simply avoid multiline headers or edit the CSV file before reading it with GDAL.
from gdal.
Related Issues (20)
- gdalbuildvrt freezes at 90%... then gets killed HOT 3
- proj_create and OGRSpatialReference HOT 7
- JPEG2000 export: do not generate GMLJP2 for projections we don't support
- GPX: track_fid one off in the track_points table
- Offer HTML offline documentation, in addition to current PDF HOT 2
- osgeo/gdal image libproj inconsistency HOT 1
- I will document how to make multi-band grids using gdal_grid HOT 1
- Does CPLGetLastErrorMsg() actually return null if no error message? HOT 1
- OGRFeature SetField UTF8 not working HOT 1
- JP2OpenJPEG: unable to write image less than 8 pixels high HOT 1
- [Python/OGR] Geometry Conversion GML -> WKT -> GML returns invalid Geometry HOT 12
- Improve build doc when building gdal with LERC lib HOT 1
- ogr2ogr: DXF -> GeoJSON generate invalid Polygon HOT 5
- Irrelevant error raised during gdal.Translate HOT 2
- gdal-3.8.4 incorrectly assume about libiconv on Cygwin HOT 4
- gdal2tiles TypeError: sequence item 0: expected str instance, tuple found when using -v HOT 5
- CMake installation to `${CMAKE_INSTALL_INCLUDEDIR}/gdal`? HOT 10
- WISH: Add overview support to VRT format HOT 5
- CMake: do not do find_package() for a component explicitly disable by GDAL_USE_foo=NO ?
- PMTiles "RuntimeError: Non increasing tile_id" When Reading HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdal.