Bug report #10858

Datasource file name in .qlr file should be relative to .qlr file

Added by joto - almost 10 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Project Loading/Saving
Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:19227

Description

When reading a .qlr file the file name in the datasource is currently interpreted relative to the directory QGIS was started in instead of relative to the directory the .qlr file is in. This makes it harder to distribute .qlr files with your data in a way that is easy to use.


Related issues

Related to QGIS Application - Bug report #13925: Qlr-file saves datasource path not as absolute path Closed 2015-12-01

Associated revisions

Revision e5850f38
Added by Nathan Woodrow over 9 years ago

Fix #10858 - Set relative path to QLR save folder. Load relative to QLR file

History

#1 Updated by Giovanni Manghi almost 10 years ago

  • Category deleted (Browser)

#2 Updated by Jürgen Fischer over 9 years ago

  • Category set to Project Loading/Saving

#3 Updated by Nathan Woodrow over 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF