Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atlas Feature Sorting #17607

Closed
qgib opened this issue Oct 23, 2013 · 4 comments
Closed

Atlas Feature Sorting #17607

qgib opened this issue Oct 23, 2013 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Oct 23, 2013

Author Name: X X (X X)
Original Redmine Issue: 8939
Affected QGIS version: 2.0.1
Redmine category:map_composer/printing


I am using the "Atlas generation" feature of the QGIS print composer. It seems that the "Feature sorting" value is not remembered when a QGIS file is closed and re-opened. For example, if I sort by a field, "page_name", the PDF pages are correctly ordered by this field when I export them; however, if I close and re-open the document the print composer will return to using the first field as the sort field and the pages in the PDF will be exported in a seemingly random order.

From my limited knowledge of how QGIS works, I suspect the sort order is being saved, but is not being read when QGIS is re-opened. I tested this by opening the .qgs file in a text editor and it seems that the sortKey field is, in fact, saved in the document (for example, if "page_name" was the fifth column, there will be a value of sortKey=4 in the .qgs file). The problem seems to be that this field is not read when a document is re-opened (e.g. it just goes back to using sortKey=0).

@qgib
Copy link
Contributor Author

qgib commented Dec 25, 2013

Author Name: Nyall Dawson (@nyalldawson)


I can't replicate this... are you able to confirm whether you still see this occurring in the current dev master version?

@qgib
Copy link
Contributor Author

qgib commented Dec 25, 2013

Author Name: Nyall Dawson (@nyalldawson)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Apr 6, 2014

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


  • category_id was changed from 33 to Map Composer/Printing

@qgib
Copy link
Contributor Author

qgib commented May 31, 2014

Author Name: Nyall Dawson (@nyalldawson)


I'm closing this issue as that code has since been rewritten and I can't replicate. Please reopen if you still experience this issue.


  • resolution was changed from to worksforme
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

1 participant