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

Tim Sutton lists at linfiniti.com
Tue Apr 28 19:18:30 EDT 2009


Hi
On 28 Apr 2009, at 11:14 AM, Andreas Neumann wrote:

> 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.
>

Yes it will be useful and is a good idea.

Regards

Tim


> Thanks,
> Andreas
>
> -- 
> Andreas Neumann
> http://www.carto.net/neumann/
> http://www.svgopen.org/
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list