{"action":"created","comment":{"url":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/comments/80454498","id":80454498,"diff_hunk":"@@ -471,6 +471,143 @@ tab and select or deselect the following checkboxes:\n   they quickly display.\n   Be aware that you can also face rendering inconsistencies.\n \n+\n+.. index:: Save properties, Save style, QML, SLD\n+.. _save_layer_property:\n+\n+Save and Share Layer Properties\n+================================\n+\n+.. _manage_custom_style:\n+\n+Managing Custom Styles\n+-----------------------\n+\n+When a layer is added to map canvas, QGIS uses by default a random symbol/color\n+to render its features. You can however set a default symbol in\n+:menuselection:`Project --> Project Properties --> Default styles` that will be applied\n+to each newly added layer according to its geometry type.\n+\n+But, most of the time, you'd prefer to have a custom and more complex style\n+that can be applied automatically or manually (with less efforts) to the layers.\n+You can achieve this goal using the :menuselection:`Style` combobox at the bottom of\n+the Layer Properties dialog. This combobox provides you with functions to create,\n+load and manage styles.\n+\n+A style stores any information set in the layer properties dialog to render\n+or interact with the features (including symbology, labeling, action, diagram...\n+settings) for vector layer or the pixels (band or color rendering, transparency,\n+pyramids, histogram ...) for raster.\n+\n+.. only:: html\n+\n+   **Figure Manage Style:**\n+\n+.. _figure_manage_style:\n+\n+.. figure:: /static/user_manual/working_with_vector/style_combobox.png\n+   :align: center\n+\n+   Style combobox options\n+\n+By default, the style applied to a loaded layer is named ``default``. Once you\n+have got the ideal and appropriate rendering for your layer, you can save it by\n+clicking the |selectString| :menuselection:`Style` combobox and choose:\n+\n+* **Rename Current**: The active style gets renamed and updated with the current options\n+* **Add**: A new style is created using the current options. By default, it will be saved\n+  in the QGIS project file. See below to save the style in a database.\n+\n+At the bottom of the Style drop-down list, you see the styles set for the layer\n+and the active one is checked. Once you have more than one style defined for a\n+layer, a **Remove Current** option can help you delete those you no longer want.\n+\n+Note that each time you validate the layer properties dialog, the active style\n+is updated with the changes you've done.\n+\n+You can create as many styles as you wish for a layer but only one can be active\n+at a time. Combined to layer visibility preset, this offers a quick and powerful\n+way to manage complex projects with few layers (no need to duplicate any layer in\n+the map legend).\n+\n+.. tip:: **Manage styles from layer context menu**\n+\n+   Right-click on the layer in :guilabel:`Layers Panel` to add, rename\n+   or remove layer style. You can also edit feature symbols.\n+\n+.. _store_style:\n+\n+Storing Style in a File or a Database","path":"source/docs/user_manual/introduction/general_tools.rst","position":70,"original_position":70,"commit_id":"ba75c5eb582eab8751c195ef7b4ac9cd4b0cb172","original_commit_id":"ba75c5eb582eab8751c195ef7b4ac9cd4b0cb172","user":{"login":"yjacolin","id":660191,"avatar_url":"https://avatars.githubusercontent.com/u/660191?v=3","gravatar_id":"","url":"https://api.github.com/users/yjacolin","html_url":"https://github.com/yjacolin","followers_url":"https://api.github.com/users/yjacolin/followers","following_url":"https://api.github.com/users/yjacolin/following{/other_user}","gists_url":"https://api.github.com/users/yjacolin/gists{/gist_id}","starred_url":"https://api.github.com/users/yjacolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjacolin/subscriptions","organizations_url":"https://api.github.com/users/yjacolin/orgs","repos_url":"https://api.github.com/users/yjacolin/repos","events_url":"https://api.github.com/users/yjacolin/events{/privacy}","received_events_url":"https://api.github.com/users/yjacolin/received_events","type":"User","site_admin":false},"body":"We ara talking about **storing style in a DB**, not the data itself ;)","created_at":"2016-09-26T11:21:08Z","updated_at":"2016-09-26T11:21:08Z","html_url":"https://github.com/qgis/QGIS-Documentation/pull/1422#discussion_r80454498","pull_request_url":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422","_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/comments/80454498"},"html":{"href":"https://github.com/qgis/QGIS-Documentation/pull/1422#discussion_r80454498"},"pull_request":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422"}}},"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422","id":86403771,"html_url":"https://github.com/qgis/QGIS-Documentation/pull/1422","diff_url":"https://github.com/qgis/QGIS-Documentation/pull/1422.diff","patch_url":"https://github.com/qgis/QGIS-Documentation/pull/1422.patch","issue_url":"https://api.github.com/repos/qgis/QGIS-Documentation/issues/1422","number":1422,"state":"open","locked":false,"title":"Move the \"save style\" combobox description ","user":{"login":"DelazJ","id":7983394,"avatar_url":"https://avatars.githubusercontent.com/u/7983394?v=3","gravatar_id":"","url":"https://api.github.com/users/DelazJ","html_url":"https://github.com/DelazJ","followers_url":"https://api.github.com/users/DelazJ/followers","following_url":"https://api.github.com/users/DelazJ/following{/other_user}","gists_url":"https://api.github.com/users/DelazJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DelazJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DelazJ/subscriptions","organizations_url":"https://api.github.com/users/DelazJ/orgs","repos_url":"https://api.github.com/users/DelazJ/repos","events_url":"https://api.github.com/users/DelazJ/events{/privacy}","received_events_url":"https://api.github.com/users/DelazJ/received_events","type":"User","site_admin":false},"body":"from vector layer properties chapter to \"general tools\" as it applies to both raster and vector","created_at":"2016-09-22T19:58:05Z","updated_at":"2016-09-26T11:21:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba3946780ff7bd8dd276ea84b147f5d4931ab28c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422/commits","review_comments_url":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422/comments","review_comment_url":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgis/QGIS-Documentation/issues/1422/comments","statuses_url":"https://api.github.com/repos/qgis/QGIS-Documentation/statuses/ba75c5eb582eab8751c195ef7b4ac9cd4b0cb172","head":{"label":"DelazJ:savestyle","ref":"savestyle","sha":"ba75c5eb582eab8751c195ef7b4ac9cd4b0cb172","user":{"login":"DelazJ","id":7983394,"avatar_url":"https://avatars.githubusercontent.com/u/7983394?v=3","gravatar_id":"","url":"https://api.github.com/users/DelazJ","html_url":"https://github.com/DelazJ","followers_url":"https://api.github.com/users/DelazJ/followers","following_url":"https://api.github.com/users/DelazJ/following{/other_user}","gists_url":"https://api.github.com/users/DelazJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DelazJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DelazJ/subscriptions","organizations_url":"https://api.github.com/users/DelazJ/orgs","repos_url":"https://api.github.com/users/DelazJ/repos","events_url":"https://api.github.com/users/DelazJ/events{/privacy}","received_events_url":"https://api.github.com/users/DelazJ/received_events","type":"User","site_admin":false},"repo":{"id":31929251,"name":"QGIS-Documentation","full_name":"DelazJ/QGIS-Documentation","owner":{"login":"DelazJ","id":7983394,"avatar_url":"https://avatars.githubusercontent.com/u/7983394?v=3","gravatar_id":"","url":"https://api.github.com/users/DelazJ","html_url":"https://github.com/DelazJ","followers_url":"https://api.github.com/users/DelazJ/followers","following_url":"https://api.github.com/users/DelazJ/following{/other_user}","gists_url":"https://api.github.com/users/DelazJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DelazJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DelazJ/subscriptions","organizations_url":"https://api.github.com/users/DelazJ/orgs","repos_url":"https://api.github.com/users/DelazJ/repos","events_url":"https://api.github.com/users/DelazJ/events{/privacy}","received_events_url":"https://api.github.com/users/DelazJ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DelazJ/QGIS-Documentation","description":"","fork":true,"url":"https://api.github.com/repos/DelazJ/QGIS-Documentation","forks_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/forks","keys_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/teams","hooks_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/hooks","issue_events_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/issues/events{/number}","events_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/events","assignees_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/assignees{/user}","branches_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/branches{/branch}","tags_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/tags","blobs_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/languages","stargazers_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/stargazers","contributors_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/contributors","subscribers_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/subscribers","subscription_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/subscription","commits_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/contents/{+path}","compare_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/merges","archive_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/downloads","issues_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/issues{/number}","pulls_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/labels{/name}","releases_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/releases{/id}","deployments_url":"https://api.github.com/repos/DelazJ/QGIS-Documentation/deployments","created_at":"2015-03-10T00:01:56Z","updated_at":"2016-01-12T19:59:47Z","pushed_at":"2016-09-25T22:47:02Z","git_url":"git://github.com/DelazJ/QGIS-Documentation.git","ssh_url":"git@github.com:DelazJ/QGIS-Documentation.git","clone_url":"https://github.com/DelazJ/QGIS-Documentation.git","svn_url":"https://github.com/DelazJ/QGIS-Documentation","homepage":null,"size":471799,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"qgis:master","ref":"master","sha":"29b774c336f43efd0408421517e5cbf617ce1590","user":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"repo":{"id":8466379,"name":"QGIS-Documentation","full_name":"qgis/QGIS-Documentation","owner":{"login":"qgis","id":483444,"avatar_url":"https://avatars.githubusercontent.com/u/483444?v=3","gravatar_id":"","url":"https://api.github.com/users/qgis","html_url":"https://github.com/qgis","followers_url":"https://api.github.com/users/qgis/followers","following_url":"https://api.github.com/users/qgis/following{/other_user}","gists_url":"https://api.github.com/users/qgis/gists{/gist_id}","starred_url":"https://api.github.com/users/qgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgis/subscriptions","organizations_url":"https://api.github.com/users/qgis/orgs","repos_url":"https://api.github.com/users/qgis/repos","events_url":"https://api.github.com/users/qgis/events{/privacy}","received_events_url":"https://api.github.com/users/qgis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qgis/QGIS-Documentation","description":"","fork":false,"url":"https://api.github.com/repos/qgis/QGIS-Documentation","forks_url":"https://api.github.com/repos/qgis/QGIS-Documentation/forks","keys_url":"https://api.github.com/repos/qgis/QGIS-Documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qgis/QGIS-Documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qgis/QGIS-Documentation/teams","hooks_url":"https://api.github.com/repos/qgis/QGIS-Documentation/hooks","issue_events_url":"https://api.github.com/repos/qgis/QGIS-Documentation/issues/events{/number}","events_url":"https://api.github.com/repos/qgis/QGIS-Documentation/events","assignees_url":"https://api.github.com/repos/qgis/QGIS-Documentation/assignees{/user}","branches_url":"https://api.github.com/repos/qgis/QGIS-Documentation/branches{/branch}","tags_url":"https://api.github.com/repos/qgis/QGIS-Documentation/tags","blobs_url":"https://api.github.com/repos/qgis/QGIS-Documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qgis/QGIS-Documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qgis/QGIS-Documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/qgis/QGIS-Documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qgis/QGIS-Documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/qgis/QGIS-Documentation/languages","stargazers_url":"https://api.github.com/repos/qgis/QGIS-Documentation/stargazers","contributors_url":"https://api.github.com/repos/qgis/QGIS-Documentation/contributors","subscribers_url":"https://api.github.com/repos/qgis/QGIS-Documentation/subscribers","subscription_url":"https://api.github.com/repos/qgis/QGIS-Documentation/subscription","commits_url":"https://api.github.com/repos/qgis/QGIS-Documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/qgis/QGIS-Documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/qgis/QGIS-Documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/qgis/QGIS-Documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/qgis/QGIS-Documentation/contents/{+path}","compare_url":"https://api.github.com/repos/qgis/QGIS-Documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qgis/QGIS-Documentation/merges","archive_url":"https://api.github.com/repos/qgis/QGIS-Documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qgis/QGIS-Documentation/downloads","issues_url":"https://api.github.com/repos/qgis/QGIS-Documentation/issues{/number}","pulls_url":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/qgis/QGIS-Documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/qgis/QGIS-Documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qgis/QGIS-Documentation/labels{/name}","releases_url":"https://api.github.com/repos/qgis/QGIS-Documentation/releases{/id}","deployments_url":"https://api.github.com/repos/qgis/QGIS-Documentation/deployments","created_at":"2013-02-27T21:54:56Z","updated_at":"2016-09-20T08:50:55Z","pushed_at":"2016-09-26T10:50:35Z","git_url":"git://github.com/qgis/QGIS-Documentation.git","ssh_url":"git@github.com:qgis/QGIS-Documentation.git","clone_url":"https://github.com/qgis/QGIS-Documentation.git","svn_url":"https://github.com/qgis/QGIS-Documentation","homepage":null,"size":621747,"stargazers_count":52,"watchers_count":52,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":174,"mirror_url":null,"open_issues_count":167,"forks":174,"open_issues":167,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422"},"html":{"href":"https://github.com/qgis/QGIS-Documentation/pull/1422"},"issue":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/issues/1422"},"comments":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/issues/1422/comments"},"review_comments":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422/comments"},"review_comment":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/pulls/1422/commits"},"statuses":{"href":"https://api.github.com/repos/qgis/QGIS-Documentation/statuses/ba75c5eb582eab8751c195ef7b4ac9cd4b0cb172"}}}}
{"actor":{"display_login":"yjacolin"}}