[QGIS-Developer] Reviewing Pull-Request for bugfixing QgsVectorLayer's method Read SLD Labeling

2019-11-19 Thread René-Luc Dhont
Hi devs, I have proposed a fix of the QgsVectorLayer's method Read SLD Labeling. I would like to request a review before merging, especially because Iwould like to backport the fix. I have seen that the QgsVectorLayer's method Read Sld is a 4 years old code and I don't know whom can I

Re: [QGIS-Developer] 3.10.0 in hard freeze, should we branch master as unfreeze for 3.12?

2019-10-13 Thread René-Luc Dhont
+1 for branching off the release-3_10 Le 14/10/2019 à 01:34, Nyall Dawson a écrit : (Subject says it ) Now that we're in hard freeze for the 3.10.0 release, should we be branching off the release-3_10 branch now and unfreezing master for 3.12? Nyall

Re: [QGIS-Developer] 3.10.0 in hard freeze, should we branch master as unfreeze for 3.12?

2019-10-14 Thread René-Luc Dhont
Hi devs, I remove my +1 for branching version 3.10 before release, but we have an issue in QGIS managing stale tag for frozen branch. Some Pull Requests with frozen tag has been tagged stale by the github probot-stale. René-Luc ___

[QGIS-Developer] Default QgsPalLayerSettings for Line layer

2020-02-04 Thread René-Luc Dhont
Hi Devs, I would like to know how to get the default QgsPalLayerSettings values for a point, line or polygon layer. Is a method exist ? Is it defined in some comments ? It is for fixing my PR Read SLD TextSymbolizer for lines https://github.com/qgis/QGIS/pull/34223 Thanks, René-Luc

[QGIS-Developer] Build failed on Azure CI, how to get details

2020-01-15 Thread René-Luc Dhont
Hi Dev, My PRs https://github.com/qgis/QGIS/pull/33813 and https://github.com/qgis/QGIS/pull/33725 failed to build on Azure CI. The build log is minimalistic : 2020-01-15T10:12:39.7333036Z Build project 2020-01-15T10:12:39.7350985ZEach symbol represents 1024 bytes of output.

Re: [QGIS-Developer] Build failed on Azure CI, how to get details

2020-01-16 Thread René-Luc Dhont
Hi Devs, Is the Azure CI mandatory before merging ? Regards, René-Luc Le 15/01/2020 à 15:29, René-Luc Dhont a écrit : Hi Dev, My PRs https://github.com/qgis/QGIS/pull/33813 and https://github.com/qgis/QGIS/pull/33725 failed to build on Azure CI. The build log is minimalistic : 2020-01

[QGIS-Developer] Server: The legend anchored point will be reset to up left when WMS GetPrint

2020-04-09 Thread René-Luc Dhont
Hi devs, I have found an issue in QGIS Server and I am not able to fix it. I have firstly create the test to confirm the bug https://github.com/qgis/QGIS/pull/35060 The issue is that the anchored point of a legend layout item is reset when the QGIS Server performs a print. I cannot reproduce

Re: [QGIS-Developer] Processing algorithms in Qgis serveur

2020-04-23 Thread René-Luc Dhont
Hi, You can take a look at py-qgis-wps : https://github.com/3liz/py-qgis-wps Regards, René-Luc Le 23/04/2020 à 15:16, PALMIER Patrick (Responsable de groupe) - CEREMA/DTerNP/DATHa/MT a écrit : Hi, Yes, I want to provide a WPS service based on qgis processing algorithm in a web app Thank

Re: [QGIS-Developer] QGIS "fast" mode

2020-03-19 Thread René-Luc Dhont
Hi Tomas, The way trust option works is not enough for big databases and big project with more than 100 layers. It is what Michaël and I experiment. Then the problem with changes data is more about the layer extent. For example a natural observations layer is designed to accept data on a

Re: [QGIS-Developer] Geopackage FID columns: i HATE them!!!!

2020-03-19 Thread René-Luc Dhont
I agree, so in my algorithms working with geopackage I always redefined  FID with options = QgsVectorFileWriter.SaveVectorOptions() options.layerOptions = ['FID=id'] For me it is like a primary key in PostGIS, I need to manage it. Other point, Feature ID in QGIS is still a short integer.

Re: [QGIS-Developer] QGIS "fast" mode

2020-03-20 Thread René-Luc Dhont
Hi Régis, The trust option is used in QgProject with QgsVectorLayer::setReadExtentFromXml https://github.com/qgis/QGIS/blob/master/src/core/qgsproject.cpp#L3304 Then in the case of a postgres layer, the checkUnicityKey is disabled

[QGIS-Developer] How to get a generated CRS from an Unknown CRS

2020-10-07 Thread René-Luc Dhont
Hi devs, We are facing a behavior we did not expect from QGIS Server regarding custom projections. We are using Raster layer with a custom projection. This projection is well read and understanding by QGIS. The data are displayed at the right place with 'on-th-fly' CRS transformation. But

Re: [QGIS-Developer] How to get a generated CRS from an Unknown CRS

2020-10-07 Thread René-Luc Dhont
Thanks Nyall for your answer. Is it really just a string issue ? If the text is "Custom CRS",  will the CRS stored in the project (or in the datasource) never become "invalid projection" ? René-Luc Le 07/10/2020 à 09:20, Nyall Dawson a écrit : This has been fixed recently for 3.16. It's

Re: [QGIS-Developer] The virtual QgsRasterInterface block method is too slow

2020-10-06 Thread René-Luc Dhont
Is some enhancement could e done here ? Regards, René-Luc Le 05/10/2020 à 05:31, Nyall Dawson a écrit : On Fri, 2 Oct 2020 at 00:53, René-Luc Dhont wrote: Hi devs, A customer found that reading a lightweight GeoTIFF takes 1 second in QGIS Server needs less than 200 milliseconds. With timer I

[QGIS-Developer] The virtual QgsRasterInterface block method is too slow

2020-10-01 Thread René-Luc Dhont
Hi devs, A customer found that reading a lightweight GeoTIFF takes 1 second in QGIS Server needs less than 200 milliseconds. With timer I found somethings strange around the virtual QgsRasterInterface block method and it's reimplation in QgsGdalProvider. Here is part of my logs:

[QGIS-Developer] LTR 3.10: Fixing issues when content cache is used in blocking mode

2020-06-01 Thread René-Luc Dhont
Hi devs, I need your point of view about fixing issues when content cache is used in blocking mode. A QGIS Server user has identified an issue when content cache is used in blocking mode. In some cases, the bug is timed out QGIS Server. This issue is due to a loop to wait for content task

[QGIS-Developer] Using task to run multiple processes in an algorithm

2020-08-05 Thread René-Luc Dhont
Hi dev, I have a little question : Is it possible to run multiple processes with QgsProcessingAlgRunnerTask in QgsProcessingAlgorithm::processAlgorithm ? Once a QgsProcessingAlgRunnerTask instanciated and configured it has to be passed to the QgsTaskManager available through QgsApplication.

[QGIS-Developer] How to fix the color ramp item list for the UI

2020-11-03 Thread René-Luc Dhont
Hi devs, I have an issue with the QGIS Raster Color Ramp UI, I can't get the color ramp item list set with PyQGIS. I have a PyQGIS Script to set the Raster Color Ramp like it is defined in the pyQGIS cookbook. It works find for rendering and legend, but if I open the Raster layer properties

Re: [QGIS-Developer] REST API for QGIS processing tool

2021-02-25 Thread René-Luc Dhont
Le 24/02/2021 à 23:27, Nyall Dawson a écrit : Look into the "WPS" standard. There's even an existing server for this: https://github.com/3liz/py-qgis-wps Thanks Nyall to pointing it. Prem, If you are interested in a REST API, implementing the OGC API Processes standard is  being considered

[QGIS-Developer] Test failed because the version.qgis.org certificat expired on the september 10 2021

2021-09-10 Thread René-Luc Dhont
Hi PSC and Devs, The TestQgsProcessingAlgs::fileDownloader() failed because the version.qgis.org certificat expired on the september 10 2021. So PR merging is blocked. Regards, René-Luc ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

[QGIS-Developer] QGIS Server Tiles API Plugin

2021-07-30 Thread René-Luc Dhont
Hi Devs, On request from Ifremer, we at 3Liz are started to work on a plugin to provide Tiles API for QGIS Server. https://github.com/3liz/qgis-server-tiles-plugin We have started to implement a Tile Map Service API, known as TMS. It is based on the QGIS project WMTS configuration availabe in

Re: [QGIS-Developer] applying an SLD to a WMS layer

2021-10-26 Thread René-Luc Dhont
Hi Jorge, WMS Server can process SLD  provide in a GetMap Request. QGIS Server is able to apply an SLD to a layer and provide the resulting image. The SLD can be provided through the SLD_BODY parameter or the  SLD parameter for linked file.

[QGIS-Developer] QGIS Server WMS Advertised extent and layers / groups bounding box in GetCapabilities

2022-10-04 Thread René-Luc Dhont via QGIS-Developer
Hi QGIS Server devs, We, David and I, are working on enhancing the way QGIS Server is building the WMS GetCapabilities document. [1] And I have some questions about the QGIS Server WMS Advertised extent and the layers / groups bounding box in GetCapabilities. For exemple in the

Re: [QGIS-Developer] Project loader profiler Postgres Layers

2022-11-16 Thread René-Luc Dhont via QGIS-Developer
Hi Rémi, During the provider creation, a lot of SQL requests are made to check a lot of thing even if the use estimated metadata is checked : * Fields list * geometry type * primary key * extent * capabilities (read, insert, update, delete) You can take a look at these PRs to have an idea on

Re: [QGIS-Developer] GeoFerver canno't read QGIS server WFS Services

2023-05-31 Thread René-Luc Dhont via QGIS-Developer
Hi Walter, You have to check the result of DescribeFeatureType WFS Request. This request has to provide the XSD to validate the GML. Regards, René-Luc Le 31/05/2023 à 14:59, Walter Lorenzetti via QGIS-Developer a écrit : Hi, when I try to add a WFS service layer to a GeoServer instance I

Re: [QGIS-Developer] GeoFerver canno't read QGIS server WFS Services

2023-06-05 Thread René-Luc Dhont via QGIS-Developer
   minOccurs="0" maxOccurs="unbounded"/>                                       I can't see a substantial difference :( W Il 31/05/23

Re: [QGIS-Developer] QGIS Server and OGC API - Processes

2023-05-12 Thread René-Luc Dhont via QGIS-Developer
Hi Alessandro, It is implemented in Py-QGIS-WPS https://github.com/3liz/py-qgis-wps Regards, Le 12/05/2023 à 11:44, Alessandro Pasotti via QGIS-Developer a écrit : Hi, Is anybody working or planning to work on an implementation of OGC API - Processes [1] for QGIS Server?

[QGIS-Developer] Modeler: Can a QgsProcessingOutputVariant be a QgsProcessingParameterGeometry for child algorithm?

2024-04-05 Thread René-Luc Dhont via QGIS-Developer
Hi devs, I'm trying to build algorithms with geometry ouput. It seems that QgsProcessingOutputVariant has been build for it. But if I use my algorithms in a model with QGIS 3.34 : * I can't provide a name to QgsProcessingOutputVariant to become model algorithm ouput * I can't use

Re: [QGIS-Developer] Modeler: Can a QgsProcessingOutputVariant be a QgsProcessingParameterGeometry for child algorithm?

2024-04-15 Thread René-Luc Dhont via QGIS-Developer
Hi devs, I have found an issue and proposed fix https://github.com/qgis/QGIS/pull/57150 that has been merged and backported. It will be possible to chain algorithm on Point and Geometry. René-Luc Le 05/04/2024 à 18:52, René-Luc Dhont a écrit : Hi devs, I'm trying to build algorithms

[QGIS-Developer] Modeler: What's missing to define string, number or other simple outputs

2024-04-15 Thread René-Luc Dhont via QGIS-Developer
Hi devs, It seems it is not possible to define string, number, boolean or variant output for modeler algorithm. For example, if you add Delete duplicate geometries `native:deleteduplicategeometries` algorithm in a model, you will not be able to define the name for the outputs Count of

<    1   2   3