{"action":"created","issue":{"url":"https://api.github.com/repos/qissue-bot/QGIS/issues/3241","repository_url":"https://api.github.com/repos/qissue-bot/QGIS","labels_url":"https://api.github.com/repos/qissue-bot/QGIS/issues/3241/labels{/name}","comments_url":"https://api.github.com/repos/qissue-bot/QGIS/issues/3241/comments","events_url":"https://api.github.com/repos/qissue-bot/QGIS/issues/3241/events","html_url":"https://github.com/qissue-bot/QGIS/issues/3241","id":419000224,"node_id":"MDU6SXNzdWU0MTkwMDAyMjQ=","number":3241,"title":"Enhancement: option to \"trim other layers to match\"","user":{"login":"qissue-bot","id":48209181,"node_id":"MDQ6VXNlcjQ4MjA5MTgx","avatar_url":"https://avatars1.githubusercontent.com/u/48209181?v=4","gravatar_id":"","url":"https://api.github.com/users/qissue-bot","html_url":"https://github.com/qissue-bot","followers_url":"https://api.github.com/users/qissue-bot/followers","following_url":"https://api.github.com/users/qissue-bot/following{/other_user}","gists_url":"https://api.github.com/users/qissue-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/qissue-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qissue-bot/subscriptions","organizations_url":"https://api.github.com/users/qissue-bot/orgs","repos_url":"https://api.github.com/users/qissue-bot/repos","events_url":"https://api.github.com/users/qissue-bot/events{/privacy}","received_events_url":"https://api.github.com/users/qissue-bot/received_events","type":"User","site_admin":false},"labels":[{"id":1262962401,"node_id":"MDU6TGFiZWwxMjYyOTYyNDAx","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Category:%20Symbology","name":"Category: Symbology","color":"ededed","default":false},{"id":1262927830,"node_id":"MDU6TGFiZWwxMjYyOTI3ODMw","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Component:%20Easy%20fix?","name":"Component: Easy fix?","color":"ededed","default":false},{"id":1262927279,"node_id":"MDU6TGFiZWwxMjYyOTI3Mjc5","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Component:%20Pull%20Request%20or%20Patch%20supplied","name":"Component: Pull Request or Patch supplied","color":"ededed","default":false},{"id":1262927831,"node_id":"MDU6TGFiZWwxMjYyOTI3ODMx","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Component:%20Resolution","name":"Component: Resolution","color":"ededed","default":false},{"id":1262927822,"node_id":"MDU6TGFiZWwxMjYyOTI3ODIy","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Priority:%20Low","name":"Priority: Low","color":"ededed","default":false},{"id":1262927824,"node_id":"MDU6TGFiZWwxMjYyOTI3ODI0","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Project:%20QGIS%20Application","name":"Project: QGIS Application","color":"ededed","default":false},{"id":1262928739,"node_id":"MDU6TGFiZWwxMjYyOTI4NzM5","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Status:%20Open","name":"Status: Open","color":"ededed","default":false},{"id":1262927271,"node_id":"MDU6TGFiZWwxMjYyOTI3Mjcx","url":"https://api.github.com/repos/qissue-bot/QGIS/labels/Tracker:%20Feature%20request","name":"Tracker: Feature request","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/qissue-bot/QGIS/milestones/1","html_url":"https://github.com/qissue-bot/QGIS/milestone/1","labels_url":"https://api.github.com/repos/qissue-bot/QGIS/milestones/1/labels","id":4119594,"node_id":"MDk6TWlsZXN0b25lNDExOTU5NA==","number":1,"title":"Future Release - Nice to have","description":null,"creator":{"login":"qissue-bot","id":48209181,"node_id":"MDQ6VXNlcjQ4MjA5MTgx","avatar_url":"https://avatars1.githubusercontent.com/u/48209181?v=4","gravatar_id":"","url":"https://api.github.com/users/qissue-bot","html_url":"https://github.com/qissue-bot","followers_url":"https://api.github.com/users/qissue-bot/followers","following_url":"https://api.github.com/users/qissue-bot/following{/other_user}","gists_url":"https://api.github.com/users/qissue-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/qissue-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qissue-bot/subscriptions","organizations_url":"https://api.github.com/users/qissue-bot/orgs","repos_url":"https://api.github.com/users/qissue-bot/repos","events_url":"https://api.github.com/users/qissue-bot/events{/privacy}","received_events_url":"https://api.github.com/users/qissue-bot/received_events","type":"User","site_admin":false},"open_issues":62,"closed_issues":126,"state":"open","created_at":"2019-03-07T16:45:23Z","updated_at":"2019-03-08T23:44:18Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2019-03-08T23:44:18Z","updated_at":"2019-03-08T23:44:34Z","closed_at":null,"author_association":"OWNER","body":"---\n\n\nAuthor Name: **Alister Hood** (Alister Hood)\nOriginal Redmine Issue: 3253, https://issues.qgis.org/issues/3253\n\n\n\n---\n\n*Task:*\nIt would be useful to be able to use a polygon to temporarily mask other layers.\ne.g. if you have a layer of boundaries for catchments (or provinces or something), to only display content within one particular catchment.\n\n*Current way of achieving the task:*\nI think the most flexible way to achieve this at the moment is:\n1. create a set of new mask layers, by subtracting each catchment from a polygon bigger than the area of interest.  \n2. put these layers above everything else.  \n3. only turn on the mask layer which corresponds to the area of interest.  \nThis method is fine for the work I do myself, because I work with only a small number of areas.  But it would not be practical with a large number.\n\n*Proposed new feature*\nI think the best way to do it would be to add an option \"trim other layers to extent\" (there is probably a better way of wording this - some people might think \"extent\" implies a rectangular area or something).\nThis would allow the user to mask all map content outside a polygon layer or whatever subset of the layer is defined (by the query builder).\nA logical place for the option would be on the \"general\" tab in the \"layer properties\" dialogue, as this is where the layer subset is shown.\n\nN.B. sorry if I haven't picked the appropriate Component; I'm not sure which it should be.\n\n---\n\n- [untitled.JPG](https://issues.qgis.org/attachments/download/2975/untitled.JPG) (Alister Hood)"},"comment":{"url":"https://api.github.com/repos/qissue-bot/QGIS/issues/comments/471116070","html_url":"https://github.com/qissue-bot/QGIS/issues/3241#issuecomment-471116070","issue_url":"https://api.github.com/repos/qissue-bot/QGIS/issues/3241","id":471116070,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MTExNjA3MA==","user":{"login":"qissue-bot","id":48209181,"node_id":"MDQ6VXNlcjQ4MjA5MTgx","avatar_url":"https://avatars1.githubusercontent.com/u/48209181?v=4","gravatar_id":"","url":"https://api.github.com/users/qissue-bot","html_url":"https://github.com/qissue-bot","followers_url":"https://api.github.com/users/qissue-bot/followers","following_url":"https://api.github.com/users/qissue-bot/following{/other_user}","gists_url":"https://api.github.com/users/qissue-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/qissue-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qissue-bot/subscriptions","organizations_url":"https://api.github.com/users/qissue-bot/orgs","repos_url":"https://api.github.com/users/qissue-bot/repos","events_url":"https://api.github.com/users/qissue-bot/events{/privacy}","received_events_url":"https://api.github.com/users/qissue-bot/received_events","type":"User","site_admin":false},"created_at":"2019-03-08T23:44:34Z","updated_at":"2019-03-08T23:44:34Z","author_association":"OWNER","body":"---\n\nOriginal Redmine Comment\nAuthor Name: **Aren Cambre** (Aren Cambre)\nOriginal Date: 2012-08-25T04:50:34.000Z\n\n---\n\nI mean do this when you crop:\n1. Remove labels.\n2. Make the crop.\n3. Re-draw the labels in the crop for objects inside the crop.\n\n"}}
{"actor":{"display_login":"qissue-bot"}}