[QGIS-Developer] 2023 QGIS Grant Proposals final results

2023-06-26 Thread Anita Graser via QGIS-Developer
Dear QGIS Community,

On behalf of the QGIS.ORG project, I'm extremely pleased to announce the 
winning proposals for our 2023 QGIS.ORG grant programme. Read all about the 
voting results here:

https://blog.qgis.org/2023/06/26/qgis-grant-programme-2023-results/

A number of interesting and useful proposals didn’t make it because of our 
limited budget; we encourage organizations to pick up one of their choices and 
sponsor it.

Regards,
Anita
-- 
Anita Graser
Home: http://anitagraser.com
Twitter: @underdarkgis
Mastodon: @underdark...@fosstodon.org 
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] [QGIS-server] Messages: QNetworkDiskCache::prepare() unable to open temporary file

2023-06-26 Thread WhereGroup
Try "strace -e file your_qgis_server_invocation", it will show you all 
file i/o


Cheers, Hannes

Am 26.06.23 um 15:38 schrieb Richard Duivenvoorde via QGIS-Developer:

Hi,

I'm testing a QGISserver setup in which the project is cascading a 
WMTS (MapProxy).


Performance is not so good... so I fiddled with

QGIS_SERVER_CACHE_DIRECTORY=/cache
and even with ??
QGIS_OPTIONS_PATH=/cache

where /cache is a mounted internal cache dir

Is see QGISserver write all the stuff in /cache which I know from QGIS 
(profile dir) itself:


# from within the container:
# ls /cache
bookmarks.xml  data8  fonts  gdal_pam  oauth2-cache  palettes 
prepared  qgis-auth.db  qgis.db  symbology-style.db


But I keep seeing a lot of messages in the logs:
QNetworkDiskCache::prepare() unable to open temporary file
QNetworkDiskCache::prepare() unable to open temporary file
...

So my question is, WHERE does Qt try to create the network cache...

Thanks,

Richard Duivenvoorde
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


--
Johannes Kröger / GIS-Entwickler/-Berater

-
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
-

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] [QGIS-server] Messages: QNetworkDiskCache::prepare() unable to open temporary file

2023-06-26 Thread Richard Duivenvoorde via QGIS-Developer

Hi,

I'm testing a QGISserver setup in which the project is cascading a WMTS 
(MapProxy).


Performance is not so good... so I fiddled with

QGIS_SERVER_CACHE_DIRECTORY=/cache
and even with ??
QGIS_OPTIONS_PATH=/cache

where /cache is a mounted internal cache dir

Is see QGISserver write all the stuff in /cache which I know from QGIS 
(profile dir) itself:


# from within the container:
# ls /cache
bookmarks.xml  data8  fonts  gdal_pam  oauth2-cache  palettes  prepared  
qgis-auth.db  qgis.db  symbology-style.db


But I keep seeing a lot of messages in the logs:
QNetworkDiskCache::prepare() unable to open temporary file
QNetworkDiskCache::prepare() unable to open temporary file
...

So my question is, WHERE does Qt try to create the network cache...

Thanks,

Richard Duivenvoorde
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] feedback for #53454 (noDataValues aren't correctly rendered when using a custom QgsRasterDataProvider)

2023-06-26 Thread Andreas Janz via QGIS-Developer

Dear Developers,

would be great, if somebody could have a look at this issue and provide 
feedback, whether this bug is fixable.

https://github.com/qgis/QGIS/issues/53454

Currently, I work around the issue by filling noData-Pixel with NaN 
values, but that isn't really a good solution for the long term.


All the best
Andreas

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Measuring Map Rendering Time using PyQGIS

2023-06-26 Thread Alexandre Neto via QGIS-Developer
Hi,

I am looking for a way to audit a QGIS projects in terms of layer rendering
time.

I was able to measuring the rendering every time I refresh the the map
canvas, change layers or change extent, using the following code (inspired
by Anita code):

from datetime import datetime

def get_time():
t1 = datetime.now()
print('Rendering time:',t1-t0, 'seconds')

def reset_time():
global t0
t0 = datetime.now()

canvas = iface.mapCanvas()
canvas.mapCanvasRefreshed.connect(get_time)
canvas.extentsChanged.connect(reset_time)
canvas.layersChanged.connect(reset_time)

Now, I wanted to programmatically zoom in, zoom out, enable and disable
layers, etc... but If I give two or more of these commands together, each
command won't wait for the other to finish rendering, therefore I am unable
to measure the time.

For example:
iface.actionZoomFullExtent()
canvas.zoomByFactor(0.5)

Only returns the time for the last zoom to render.

I have tried using time.wait() but that stops the rendering all together.

Thanks,

Alexandre Neto
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer