-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG from URL the local files should be with file: #15940
Comments
Author Name: Giuseppe Sucameli (@brushtyler) Links must follow the "xlink":http://www.w3.org/TR/xlink/ specifications, this means that urls could also contain relative paths. QGIS stores paths into the QML files as relative to either the project path or one of the directories in QgsApplication::svgPaths(), the same approach could be used for SLD files.
|
Author Name: aperi2007 - (aperi2007 -)
This approach is quite clear to be for local files. But I don't understand how it is applied to a internet URL. |
Author Name: Giuseppe Sucameli (@brushtyler) aperi2007 - wrote:
The ticket is about local files...
No changes will be done to remote URLs, they are stored unchanged in both QML and SLD. |
Author Name: Giuseppe Sucameli (@brushtyler) Fixed in changeset "b45e2154578605bc8c7762c281308d1b6f8d2962".
|
Author Name: Giuseppe Sucameli (@brushtyler) Please, try and report if you find any problem.
|
Author Name: aperi2007 - (aperi2007 -)
Original Redmine Issue: 6792
Affected QGIS version: master
Redmine category:symbology
Assignee: Giuseppe Sucameli
Hi,
I see when save a sld file using a local SVG symbol.
The svg has a xlink:href like this:
xlink:href="C:/my-programs/OSGeo4W/apps/qgis-dev/./svg/sport/golf_flag_in_hole_on_gr_01.svg"
AFAIK it should be defined with a URI sintax like this:
file:///C:/my-programs/OSGeo4W/apps/qgis-dev/./svg/sport/golf_flag_in_hole_on_gr_01.svg
Regards.
The text was updated successfully, but these errors were encountered: