[Qgis-developer] Fields/attributes

Nathan Woodrow madmanwoo at gmail.com
Thu Apr 25 17:39:34 PDT 2013

Hey Chris,

1) I don't think there is any limit.  The name is just stored as a QString
so anything it supports QGIS should too.

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.

- Nathan

On Fri, Apr 26, 2013 at 10:33 AM, Chris Crook <ccrook at linz.govt.nz> wrote:

> Couple of questions with regard to QgsFeature fields and attributes:
> 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...)
> 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"?
> Thanks
> Chris
> 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 info at linz.govt.nz) 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.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130426/2df8ca22/attachment.html>

More information about the Qgis-developer mailing list