Opened 15 years ago

Closed 15 years ago

#1665 closed bug (duplicate)

Use of relative paths for SVG symbols in QGIS project file

Reported by: neumann Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.2.0
Component: Project Loading / Saving Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Currently, QGIS uses absolute paths in project files. This is a problem when moving projects around, especially when using it in multiple operating systems.

QGIS should use relative paths (relative to the qgis/share/svg directory), which is different on every platform.

as an example: svg:/usr/local/share/qgis/svg/abwasser/Baujahrwechsel.svg should be changed to svg:abwasser/Baujahrwechsel.svg

QGIS should also automagically replace forward with backward slashes when it opens on the windows platform. It would be useful to use the forward slashes notation in the project file for all platforms to be consistent. This is also the convention with URLs.

Thanks for looking at this problem.

Change History (1)

comment:1 by jef, 15 years ago

Resolution: duplicate
Status: newclosed

duplicate of #1211

Note: See TracTickets for help on using tickets.