Re: [QGIS-Developer] Problems configuring the statusBar

2022-12-11 Thread afernandez via QGIS-Developer
Hello Andrea, Sorry for the delay as it has been a busy Sunday with several commitments. I've been trying to implement your proposed solution using different approaches but still unsucessfully (even after trying different combinations). From several posts, a potential syntax would be something

Re: [QGIS-Developer] Problems configuring the statusBar

2022-12-11 Thread afernandez via QGIS-Developer
Get BlueMail <https://bluemail.me> for Desktop afernandez via QGIS-Developer wrote: Hello, I'm facing some problems while trying to modify some of the properties of the statusBar. For example, trying to use the styleSheet method with the following snippet: stilus = "background-c

Re: [QGIS-Developer] Problems configuring the statusBar

2022-12-11 Thread afernandez via QGIS-Developer
Hi Nyall, Obviously I'm not an expert in Qt/QGIS (only been using it for a few weeks) and still have many things to learn. Most of the code works fine (by staying away from very complex structures) and styling widgets has been no problem until now when trying to do anything with the statusBar.

[QGIS-Developer] Problems configuring the statusBar

2022-12-10 Thread afernandez via QGIS-Developer
Hello, I'm facing some problems while trying to modify some of the properties of the statusBar. For example, trying to use the styleSheet method with the following snippet: stilus = "background-color: black;" self.iface.mainWindow().statusBar().styleSheet(stilus) produces the error: TypeError:

Re: [QGIS-Developer] Problems configuring the statusBar

2022-12-12 Thread afernandez via QGIS-Developer
Hello Johannes, Querying was how I found the method self.iface.mainWindow().statusBar().styleSheet() along with many others. I circled back and tried to use 'help' to figure out what I was missing. However, help for self.iface.mainWindow().statusBar().styleSheet() only tells me that styleSheet is

[QGIS-Developer] Issue reading world_map.gpkg

2023-01-29 Thread afernandez via QGIS-Developer
Hello, I'm trying to automate changes in the projection used by the map canvas. If I open the python console and use the following command sequence: novus_CRS = '+proj=lcc +lat_1c.0 +lat_2u.0 +lat_0p.0 +lon_0=-97.0 +datum=WGS84 +no_defs' crs = QgsCoordinateReferenceSystem.fromProj4(novus_CRS)

Re: [QGIS-Developer] Segmentation fault while compiling ui_DlgAddGeometryColumn.py

2023-03-08 Thread afernandez via QGIS-Developer
eo.org/pipermail/qgis-developer/2023-January/065492.html You are missing some (new) python dependecies: sudo apt install libqt5multimedia5 python3-pyqt5.qtmultimedia Regards, Richard Duivenvoorde On 2/16/23 18:02, afernandez via QGIS-Developer wrote: Hello, My compilation is failing towards t

[QGIS-Developer] Segmentation fault while compiling ui_DlgAddGeometryColumn.py

2023-02-16 Thread afernandez via QGIS-Developer
Hello, My compilation is failing towards the end with a segmentation fault error, which I cannot figure out: [ 85%] Linking CXX shared module ../output/python/qgis/_gui.so [ 85%] Built target python_module_qgis__gui [ 85%] Built target pygui [ 85%] Generating ui_DlgAddGeometryColumn.py

Re: [QGIS-Developer] Segmentation fault while compiling ui_DlgAddGeometryColumn.py

2023-02-16 Thread afernandez via QGIS-Developer
is that I'd need to make some modification before cleaning and recompiling. Thanks, AFernandez Denis Rouzaud wrote: Hi, Can you make clean and build again? On Thu, 16 Feb 2023, 18:24 afernandez via QGIS-Developer, mailto:qgis-developer@lists.osgeo.org> > wrote: Hello, My compilation is failing t

Re: [QGIS-Developer] Segmentation fault while compiling ui_DlgAddGeometryColumn.py

2023-02-16 Thread afernandez via QGIS-Developer
build again? On Thu, 16 Feb 2023, 18:24 afernandez via QGIS-Developer, mailto:qgis-developer@lists.osgeo.org> > wrote: Hello, My compilation is failing towards the end with a segmentation fault error, which I cannot figure out: [ 85%] Linking CXX shared module ../output/python/qgis/_gui.so [

Re: [QGIS-Developer] Segmentation fault while compiling ui_DlgAddGeometryColumn.py

2023-02-16 Thread afernandez via QGIS-Developer
wrote: Hi, Can you make clean and build again? On Thu, 16 Feb 2023, 18:24 afernandez via QGIS-Developer, mailto:qgis-developer@lists.osgeo.org> > wrote: Hello, My compilation is failing towards the end with a segmentation fault error, which I cannot figure out: [ 85%] Linking CXX shared modu

[QGIS-Developer] How to speed up rendering

2023-05-26 Thread afernandez via QGIS-Developer
Hello, One of my project would greatly benefit from a much faster rendering. After some testing, the bulk (>99%) of the time is spent at rendering the layer with QgsRasterLayer(...,...). What I have also noticed is that rendering time does not change with the number of cores, which suggests that

Re: [QGIS-Developer] How to speed up rendering

2023-05-29 Thread afernandez via QGIS-Developer
of time. Then, the time is consumed when doing the rendering itself. I'm not entirely sure what you mean by 'sub-optimal raster format' or 'thre are overviews missing' so I cannot address them specifically. Thanks, Arturo Martin Dobias wrote: Hi On Fri, May 26, 2023 at 11:30 PM afernandez via QGIS

Re: [QGIS-Developer] How to speed up rendering

2023-05-30 Thread afernandez via QGIS-Developer
file all the time to render an appropriate representation in the map. Cheers, Hannes Am 30.05.23 um 04:35 schrieb afernandez via QGIS-Developer: Hello Martin, I'm trying to understand what you're saying but my background is in numerical methods where tasks are split into threads for acceleration

Re: [QGIS-Developer] How to speed up rendering

2023-06-02 Thread afernandez via QGIS-Developer
rranged in a way that fits spatial queries better. If you can, simply specify that you want "cloud-optimized geotiffs", those have all these optimisations and are also "typical spatial analysis optimized geotiffs". Cheers, Hannes Am 30.05.23 um 14:37 schrieb afernandez via

[QGIS-Developer] Loading netCDF4 seems to crash QGISv3.34

2024-01-01 Thread afernandez via QGIS-Developer
Hello, I'm upgrading from v3.30 to 3.34. However, QGISv3.34 keeps crashing when trying to import the netCDF4 module (never had this issue with v3.30). More specifically, the log reads: Fatal Python error: Segmentation fault Current thread 0x7dada020 (most recent call first): File "", line

Re: [QGIS-Developer] Loading netCDF4 seems to crash QGISv3.34

2024-01-08 Thread afernandez via QGIS-Developer
ues/55787> . In the meantime, I'll also try installing v3.32 and checking whether the crash also happens or not. Thank you. afernandez via QGIS-Developer wrote: Hello, I'm upgrading from v3.30 to 3.34. However, QGISv3.34 keeps crashing when trying to import the netCDF4 module (never had this

[QGIS-Developer] Questions about PyQGIS Cookbook documentation

2024-03-14 Thread afernandez via QGIS-Developer
Hello, Firstly, I'm not sure if this is the appropiate list for questions about the PyQGIS Cookbook and I apologize if that is not the case. I have 2 questions about the content for chapter 6 dedicated to vector layers (just for clarification I'm using the documentation for v3.34). Q1 - For