[Qgis-user] Sharing SVGs/custom graphics referenced by projects and styles

David Galt davidlgalt.gis+qlist at gmail.com
Mon Apr 12 10:28:32 PDT 2021


In working from home I am presented with the challenge of sharing project
files and data. A central PostGIS database makes it easy to share data and
styles, but the one area that I am struggling with how to effectively share
a massive trove of custom SVG files that are referenced by my projects and
styles.

One possibility I have explored is putting the files on the web and then
referencing the URL in the style rather than a file-based path. When I do
this, 3 things seem to happen:

1. The SVG shape appears correctly under "Text Sample", but in the path,
the font of the URL appears as red indicating that it is in error
<https://photos.app.goo.gl/AgCuQvL18d4aTxdQ8>.

2. Otherwise, it seems to work on the map. The SVGs are displayed correctly
<https://photos.app.goo.gl/NmmbG5KMhDwEPkQMA>.

3. After I save, exit and reload the project file, the graphics still
appear as they should on the map, but the feedback meter on the bottom of
QGIS that churns during ongoing operations never stops churning and when
you click on it, each image that is referenced from a URL is shown as 100%
completed but still "fetching" <https://photos.app.goo.gl/mJQXfKKsjF99denX7>
.

Am I doing something wrong? Any recommendations/best practices for
referencing graphics from web addresses rather than local file paths?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210412/9acd3bed/attachment.html>


More information about the Qgis-user mailing list