Re: [gdal-dev] Autodetect "0012" as string in CSV

2017-08-18 Thread Rahkonen Jukka (MML)
-Jukka- Lähettäjä: Even Rouault <even.roua...@spatialys.com> Lähetetty: 18. elokuuta 2017 14:30 Vastaanottaja: gdal-dev@lists.osgeo.org Kopio: Rahkonen Jukka (MML) Aihe: Re: [gdal-dev] Autodetect "0012" as string in CSV On vendredi 18 août 20

Re: [gdal-dev] Autodetect "0012" as string in CSV

2017-08-18 Thread Even Rouault
On vendredi 18 août 2017 10:59:47 CEST Rahkonen Jukka (MML) wrote: > Hi, > > The schema of a CSV file like this > "00012",012345,1234,234.65,"text" > is autodetected this way: > > ogrinfo csvtext.csv -oo autodetect_type=yes -al > INFO: Open of `csvtext.csv' > using driver `CSV' successful.

[gdal-dev] Autodetect "0012" as string in CSV

2017-08-18 Thread Rahkonen Jukka (MML)
Hi, The schema of a CSV file like this "00012",012345,1234,234.65,"text" is autodetected this way: ogrinfo csvtext.csv -oo autodetect_type=yes -al INFO: Open of `csvtext.csv' using driver `CSV' successful. Layer name: csvtext Geometry: None Feature Count: 1 Layer SRS WKT: (unknown)