Bug report #13703
projects with relative SVG files are taken into consideration by Server relative to qgis_mapserv.fcgi
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Unknown | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Linux | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21730 |
Description
If you’re using the QGIS project with styling based on SVG files using relative paths then you should know that the server considers the path relative to its qgis_mapserv.fcgi file (not to the qgs file). So, if you deploy on the server a project and the SVG files are not placed accordingly, the output images may not respect the Desktop styling. To ensure this doesn’t happen, you can simply copy the SVG files relative to the qgis_mapserv.fcgi. You can also create a symbolic link in the directory where the fcgi file resides that points to the directory containing the SVG files (on Linux/Unix).
It affects 2.8, latest stable (2.12) and master.
History
#1
Updated by Alessandro Pasotti almost 9 years ago
The current behavior is documented:
Don't forget to update the manual when fixed.
#2
Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
- Regression? set to No
#3
Updated by Jürgen Fischer almost 7 years ago
- Category set to Unknown
#4
Updated by Tudor Bărăscu almost 6 years ago
- Status changed from Open to Closed
It now works as it should on 3.3 Master