Bug report #15483
SVG paths get lost when moving QGIS file to a new location
|Affected QGIS version:||2.16.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23407|
When moving a QGIS file to a new location the paths of SVG symbols get lost.
#1 Updated by R. R. over 6 years ago
#2 Updated by Tudor Bărăscu over 6 years ago
The SVG symbol is stored relative to the project.
You can see this by editing the qgs project with a text editor:
<prop k="name" v="../SVG/symbol.svg"/>
This is done so that you can deploy your project with the symbols.
What you should do is make a subdirectory (SVG) where the qgs file is located and move the qgs file along with the SVG directory every time.
As an option you could also tell QGIS where to look for SVG files at Options -> System -> SVG paths.
I think you can close this issue.
#3 Updated by Giovanni Manghi about 6 years ago
- Resolution set to invalid
- Status changed from Open to Closed