<div dir="ltr">Hey Chris,<div><br></div><div style>1) I don't think there is any limit.  The name is just stored as a QString so anything it supports QGIS should too.</div><div style><br></div><div style>2) I have noticed that too it is quite confusing at times.  To me fields should refer to the column information, and attributes should refer to the data it self, but that is not always the case in the API.</div>

<div style><br></div><div style>- Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 10:33 AM, Chris Crook <span dir="ltr"><<a href="mailto:ccrook@linz.govt.nz" target="_blank">ccrook@linz.govt.nz</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Couple of questions with regard to QgsFeature fields and attributes:<br>
<br>
1) Are there any guidelines/constraints regarding field names.  The delimited text provider can take names from the first line of a text file, and that can be very arbitrary.  I'm wondering if I should put more constraints on the names (maximum number of characters, valid character set, other...)<br>


<br>
2) It seems that fields get referred to in various places as fields and attributes in the API.  Is there any logic to this.  That is to say, where should I use the word "field", and where should I use the word "attribute"?<br>


<br>
Thanks<br>
Chris<br>
<br>
This message contains information, which is confidential and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or <a href="mailto:info@linz.govt.nz">info@linz.govt.nz</a>) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.<br>


_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br></div>