Hi All!<br>Volker is right, the specification for the plug-in requires a header.<br>The header that is needed is in consistence with the RFC 4180 <br><a href="http://tools.ietf.org/html/rfc4180#section-2">http://tools.ietf.org/html/rfc4180#section-2</a> <br>
<pre class="newpage">3.  There maybe an optional header line appearing as the first line<br>       of the file with the same format as normal record lines.  This<br>       header will contain names corresponding to the fields in the file<br>
       and should contain the same number of fields as the records in<br>       the rest of the file (the presence or absence of the header line<br>       should be indicated via the optional "header" parameter of this<br>
       MIME type).  For example:<br><br>       field_name,field_name,field_name CRLF<br>       aaa,bbb,ccc CRLF<br>       zzz,yyy,xxx CRLF<br></pre><br>I just checked this in QGis 1.4.0 Enceladus and the result was a bit surprising.<br>
It is true that the file parser makes good use of a header line like defined above.<br>However, in the absence of a header line the plug-in simply assumes that the item values of the first line are field names, which of course makes no sense.<br>
But as it is impossible for the plug-in to evaluate if the first line actually is a header or not, it must be up to the user to understand this and add an appropriate header line if it's missing.<br><br>But this does not solve the original problem. Even if the header was missing, the plugin should have read the file.<br>
Like others have suggested, the file may be locked by another application. Other problems with csv files are usually line feeds in fields, trailing spaces, the use of text delimiters (") and empty fields (,value,,,value, should give two empty fields).<br>
<br>HTH Mats.E<br><br><div class="gmail_quote">2010/7/23 Volker Fröhlich <span dir="ltr"><<a href="mailto:volker27@gmx.at">volker27@gmx.at</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
You also need a header!<br>
<br>
Volker<br>
<br>
Am Freitag 23 Juli 2010, 12:10:08 schrieb Julio Cesar Canales DElgadillo:<br>
<div class="im">> Hello everybody,<br>
><br>
> I'm trying to create a points layer from a *.csv file into Qgis 1.4,<br>
> however the application says that my file is not valid and that cannot be<br>
> loaded. I already checked the format of X and Y cells (as numbers) but it<br>
> doesn't work. Could anybody give me a tipp or sugestion about what I'm<br>
> doing wrong to solve this problem?<br>
> Thaknsa lot in advance, best regards.<br>
>  Biól.MCF. Julio César Canales Delgadillo.<br>
> Verhaltensbiologie<br>
> Barbarastr. 11<br>
> Fachbereich 5 Biologie/Chemie<br>
> Universität Osnabrück<br>
> 49076 Osnabrück<br>
> Phone: +(49) 0541 969 3803<br>
> Movil: +(49) 0152 043 87082<br>
> Alternative E-mail: <a href="mailto:julio.delgadillo@biologie.uni-osnabrueck.de">julio.delgadillo@biologie.uni-osnabrueck.de</a><br>
<br>
</div>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>______________________________________________<br>Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden<br>tel: +46 46 145959 / mob: +46 70 595 39 35<br>alt e-mail: <a href="mailto:mats.elfstrom@telia.com">mats.elfstrom@telia.com</a><br>
<br><br>