[Qgis-developer] Proposal: relative paths for SVG point symbols

Andreas Neumann a.neumann at carto.net
Tue Apr 28 05:14:38 EDT 2009


Hi,

I would like to propose that SVG symbol references in the QGIS project
file aren't stored with absolute paths, but with relative paths.

This is very important in a Multi-OS environment (mixed
Windows/Linux/MacOSX).

I assume that QGIS knows where the SVG symbol directory resides, e.g. in
/usr/local/share/qgis/svg on Linux or in C:\OSGeo4W\apps\qgis\svg on
Windows.

I also propose that QGIS automagically replaces backslashes with slashes
or vice/versa in the paths, depending on the platform it runs on.

The goal should be a QGIS project file that can freely be moved around
platforms, only pointing to network resources, such as Postgis database,
WMS/WFS, etc. where there is no need for absolute paths.

If you also think that this is useful, I'd like to open a feature request
in the bug-tracker.

Thanks,
Andreas

-- 
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/



More information about the Qgis-developer mailing list