qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.56k stars 3k forks source link

Wrong feature order after commiting changes #18401

Closed qgib closed 5 years ago

qgib commented 10 years ago

Author Name: Piotr Pociask (Piotr Pociask) Original Redmine Issue: 9880 Affected QGIS version: 2.2.0


Steps to reproduce:

  1. Start editing vector layer.
  2. Add two or more new features.
  3. Stop editing and save changes.

New features are added at the end of layer but in reversed order of digitalization. This is present in QGIS 2.0, 2.2. and master (Win7 and Mint 15). Features should be saved in order of addition. This is also present if features are added from Python addFeature method of QgsVectorLayer.

qgib commented 10 years ago

Author Name: Matthias Kuhn (@m-kuhn)


By the term "order", are you referring to rendering order?

In general: There is no implicitly defined order of features on a layer. If you need a specific order (for any reason), you have to define an attribute for it.


qgib commented 10 years ago

Author Name: Jürgen Fischer (@jef-n)


closing for the lack of feedback - looks like a non-issue anyway.


qgib commented 10 years ago

Author Name: Jürgen Fischer (@jef-n)


See also http://lists.osgeo.org/pipermail/qgis-developer/2014-March/031794.html