[QGIS-Developer] Planned support for JPEG XL?

2023-06-13 Thread DIF
[Intranet logo]
Hi all,

According to GDAL's website, GDAL has support for JPEG XL compression since 
3.6.0 but only when built against libjxl. 
Considering that QGIS now uses GDAL 3.7, I was wondering if there was any plan 
to include it with the libjxl library in the future. Having tried the 
compression algorithm, it's performance is impressive and I can't wait stop 
using a proprietary ECW compression for our big mosaics!

Thanks!


Jean-François Bourdon, ing.f.
Analyste en télédétection
Direction des inventaires forestiers
Ministère des Ressources naturelles et des Forêts
5700, 4e Avenue Ouest, local A-108
Québec (Québec) G1H 6R1
Téléphone : 418 627-8669, poste 704304
jean-francois.bour...@mrnf.gouv.qc.ca
mrnf.gouv.qc.ca

___
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] py3_env not recognized in versions later than 3.16

2023-06-13 Thread Jürgen E . Fischer via QGIS-Developer
Hi Luis,

On Tue, 13. Jun 2023 at 13:26:12 +, Luis Eduardo via QGIS-Developer wrote:
> HelloI need to install Pytorch in QGIS 3.22, 3.28, using pip but I can't
> configure the environment, py3_env is not recognized.And through the OSGEO
> installer the library is not available.

Huh?  py3_env.bat was used in OSGeo4W to switch from the default python2
install to python3.  As OSGeo4W v2 only has python3, py3_env is not needed
anymore.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  Germany IRC: jef on Libera|OFTC


signature.asc
Description: PGP signature
___
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] py3_env not recognized in versions later than 3.16

2023-06-13 Thread Andrea Giudiceandrea via QGIS-Developer

Il 13/06/2023 15:26, Luis Eduardo via QGIS-Developer ha scritto:

Hello
I need to install Pytorch in QGIS 3.22, 3.28, using pip but I can't 
configure the environment, py3_env is not recognized.


Hi Luis Eduardo,
AFAIK py3_env is no longer available in the OSGeo4W Shell and it is no 
longer needed because OSGeo4W uses Python 3 by default since a couple of 
years (since 3.16 msi/v2).



And through the OSGEO installer the library is not available.


Have you tried using python -m pip install ?

Best regards.

Andrea
___
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] py3_env not recognized in versions later than 3.16

2023-06-13 Thread Luis Eduardo via QGIS-Developer
HelloI need to install Pytorch in QGIS 3.22, 3.28, using pip but I can't 
configure the environment, py3_env is not recognized.And through the OSGEO 
installer the library is not available.
___
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] Refresh attribute form python action

2023-06-13 Thread matteo via QGIS-Developer

Hi all,

I'm defining a python action that is triggered in the feature form (as a 
button or from the menu).


The action is retrieving some values from other layers and some of these 
values will update some form widget, avoiding the user to filling them 
manually (I really simplified the workflow :) ).


I think it is by design that QGIS is sending to the data provider the 
values when the OK button is clicked and then the Save button is 
clicked, but with the commitChanges() method I can directly send the 
changes to the provider from the action body.


Now the problem: the widgets are not updated unless the form is closed 
and reopened again. I couldn't find a method to refresh the form widget 
from the action itself. Is there any?


Cheers and thanks!

Matteo
___
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