Re: [Qgis-user] QGIS Server - serve WMS with basic authentication

2021-06-17 Thread Germán Carrillo
Hi Marco,


I published a blog where I configured permissions based on user roles for a
QGIS Server workshop.
Keep in mind that it was just a demo. It was based on some plugin examples
by Alessandro Pasotti.

One single project, one single WMS, several user roles and different
permissions (based on spatial and non-spatial filters) per role.

You can read here [1] the instructions.
They are unfortunately only in Spanish. Even though I created an English
version, we are migrating the whole website at the moment, so it's
unavailable.
I hope you manage to translate them.


BTW, according to your use case, you would need to focus on
"layerPermissions" (see the link Thomas posted earlier in this thread).


Regards,

Germán

[1]
https://geotux.tuxfamily.org/2019/05/07/accediendo-a-datos-de-qgis-server-con-base-en-roles-de-usuario/#qs-10


El jue, 17 jun 2021 a las 16:45, Thomas Gratier (<
osgeo.mailingl...@gmail.com>) escribió:

> Hi,
>
> You may create a QGIS Server plugin to manage your permissions e.g
> https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#accesscontrol-py
>
> Regards
>
> Thomas
> ___
> 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


[Qgis-user] I can not find the GRASS plugin in my QGIS 3.18.3

2021-06-17 Thread Jorge Rangel Aldao
Dear Fellows,

I need your help to be able to find or have the GRASS plugin in my QGIS
v.3.18.3.

Thanks for your time


Jorge E. Rangel
___
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] QGIS Server - serve WMS with basic authentication

2021-06-17 Thread Thomas Gratier
Hi,

You may create a QGIS Server plugin to manage your permissions e.g
https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#accesscontrol-py

Regards

Thomas
___
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] remove slivers

2021-06-17 Thread Bernhard Ströbl

Hi Ursula,
try "eliminate selected polygons" from the processing toolbox
first step is to select, normally you would use the area-circumference 
ratio for the selection

second step "eliminate selected polygons"
Bernhard

Am 17.06.2021 um 15:33 schrieb Ursula Heinze:

Hi,
I do have a problem with sliver polygons in my layer. I read, that 
v.clean could be used to solve it, but I can´t access it.
Is there any easy method to automatically remove slivers? They are far 
too many to work with the Topology checker.

Thank you very much in advance!
Ursula


__ Information from ESET Mail Security, version of virus 
signature database 23478 (20210617) __


The message was checked by ESET Mail Security.
http://www.eset.com <http://www.eset.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




__ Information from ESET Mail Security, version of virus signature 
database 23478 (20210617) __

The message was checked by ESET Mail Security.
http://www.eset.com






__ Information from ESET Mail Security, version of virus signature 
database 23478 (20210617) __

The message was checked by ESET Mail Security.
http://www.eset.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] Geometry generator - reduce line

2021-06-17 Thread Dario C
I solved the second part (label) using geometries generator also in the
location of the label
using the same geometry of the line
make_line( start_point( $geometry), translate( centroid( $geometry),
$length/10, $length/10), end_point($geometry))

problem with REDUCE geometry still remains...


Il giorno gio 17 giu 2021 alle ore 15:52 Dario C  ha
scritto:

> Hi,
> I'm trying to do an arc starting from a simple line.
>
> I'm using geometry generator with this code:
> make_line( start_point( $geometry), translate( centroid( $geometry),
> $length/10, $length/10), end_point($geometry))
>
> and it is working well.
>
> I'd like to have shorter line, so I started considering extend function
> with negative paramtere, but it does not work:
> extend(make_line( start_point( $geometry), translate( centroid(
> $geometry), $length/10, $length/10), end_point($geometry)),-100,-100)
> (with positive parameter extension works)
>
> I have serached in the geometry category but I didn't find anything
> similar to "reduce".
>
>
> Other question, related to the same geometry. I want to have the label
> curved and at the center of the arc and not of the line.
> I tried with the expression:
> translate( centroid( $geometry), $length/10, $length/10)
> in the "label anchor", but nothing happen :(
>
>
>   Any suggestion? Thank you!
>
>
> Cheers
>
___
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] Geometry generator - reduce line

2021-06-17 Thread Dario C
Hi,
I'm trying to do an arc starting from a simple line.

I'm using geometry generator with this code:
make_line( start_point( $geometry), translate( centroid( $geometry),
$length/10, $length/10), end_point($geometry))

and it is working well.

I'd like to have shorter line, so I started considering extend function
with negative paramtere, but it does not work:
extend(make_line( start_point( $geometry), translate( centroid( $geometry),
$length/10, $length/10), end_point($geometry)),-100,-100)
(with positive parameter extension works)

I have serached in the geometry category but I didn't find anything similar
to "reduce".


Other question, related to the same geometry. I want to have the label
curved and at the center of the arc and not of the line.
I tried with the expression:
translate( centroid( $geometry), $length/10, $length/10)
in the "label anchor", but nothing happen :(


  Any suggestion? Thank you!


Cheers
___
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] remove slivers

2021-06-17 Thread Ursula Heinze
Hi,

I do have a problem with sliver polygons in my layer. I read, that v.clean could be used to solve it, but I can´t access it.

Is there any easy method to automatically remove slivers? They are far too many to work with the Topology checker.

Thank you very much in advance!

Ursula
___
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