Re: [Qgis-user] Layer extent

2021-07-06 Thread Marco Casalboni
Hi Alexandre, and thanks for the feedback I'm sorry but I don't understand the 2 solutions you advised. Let's see if I can explain my case better. I am using SqlServer and I set up a test project including that view and a normal spatial table. Looking at the initialization queries in SQLServer

Re: [Qgis-user] Offsetting rotated labels proportionate to variable angles/rotations

2021-07-06 Thread Marco Casalboni
I had the same problem. I imported a .sld file from geoserver to qgis and it seems some (or many) things are different. The worst of all is the algorithm applied for rototranslation. Apparently, the offset x, y and the rotation (or data defined rotation) fields, don't work together in a

[Qgis-user] Layer extent

2021-07-06 Thread Marco Casalboni
Hi all, is there a way to manually set up a layer extent? I have a huge view in SQL that is too slow on loading because qgis scans the entire view to find the extent. An alternative could be instruct qgis to use a specific spatial index for a specific layer thanks

Re: [Qgis-user] [Qgis user] Server plugin - exclude empty layer groups in GetCapabilities response

2021-07-01 Thread Marco Casalboni
;QGIS Server" -> "WMS Capabilities" there's a > section where it's possible to exclude layers: > > > https://docs.qgis.org/3.16/en/docs/server_manual/getting_started.html#configure-your-project > > I think it's possible to select also layer groups there. > &g

[Qgis-user] [Qgis user] Server plugin - exclude empty layer groups in GetCapabilities response

2021-07-01 Thread Marco Casalboni
I am writing a plugin that responds to a GetCapabilities request. If I have a layer group with 0 sublayers in my project, I want to exclude the layer group in the GetCapabilities response. How can I accomplish this? Regards ___ Qgis-user mailing list

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

2021-06-22 Thread Marco Casalboni
alle ore 19:23 Marco Casalboni < casalbo...@gmail.com> ha scritto: > I followed the examples and It works likes a charm, many thanks > > Il lun 21 giu 2021, 10:19 Luigi Pirelli ha scritto: > >> Old but good article (in Spanish) by German Carrillo about contiguring >>

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

2021-06-21 Thread Marco Casalboni
on> > * Hire a team: http://www.qcooperative.net > > ****** > > > On Mon, 21 Jun 2021 at 10:07, Marco Casalboni > wrote: > >> Thank you for the accurate informations, this will be very helpful. >> >> One m

[Qgis-user] Performance issue with SQLServer data source

2021-06-21 Thread Marco Casalboni
Hi all, I have an issue with my configuration in QGIS using MSSQL data source. I want to serve a certain number of MSSQL layers, but the performance is a bit unstable, maybe because my configuration is bad. I use qgis server 3.18 on debian 10. First of all, after some research on google, I

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

2021-06-21 Thread Marco Casalboni
Thank you for the accurate informations, this will be very helpful. One more thing: is it possible to filter the wms GetCapabilities request's layer list according to an authenticated user (or role)? regards, Marco Il giorno ven 18 giu 2021 alle ore 03:29 Germán Carrillo <

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

2021-06-16 Thread Marco Casalboni
Hi all, this is my setup: Server: linux debian 10 QGIS server version: 3.18 Http server: apache Is it possible to serve WMS layers with the http basic authentication? I think I can do this by configuring an apache virtual host BUT What if I want to configure the layer list according to a