Hello, sorry for intervening as an outsider...but maybe a tiny contribution...
Am 26.04.2013 02:39, schrieb Nathan Woodrow:
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.
There are some limits in shapefiles concerning names in the attribute table, coming from the dbf - format. So, if at first the column names are e.g. longer than the eight characters allowed in dbf, and the user stores the data later as a shapefile, in this way, a problem could maybe arise, especially if the long names are similar at the beginning...
regards, Albin
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 <ccr...@linz.govt.nz <mailto:ccr...@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 i...@linz.govt.nz <mailto:i...@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@lists.osgeo.org <mailto:Qgis-developer@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
-- | Albin Blaschka, Mag.rer.nat. | Etrichstrasse 26, A-5020 Salzburg | * www.albinblaschka.info * www.thinkanimal.info * | - It's hard to live in the mountains, hard but not hopeless! _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer