qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.29k stars 2.96k forks source link

Custom SVG paths incompatible with relative paths #17157

Closed qgib closed 6 years ago

qgib commented 11 years ago

Author Name: Benoit de Cabissole (Benoit de Cabissole) Original Redmine Issue: 8384 Affected QGIS version: master Redmine category:symbology


Problems with SVG paths (custom SVG paths incompatible with relative path) - QGIS f779592

1) No ‘memory’ of custom ‘SVG path’:

A look into the .qml file shows that +only+ the relative path from the saved ‘SVG paths’ to the custom SVG fill file is saved. It seems that if a custom ‘SVG paths’ is defined then QGIS is unable to use it and only uses relative paths from the default SVG folder.

2) ‘Saved styles’ should save (copy) the style to a QGIS-system folder (either under user/.qgis2, or in the QGIS application folder).

Again, it seems to be a relative path problem.

I would strongly suggest that all symbols saved to the library are physically copied to a QGIS-system folder: either under user/.qgis2, or in the QGIS application folder. The symbols in the library should be available at anytime, even if the original symbol was on a removable drive/internet that is not available anymore.

qgib commented 10 years ago

Author Name: Paolo Cavallini (@pcav)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 6 years ago

Author Name: Benoit de Cabissole (Benoit de Cabissole)


1) No ‘memory’ of custom ‘SVG path’:

A look into the .qml file shows that +only+ the relative path from the saved ‘SVG paths’ to the custom SVG fill file is saved. It seems that if a custom ‘SVG paths’ is defined then QGIS is unable to use it and only uses relative paths from the default SVG folder.

2) ‘Saved styles’ should save (copy) the style to a QGIS-system folder (either under user/.qgis2, or in the QGIS application folder).

Again, it seems to be a relative path problem.

I would strongly suggest that all symbols saved to the library are physically copied to a QGIS-system folder: either under user/.qgis2, or in the QGIS application folder. The symbols in the library should be available at anytime, even if the original symbol was on a removable drive/internet that is not available anymore. to Problems with SVG paths (custom SVG paths incompatible with relative path) - QGIS f779592

1) No ‘memory’ of custom ‘SVG path’:

A look into the .qml file shows that +only+ the relative path from the saved ‘SVG paths’ to the custom SVG fill file is saved. It seems that if a custom ‘SVG paths’ is defined then QGIS is unable to use it and only uses relative paths from the default SVG folder.

2) ‘Saved styles’ should save (copy) the style to a QGIS-system folder (either under user/.qgis2, or in the QGIS application folder).

Again, it seems to be a relative path problem.

I would strongly suggest that all symbols saved to the library are physically copied to a QGIS-system folder: either under user/.qgis2, or in the QGIS application folder. The symbols in the library should be available at anytime, even if the original symbol was on a removable drive/internet that is not available anymore.

qgib commented 6 years ago

Author Name: Giovanni Manghi (@gioman)