{"action":"created","issue":{"url":"https://api.github.com/repos/qgis/QGIS/issues/3871","repository_url":"https://api.github.com/repos/qgis/QGIS","labels_url":"https://api.github.com/repos/qgis/QGIS/issues/3871/labels{/name}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/3871/comments","events_url":"https://api.github.com/repos/qgis/QGIS/issues/3871/events","html_url":"https://github.com/qgis/QGIS/pull/3871","id":195702382,"number":3871,"title":"[FEATURE] Implement raster auto-stretching when updating canvas","user":{"login":"rouault","id":1192433,"avatar_url":"https://avatars.githubusercontent.com/u/1192433?v=3","gravatar_id":"","url":"https://api.github.com/users/rouault","html_url":"https://github.com/rouault","followers_url":"https://api.github.com/users/rouault/followers","following_url":"https://api.github.com/users/rouault/following{/other_user}","gists_url":"https://api.github.com/users/rouault/gists{/gist_id}","starred_url":"https://api.github.com/users/rouault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouault/subscriptions","organizations_url":"https://api.github.com/users/rouault/orgs","repos_url":"https://api.github.com/users/rouault/repos","events_url":"https://api.github.com/users/rouault/events{/privacy}","received_events_url":"https://api.github.com/users/rouault/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-12-15T02:39:31Z","updated_at":"2016-12-16T01:56:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/3871","html_url":"https://github.com/qgis/QGIS/pull/3871","diff_url":"https://github.com/qgis/QGIS/pull/3871.diff","patch_url":"https://github.com/qgis/QGIS/pull/3871.patch"},"body":"This commit implements the improvements described at:\r\nhttps://lists.osgeo.org/pipermail/qgis-developer/2016-September/044393.html\r\n\r\nThe QgsRasterMinMaxWidget now offers a seetting to specify that the statistics\r\nshould be computed each time the canvas extent changes.\r\n\r\nOther changes:\r\n- the content of the QgsRasterMinMaxWidget is now persistant.\r\n- there is no longer any Load button. The global Apply / OK button of the raster\r\n  properties dialog has this effect.\r\n- the default \"limits\" for single band raster is now MinMax and not CumulativeCut\r\n- the default \"limits\" can be configured for single band, multi band single byte and\r\n  multi band multi byte\r\n- \"Strech using current extent\" honours the \"limits\" instead of forcing min/max."},"comment":{"url":"https://api.github.com/repos/qgis/QGIS/issues/comments/267497826","html_url":"https://github.com/qgis/QGIS/pull/3871#issuecomment-267497826","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/3871","id":267497826,"user":{"login":"nirvn","id":1728657,"avatar_url":"https://avatars.githubusercontent.com/u/1728657?v=3","gravatar_id":"","url":"https://api.github.com/users/nirvn","html_url":"https://github.com/nirvn","followers_url":"https://api.github.com/users/nirvn/followers","following_url":"https://api.github.com/users/nirvn/following{/other_user}","gists_url":"https://api.github.com/users/nirvn/gists{/gist_id}","starred_url":"https://api.github.com/users/nirvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirvn/subscriptions","organizations_url":"https://api.github.com/users/nirvn/orgs","repos_url":"https://api.github.com/users/nirvn/repos","events_url":"https://api.github.com/users/nirvn/events{/privacy}","received_events_url":"https://api.github.com/users/nirvn/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T01:56:59Z","updated_at":"2016-12-16T01:56:59Z","body":"@rouault , also, I noticed the absence of an \"updated canvas\" mode for the singleband pseudocolor. It'd be great to add that mode too both for consistancy across renderers, as well as practical uses when analyzing LiDAR data, etc.\r\n\r\nIt'd \"simply\" require to move the classification code out of UI into the renderer itself. It wasn't possible until recently, when I updated the renderer to store the source color ramp used to create the raster ramp. "}}
{"actor":{"display_login":"nirvn"}}