Bug report #10858

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

Added by joto - over 10 years ago. Updated about 10 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 about 10 years ago

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

History

#1 Updated by Giovanni Manghi over 10 years ago

  • Category deleted (Browser)

#2 Updated by Jürgen Fischer about 10 years ago

  • Category set to Project Loading/Saving

#3 Updated by Nathan Woodrow about 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF