Re: [Qgis-user] Irregular map frame with transparent mask?
Hi Nyall, Yes, I think it would be great fit for a crowdfunding effort. Do you think that it would be possible to, at some point in time, use a layer/feature geometry instead? Thanks! I will be waiting for the next crowdfunding campaign to back it up. Alex Nyall Dawson escreveu no dia quinta, 21/06/2018 às 23:32: > On Wed, 20 Jun 2018 at 04:20, Alexandre Neto > wrote: > > > > Hi, > > > > I am looking for a way to create a map with an irregular (non-rectangle) > frame. > > > > There is blog post from Anita showing how to do it but it needs a white > mask all around the map. While I need it to be transparent. > > > > I don't think this is possible yet without going the SVGs way, but maybe > someone have so cool trick to share. > > > > As others have commented - this isn't possible properly within QGIS > yet. But I've been slowly chipping away at various underlying > requirements to allow this to happen. Most of these bits are in place > now, but we lack: > > 1. The ability to set a shape as a mask for another shape within > layouts. This should be implemented using the existing > "polygon"/shapes feature, e.g. by selecting an item and a shape and > right clicking -> "set clipping mask" > > 2. Some code to push this masking shape down into the renderer - > specifically to set the map boundary polygon for the labeling engine > (so that the labeling engine knows if a label will be cut off/visible > inside the clipping shape) > > 3. Handling for grids with clipping masks > > This might be a good candidate for inclusion in the next round of > print layout crowd funding I'll add it to the list! > > Nyall > -- Alexandre Neto - @AlexNetoGeo http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Irregular map frame with transparent mask?
On Wed, 20 Jun 2018 at 04:20, Alexandre Neto wrote: > > Hi, > > I am looking for a way to create a map with an irregular (non-rectangle) > frame. > > There is blog post from Anita showing how to do it but it needs a white mask > all around the map. While I need it to be transparent. > > I don't think this is possible yet without going the SVGs way, but maybe > someone have so cool trick to share. > As others have commented - this isn't possible properly within QGIS yet. But I've been slowly chipping away at various underlying requirements to allow this to happen. Most of these bits are in place now, but we lack: 1. The ability to set a shape as a mask for another shape within layouts. This should be implemented using the existing "polygon"/shapes feature, e.g. by selecting an item and a shape and right clicking -> "set clipping mask" 2. Some code to push this masking shape down into the renderer - specifically to set the map boundary polygon for the labeling engine (so that the labeling engine knows if a label will be cut off/visible inside the clipping shape) 3. Handling for grids with clipping masks This might be a good candidate for inclusion in the next round of print layout crowd funding I'll add it to the list! Nyall ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Irregular map frame with transparent mask?
Hi Alex, this is not really supported atm in the composer. There are two blog posts which might get you going to achieve something similar than your example. But grids will definitely be a problem: https://anitagraser.com/2016/05/01/how-to-create-round-maps-in-print-composer/ https://smathermather.com/2013/04/09/quantum-gis-compositing-continued/ best, Frank Dipl. Geogr. Frank Broniewski Waldhölzbacher Str. 51 66679 Losheim am See 06872 509 068 4 0176 611 26 9 2 6 <http://www.frankbroniewski.com> www.frankbroniewski.com Von: Alexandre Neto Gesendet: Mittwoch, 20. Juni 2018 13:06 An: rich...@duif.net Cc: Frank Broniewski ; Phil Wyatt ; QGIS User Betreff: Re: [Qgis-user] Irregular map frame with transparent mask? Thanks guys for your suggestions. Unfortunatly this was not what I was looking for. I was looking for a mask in the Layouts window. And I would like it to be full transparent regarding other elements of the layout. Following the example of the video, I would like to have a map item with the shape of that country. but I would like to see the layout items that are around the map. Cherry on top of the cake: that the grids still work fine with labels around the edges of the irregular shape. I hate cite ESRI but here it goes... Something like this image: https://community.esri.com/servlet/JiveServlet/showImage/2-753103-397442/pastedImage_2.png Thanks, Alex Richard Duivenvoorde mailto:rdmaili...@duif.net> > escreveu no dia quarta, 20/06/2018 às 08:56: Works like a charm. Thanks Frank for the tip! Quick and easy: - copy a feature - paste as memory layer - put it on top - choose 'Inverted polygons' as Symbology - fiddle with transparency Is worth a blog post somewhere if you ask me :-) Regards, Richard Duivenvoorde On 20-06-18 08:39, Frank Broniewski wrote: > The process in this video is really outdated, there’s an „inverted > polygon“ renderer which does the same without having to go through all > the hassle. You can find the renderer where you „select single symbol“, > „categorized“ etc. > > > > HHT > Frank > > > > Dipl. Geogr. Frank Broniewski > > Waldhölzbacher Str. 51 > > 66679 Losheim am See > > 06872 509 068 4 > > 0176 611 26 9 2 6 > > www.frankbroniewski.com <http://www.frankbroniewski.com> > <http://www.frankbroniewski.com> > > > > > > > > *Von:*Qgis-user <mailto:qgis-user-boun...@lists.osgeo.org> > *Im Auftrag von > *Phil Wyatt > *Gesendet:* Mittwoch, 20. Juni 2018 03:47 > *An:* 'Alexandre Neto' mailto:senhor.n...@gmail.com> > >; 'QGIS User' > mailto:qgis-user@lists.osgeo.org> > > *Betreff:* Re: [Qgis-user] Irregular map frame with transparent mask? > > > > Does this video show what you want to achieve? > > > > https://www.youtube.com/watch?v=6h5kT2--xBM > > > > Cheers - Phil > > > > *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org > <mailto:qgis-user-boun...@lists.osgeo.org> ] *On Behalf > Of *Alexandre Neto > *Sent:* Wednesday, 20 June 2018 4:20 AM > *To:* QGIS User > *Subject:* [Qgis-user] Irregular map frame with transparent mask? > > > > Hi, > > > > I am looking for a way to create a map with an irregular (non-rectangle) > frame. > > > > There is blog post from Anita showing how to do it but it needs a white > mask all around the map. While I need it to be transparent. > > > > I don't think this is possible yet without going the SVGs way, but maybe > someone have so cool trick to share. > > > > Thanks > > -- > > Alexandre Neto > > - > > @AlexNetoGeo > > http://sigsemgrilhetas.wordpress.com > > http://gisunchained.wordpress.com > > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > -- Alexandre Neto - @AlexNetoGeo http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com smime.p7s Description: S/MIME cryptographic signature ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Irregular map frame with transparent mask?
Ok, I fail on the grid labels around the province border... But this is still not what you are looking for? http://pix.toile-libre.org/upload/original/1529494583.png I do not get your point is my feeling :-) Richard On 20-06-18 13:05, Alexandre Neto wrote: > Thanks guys for your suggestions. > > Unfortunatly this was not what I was looking for. I was looking for a > mask in the Layouts window. And I would like it to be full transparent > regarding other elements of the layout. > > Following the example of the video, I would like to have a map item with > the shape of that country. but I would like to see the layout items that > are around the map. > > Cherry on top of the cake: that the grids still work fine with labels > around the edges of the irregular shape. > > I hate cite ESRI but here it goes... Something like this image: > > https://community.esri.com/servlet/JiveServlet/showImage/2-753103-397442/pastedImage_2.png > > Thanks, > > Alex > > Richard Duivenvoorde mailto:rdmaili...@duif.net>> > escreveu no dia quarta, 20/06/2018 às 08:56: > > Works like a charm. > > Thanks Frank for the tip! Quick and easy: > - copy a feature > - paste as memory layer > - put it on top > - choose 'Inverted polygons' as Symbology > - fiddle with transparency > > Is worth a blog post somewhere if you ask me :-) > > Regards, > > Richard Duivenvoorde > > On 20-06-18 08:39, Frank Broniewski wrote: > > The process in this video is really outdated, there’s an „inverted > > polygon“ renderer which does the same without having to go through all > > the hassle. You can find the renderer where you „select single > symbol“, > > „categorized“ etc. > > > > > > > > HHT > > Frank > > > > > > > > Dipl. Geogr. Frank Broniewski > > > > Waldhölzbacher Str. 51 > > > > 66679 Losheim am See > > > > 06872 509 068 4 > > > > 0176 611 26 9 2 6 > > > > www.frankbroniewski.com <http://www.frankbroniewski.com> > <http://www.frankbroniewski.com> > > > > > > > > > > > > > > > > *Von:*Qgis-user <mailto:qgis-user-boun...@lists.osgeo.org>> *Im Auftrag von > > *Phil Wyatt > > *Gesendet:* Mittwoch, 20. Juni 2018 03:47 > > *An:* 'Alexandre Neto' <mailto:senhor.n...@gmail.com>>; 'QGIS User' > > mailto:qgis-user@lists.osgeo.org>> > > *Betreff:* Re: [Qgis-user] Irregular map frame with transparent mask? > > > > > > > > Does this video show what you want to achieve? > > > > > > > > https://www.youtube.com/watch?v=6h5kT2--xBM > > > > > > > > Cheers - Phil > > > > > > > > *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org > <mailto:qgis-user-boun...@lists.osgeo.org>] *On Behalf > > Of *Alexandre Neto > > *Sent:* Wednesday, 20 June 2018 4:20 AM > > *To:* QGIS User > > *Subject:* [Qgis-user] Irregular map frame with transparent mask? > > > > > > > > Hi, > > > > > > > > I am looking for a way to create a map with an irregular > (non-rectangle) > > frame. > > > > > > > > There is blog post from Anita showing how to do it but it needs a > white > > mask all around the map. While I need it to be transparent. > > > > > > > > I don't think this is possible yet without going the SVGs way, but > maybe > > someone have so cool trick to share. > > > > > > > > Thanks > > > > -- > > > > Alexandre Neto > > > > - > > > > @AlexNetoGeo > > > > http://sigsemgrilhetas.wordpress.com > > > > http://gisunchained.wordpress.com > > > > > > > > ___ > > Qgis-user mailing list > > Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org> > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > > > -- > Alexandre Neto > - > @AlexNetoGeo > http://sigsemgrilhetas.wordpress.com > http://gisunchained.wordpress.com > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Irregular map frame with transparent mask?
Thanks guys for your suggestions. Unfortunatly this was not what I was looking for. I was looking for a mask in the Layouts window. And I would like it to be full transparent regarding other elements of the layout. Following the example of the video, I would like to have a map item with the shape of that country. but I would like to see the layout items that are around the map. Cherry on top of the cake: that the grids still work fine with labels around the edges of the irregular shape. I hate cite ESRI but here it goes... Something like this image: https://community.esri.com/servlet/JiveServlet/showImage/2-753103-397442/pastedImage_2.png Thanks, Alex Richard Duivenvoorde escreveu no dia quarta, 20/06/2018 às 08:56: > Works like a charm. > > Thanks Frank for the tip! Quick and easy: > - copy a feature > - paste as memory layer > - put it on top > - choose 'Inverted polygons' as Symbology > - fiddle with transparency > > Is worth a blog post somewhere if you ask me :-) > > Regards, > > Richard Duivenvoorde > > On 20-06-18 08:39, Frank Broniewski wrote: > > The process in this video is really outdated, there’s an „inverted > > polygon“ renderer which does the same without having to go through all > > the hassle. You can find the renderer where you „select single symbol“, > > „categorized“ etc. > > > > > > > > HHT > > Frank > > > > > > > > Dipl. Geogr. Frank Broniewski > > > > Waldhölzbacher Str. 51 > > > > 66679 Losheim am See > > > > 06872 509 068 4 > > > > 0176 611 26 9 2 6 > > > > www.frankbroniewski.com <http://www.frankbroniewski.com> > > > > > > > > > > > > > > > > *Von:*Qgis-user *Im Auftrag von > > *Phil Wyatt > > *Gesendet:* Mittwoch, 20. Juni 2018 03:47 > > *An:* 'Alexandre Neto' ; 'QGIS User' > > > > *Betreff:* Re: [Qgis-user] Irregular map frame with transparent mask? > > > > > > > > Does this video show what you want to achieve? > > > > > > > > https://www.youtube.com/watch?v=6h5kT2--xBM > > > > > > > > Cheers - Phil > > > > > > > > *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On Behalf > > Of *Alexandre Neto > > *Sent:* Wednesday, 20 June 2018 4:20 AM > > *To:* QGIS User > > *Subject:* [Qgis-user] Irregular map frame with transparent mask? > > > > > > > > Hi, > > > > > > > > I am looking for a way to create a map with an irregular (non-rectangle) > > frame. > > > > > > > > There is blog post from Anita showing how to do it but it needs a white > > mask all around the map. While I need it to be transparent. > > > > > > > > I don't think this is possible yet without going the SVGs way, but maybe > > someone have so cool trick to share. > > > > > > > > Thanks > > > > -- > > > > Alexandre Neto > > > > - > > > > @AlexNetoGeo > > > > http://sigsemgrilhetas.wordpress.com > > > > http://gisunchained.wordpress.com > > > > > > > > ___ > > Qgis-user mailing list > > Qgis-user@lists.osgeo.org > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > > > -- Alexandre Neto - @AlexNetoGeo http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Irregular map frame with transparent mask?
Works like a charm. Thanks Frank for the tip! Quick and easy: - copy a feature - paste as memory layer - put it on top - choose 'Inverted polygons' as Symbology - fiddle with transparency Is worth a blog post somewhere if you ask me :-) Regards, Richard Duivenvoorde On 20-06-18 08:39, Frank Broniewski wrote: > The process in this video is really outdated, there’s an „inverted > polygon“ renderer which does the same without having to go through all > the hassle. You can find the renderer where you „select single symbol“, > „categorized“ etc. > > > > HHT > Frank > > > > Dipl. Geogr. Frank Broniewski > > Waldhölzbacher Str. 51 > > 66679 Losheim am See > > 06872 509 068 4 > > 0176 611 26 9 2 6 > > www.frankbroniewski.com <http://www.frankbroniewski.com> > > > > > > > > *Von:*Qgis-user *Im Auftrag von > *Phil Wyatt > *Gesendet:* Mittwoch, 20. Juni 2018 03:47 > *An:* 'Alexandre Neto' ; 'QGIS User' > > *Betreff:* Re: [Qgis-user] Irregular map frame with transparent mask? > > > > Does this video show what you want to achieve? > > > > https://www.youtube.com/watch?v=6h5kT2--xBM > > > > Cheers - Phil > > > > *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On Behalf > Of *Alexandre Neto > *Sent:* Wednesday, 20 June 2018 4:20 AM > *To:* QGIS User > *Subject:* [Qgis-user] Irregular map frame with transparent mask? > > > > Hi, > > > > I am looking for a way to create a map with an irregular (non-rectangle) > frame. > > > > There is blog post from Anita showing how to do it but it needs a white > mask all around the map. While I need it to be transparent. > > > > I don't think this is possible yet without going the SVGs way, but maybe > someone have so cool trick to share. > > > > Thanks > > -- > > Alexandre Neto > > - > > @AlexNetoGeo > > http://sigsemgrilhetas.wordpress.com > > http://gisunchained.wordpress.com > > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Irregular map frame with transparent mask?
The process in this video is really outdated, there’s an „inverted polygon“ renderer which does the same without having to go through all the hassle. You can find the renderer where you „select single symbol“, „categorized“ etc. HHT Frank Dipl. Geogr. Frank Broniewski Waldhölzbacher Str. 51 66679 Losheim am See 06872 509 068 4 0176 611 26 9 2 6 <http://www.frankbroniewski.com> www.frankbroniewski.com Von: Qgis-user Im Auftrag von Phil Wyatt Gesendet: Mittwoch, 20. Juni 2018 03:47 An: 'Alexandre Neto' ; 'QGIS User' Betreff: Re: [Qgis-user] Irregular map frame with transparent mask? Does this video show what you want to achieve? https://www.youtube.com/watch?v=6h5kT2--xBM Cheers - Phil From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Alexandre Neto Sent: Wednesday, 20 June 2018 4:20 AM To: QGIS User Subject: [Qgis-user] Irregular map frame with transparent mask? Hi, I am looking for a way to create a map with an irregular (non-rectangle) frame. There is blog post from Anita showing how to do it but it needs a white mask all around the map. While I need it to be transparent. I don't think this is possible yet without going the SVGs way, but maybe someone have so cool trick to share. Thanks -- Alexandre Neto - @AlexNetoGeo http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com smime.p7s Description: S/MIME cryptographic signature ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Irregular map frame with transparent mask?
Does this video show what you want to achieve? https://www.youtube.com/watch?v=6h5kT2--xBM Cheers - Phil From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Alexandre Neto Sent: Wednesday, 20 June 2018 4:20 AM To: QGIS User Subject: [Qgis-user] Irregular map frame with transparent mask? Hi, I am looking for a way to create a map with an irregular (non-rectangle) frame. There is blog post from Anita showing how to do it but it needs a white mask all around the map. While I need it to be transparent. I don't think this is possible yet without going the SVGs way, but maybe someone have so cool trick to share. Thanks -- Alexandre Neto - @AlexNetoGeo http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Irregular map frame with transparent mask?
Hi, I am looking for a way to create a map with an irregular (non-rectangle) frame. There is blog post from Anita showing how to do it but it needs a white mask all around the map. While I need it to be transparent. I don't think this is possible yet without going the SVGs way, but maybe someone have so cool trick to share. Thanks -- Alexandre Neto - @AlexNetoGeo http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user