David,

http://www.qgis.nl/2012/07/13/koppelen-van-data-uit-csv-bestand/?lang=endefines
the cvst file as a sequence of comma separated column definitions.
The examples are all 'dense', with no space between the comma and the next
value.  It seems odd to define it in this way - perhaps there is a reason
or perhaps it is a bijou bugette in QGIS ...

Peter


On 29 November 2013 03:51, David Strip <[email protected]> wrote:

>  I am trying to use a .csv file in a qgis project. After not getting what
> I expected, I learned about .csvt files and wrote a file that looked like
>
> "String", "Integer"
>
> with a space following the comma. This did not work - both fields were
> still read as String. After removing the comma I got a String field and an
> Integer field.
> The documentation states the list is comma-separated, which I suppose if
> strictly interpreted could mean no white space. However, in general .csv
> files ignore whitespace following a comma.
> I'm posting this in the event that someone is working with a more complex
> .csvt file that fails might have a chance of finding this when they search
> for a clue as to why their file isn't working.
>
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
----------------------------------------------------------------------------------------------------------------
Peter J Halls, GIS Advisor & Team Leader Applications Support and Training,
               Information Directorate, University of York
Telephone: 01904 323806     Fax: 01904 323740
Snail mail: Harry Fairhurst Building, University of York,
                Heslington, York YO10 5DD
This message has the status of a private and personal communication
----------------------------------------------------------------------------------------------------------------
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to