Re: [QGIS-Developer] HOWTO INSTALL QGS ON LINUX WITH PROVIDER TO ORACLE SPATIAL

2022-06-20 Thread Richard Duivenvoorde via QGIS-Developer
WHY ARE YOU SCREAMING THIS :-) It is some time ago, but I did a write up of the process for CentOS some time ago: https://zuidt.nl/blog/html/2015/10/12/build_qgis_master_with_oracle_provider_yourself_on_centos7.html You need to adapt it for Ubuntu but it contains (I think) enough pointers

Re: [QGIS-Developer] HOWTO INSTALL QGS ON LINUX WITH PROVIDER TO ORACLE SPATIAL

2022-06-20 Thread Fredy Varon via QGIS-Developer
Hi, I need help if someone knows howto install Qgis on Linux Ubuntu 20 to suport conection to Oracle to add layers from Oracle spatial Thanks - FREDY VARON GARCIA Ing. Sistemas

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread Even Rouault via QGIS-Developer
Use sysprof or just run under a debugger and interrupt regularly should help you spot in which method(s) most time is spent Le 20/06/2022 à 18:48, David Marteau via QGIS-Developer a écrit : I used the following test: readflags = Qgis.ProjectReadFlags() readflags |=

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread Nyall Dawson via QGIS-Developer
On Tue, 21 June 2022, 2:48 am David Marteau, wrote: > I used the following test: > > readflags = Qgis.ProjectReadFlags()readflags |= > Qgis.ProjectReadFlag.TrustLayerMetadata|Qgis.ProjectReadFlag.DontLoad3DViews|Qgis.ProjectReadFlag.DontLoadProjectStyles > prj = QgsProject() > %timeit -n 1

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread David Marteau via QGIS-Developer
I used the following test: readflags = Qgis.ProjectReadFlags() readflags |= Qgis.ProjectReadFlag.TrustLayerMetadata|Qgis.ProjectReadFlag.DontLoad3DViews|Qgis.ProjectReadFlag.DontLoadProjectStyles prj = QgsProject()%timeit -n 1 prj.read(f"{datapath}/france_parts3_26.qgs",readflags) 105 ms ±

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread David Marteau via QGIS-Developer
Hi, > You should set the other new read optimisation flags here -- see https://github.com/qgis/QGIS/blob/88ebb3f2f513dbce5a775f50e51ea0117f859c65/src/core/qgis.h#L1962 These are already available also in 3.24 and we use the   `TrustLayerMetadata` in the above test. For server,  the other

Re: [QGIS-Developer] [Qgis-community-team] Changelog, please check

2022-06-20 Thread Ethan Snyder via QGIS-Developer
Richard: This new feature is missing from the changelog (probably because it didn’t get all the proper tags): https://github.com/qgis/QGIS/pull/48929 It was primarily authored by me (Ethan Snyder), and polished and merged by Nyall. Here’s the original PR

Re: [QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread Nyall Dawson via QGIS-Developer
On Mon, 20 June 2022, 9:37 pm David Marteau via QGIS-Developer, < qgis-developer@lists.osgeo.org> wrote: > Hi, > > I have noticed a huge drop of performance while testing Qgis server with > Qgis 3.26, from 10x to 30x slower as usual. > > Trying to reduce the problem I have found a huge increase

[QGIS-Developer] Qgis server: terrible performance with Qgis 3.26

2022-06-20 Thread David Marteau via QGIS-Developer
Hi, I have noticed a huge drop of performance while testing Qgis server with Qgis 3.26, from 10x to 30x slower as usual. Trying to reduce the problem I have found a huge increase of time spend reading the project in 3.26 compared to 3.24. Here some benchmark with very simple project from

Re: [QGIS-Developer] Object Inspector in QGIS 3.22.7: How to make it work?

2022-06-20 Thread WhereGroup
Hey Bruno, good question, I never got it to show more than just function names of an open (and saved) script, which I could then click for quick navigation in the script. I am also very interested if it actually could do more than that. To get to the same point as me you have to have a