Hi Bernhard

Yes, every feature should have a unique id. The data provider class which creates the features decides which id to give.
QGIS also relies on feature ids, e.g. for identifying features when editing.

Regards,
Marco

On 07.12.2011 09:40, [email protected] wrote:
Hi devs,
I wonder if I can assume that any _polygon_ feature has an id, regardless of the format it comes from (given it is either file or db-based). In a plugin I am currently working on, I rely on every feature having an id.

Bernhard


________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer


--
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to