Re: [Qgis-user] refresh conditional formatting in attribute table

2020-10-12 Thread Häfliger Guido
Good Morning Andreas

Thats what I did 2 weeks ago but I didn’t get a hint form there, so I tried the 
QGIS User group Mailing list.

So I guess I have to bury myself in the API documentation …

Guido

Von: Andreas Neumann [mailto:a.neum...@carto.net]
Gesendet: Montag, 12. Oktober 2020 17:05
An: Häfliger Guido
Cc: 'qgis-user@lists.osgeo.org'
Betreff: Re: [Qgis-user] refresh conditional formatting in attribute table


Hi Guido,

You might get more replies on the QGIS developer 
list<https://qgis.org/en/site/getinvolved/mailinglists.html> for PyQGIS related 
questions. See https://lists.osgeo.org/mailman/listinfo/qgis-developer

Andreas

On 2020-10-12 16:37, Häfliger Guido wrote:

Hi



I‘m developing a plugin which executes some updates of attributes on a loaded 
layer where are conditional formatting rules (full row) in the attribute table 
are defined. I want to apply the conditional formatting rules after the 
table-updates by python. It works if I close and open the attribute table by 
pyqgis but I only manage to close the attribute table in dock view. My 
questions:



-  Is it possible to apply the conditional formatting rules by pyqgis 
without closing and opening the attribute table (loop over all rules and apply 
them)?

-  How can I close an attribute table which is not in docked view by 
pyqgis?



Thanks for your help in advance







Dipl. Ing. ETH Guido Häfliger
EDV/GIS-Spezialist
Tel. ++41 41 462 97 60
guido.haefli...@vogelwarte.ch<mailto:guido.haefli...@vogelwarte.ch>
www.vogelwarte.ch<http://www.vogelwarte.ch/>

Schweizerische Vogelwarte | Seerose 1 | CH-6204 Sempach | Schweiz

Station ornithologique suisse | Seerose 1 | CH-6204 Sempach | Suisse
Stazione ornitologica svizzera | Seerose 1 | CH-6204 Sempach | Svizzera
Swiss Ornithological Institute | Seerose 1 | CH-6204 Sempach | Switzerland



___
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


___
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] refresh conditional formatting in attribute table

2020-10-12 Thread Häfliger Guido
Hi

I'm developing a plugin which executes some updates of attributes on a loaded 
layer where are conditional formatting rules (full row) in the attribute table 
are defined. I want to apply the conditional formatting rules after the 
table-updates by python. It works if I close and open the attribute table by 
pyqgis but I only manage to close the attribute table in dock view. My 
questions:

-  Is it possible to apply the conditional formatting rules by pyqgis 
without closing and opening the attribute table (loop over all rules and apply 
them)?
-  How can I close an attribute table which is not in docked view by 
pyqgis?

Thanks for your help in advance




Dipl. Ing. ETH Guido Häfliger
EDV/GIS-Spezialist
Tel. ++41 41 462 97 60
guido.haefli...@vogelwarte.ch
www.vogelwarte.ch

Schweizerische Vogelwarte | Seerose 1 | CH-6204 Sempach | Schweiz
Station ornithologique suisse | Seerose 1 | CH-6204 Sempach | Suisse
Stazione ornitologica svizzera | Seerose 1 | CH-6204 Sempach | Svizzera
Swiss Ornithological Institute | Seerose 1 | CH-6204 Sempach | Switzerland

___
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] QGIS Server 3.4 LTR - sld_body support

2020-03-01 Thread Häfliger Guido
Hi
I'm migrating a Web Application from QGIS 2.18 to QGIS 3.4. In the old 
application we used sld_body- parameter in WMS request to add a custom layer 
(raster) to the qgis-project. The syntax is the following:
SLD_BODY : scans_17273style

In the error log there is no error but the result of the request is:
Could not create output 
CRS

Does anybody know if UserLayer in sld_body is still supported in QGIS Server 
3.4 or in a version > 3.4?

Thanks in advance for your information



Dipl. Ing. ETH Guido Häfliger
EDV/GIS-Spezialist
Tel. ++41 41 462 97 60
guido.haefli...@vogelwarte.ch
www.vogelwarte.ch

Schweizerische Vogelwarte | Seerose 1 | CH-6204 Sempach | Schweiz
Station ornithologique suisse | Seerose 1 | CH-6204 Sempach | Suisse
Stazione ornitologica svizzera | Seerose 1 | CH-6204 Sempach | Svizzera
Swiss Ornithological Institute | Seerose 1 | CH-6204 Sempach | Switzerland

___
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] deploy local repository

2017-02-03 Thread Häfliger Guido
Hello

Is it possible to add a (local) plugin repository to all QGIS installations in 
the network. I deploy QGIS via OSGeo4W-Installer with packages on network 
drive. Where do I have to put the information about additional plugin repos in 
the  packages on the network drive? Or exist a better solution to deploy our 
own plugins to the clients?

Thanks for help
Guido



Dipl. Ing. ETH Guido Häfliger
EDV/GIS-Spezialist
Tel. ++41 41 462 97 60
guido.haefli...@vogelwarte.ch
www.vogelwarte.ch

Schweizerische Vogelwarte | Seerose 1 | CH-6204 Sempach | Schweiz
Station ornithologique suisse | Seerose 1 | CH-6204 Sempach | Suisse
Stazione ornitologica svizzera | Seerose 1 | CH-6204 Sempach | Svizzera
Swiss Ornithological Institute | Seerose 1 | CH-6204 Sempach | Switzerland

Willkommen im neuen Besuchszentrum in Sempach! 
http://www.vogelwarte.ch/de/besuch/
Bienvenue au nouveau centre de visite à Sempach! 
http://www.vogelwarte.ch/fr/visite/

___
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