Opened 15 years ago

Closed 15 years ago

#2027 closed enhancement (fixed)

SVG symbols should be stored locally and permanently, similar to installed python plugins

Reported by: jctull Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.4.0
Component: Symbology Version: Trunk
Keywords: svg symbol storage Cc:
Must Fix for Release: No Platform: OS X
Platform Version: 10.6.1 Awaiting user input: no

Description

The current structure for adding new symbols on OS X is pretty poor (perhaps on other OS's as well?). It requires the user to copy the relevant svg files to a location inside of an application bundle. Hence, the changes have to be done with every update of the program. In other words, updating Qgis is destroys symbols that the user has made available.

It would be much better if there was an svg directory inside of the same directory where plugins are stored, ~/.qgis on OS X. This would maintain symbols across versions and new builds of the program, and it would greatly simplify adding svg symbols on a per-user basis.

Ideally, there would be an interface feature in Qgis where one can click an "Add SVG Symbols" button that would bring up a file dialog. The user would select the file or files they want to have added, and Qgis would copy them to ~/.qgis/svg. Additionally, allowing the user to choose an available category or create a new category (this category would become a subfolder in .qgis/svg/) for organizing newly added symbols. This would be a very user-friendly approach to making new symbols permanently available and well-organized.

Adding this functionality in tandem with an svg repo system would be really handy. This idea is covered in ticket #1063: http://trac.osgeo.org/qgis/ticket/1063

Additional thoughts on organizing svg symbols, and making use of this organizational structure in Qgis are covered in ticket #1066: http://trac.osgeo.org/qgis/ticket/1066

Change History (3)

comment:1 by jef, 15 years ago

support for ~/.qgis/svg added in r11838

comment:2 by jctull, 15 years ago

I will leave this open until some followup on possible enhancements to the GUI are addressed. Having the ability to add symbols from either a preferences feature or within the symbology tab of a vector layer would still be useful. Hopefully this will be touched on at the upcoming Vienna hackfest.

in reply to:  2 comment:3 by jef, 15 years ago

Resolution: fixed
Status: newclosed

Replying to jctull:

I will leave this open until some followup on possible enhancements to the GUI are addressed. Having the ability to add symbols from either a preferences feature or within the symbology tab of a vector layer would still be useful. Hopefully this will be touched on at the upcoming Vienna hackfest.

Tim added support for adding new directories in the options in r11844 and reloading symbol list using the context menu in the symbol list was already there. So I think we're set.

Note: See TracTickets for help on using tickets.