[QGIS-trac] [Quantum GIS] #1665: Use of relative paths for SVG symbols in QGIS project file

Quantum GIS qgis at qgis.org
Thu Apr 30 04:25:49 EDT 2009


#1665: Use of relative paths for SVG symbols in QGIS project file
-----------------------------------------------+----------------------------
   Reporter:  neumann                          |              Owner:  nobody       
       Type:  bug                              |             Status:  new          
   Priority:  minor: annoyance or enhancement  |          Milestone:  Version 1.2.0
  Component:  Project Loading / Saving         |            Version:  HEAD         
   Keywords:                                   |   Platform_version:               
   Platform:  All                              |           Must_fix:  No           
Status_info:  0                                |  
-----------------------------------------------+----------------------------
 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.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1665>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list