Feature #6828

Correct sorting of layers in TOC when loading multiple layers

Added by Ryan Dalton over 1 year ago.

Status:Open Start Date:12/04/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:GUI
Target version:-
Platform: Resolution:
Platform version: Patch supplied:No
Status info: Tag:

Description

When multiple layers are added into QGIS from a PostGIS DB (via the "Add PostGIS Layers" button), they are added to the Table of Contents in reverse alphabetical order. I would anticipate one of two alternatives:

1) add the data layers to the TOC alphabetically, or
2) more favorably, the layers would be added to the TOC by data type in the logical order they would be visible to the user (points on top, then lines, polygons, and finally rasters at the bottom). For layers of the same geometries, they would be sorted first by geometry, then alphabetically.

See discussion at http://gis.stackexchange.com/questions/41977/sort-layers-in-qgis-table-of-contents

Also available in: Atom PDF