[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

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: 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] 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] 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] 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?

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

[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] 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] 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] 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] 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] 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

[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] 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] 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] 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

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

[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] 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

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.

[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

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] 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.

[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] How to encode blobs in (Geo)JSON?

2019-11-07 Thread René-Luc Dhont
Hi Alessandro, I think the same as you,base64 the blob. Regards, René-Luc Le 07/11/2019 à 17:40, Alessandro Pasotti a écrit : Hi, I'm running into an issue with OAPIF and blob/binary fields, the QgsJsonExporter does not currently handle that kind of field and just convert them to string

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 ___

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] QGIS Server does not wait for remote SVG before rendering

2019-09-24 Thread René-Luc Dhont
active tasks increase? Is the number of active tasks null when all the task has been performed ? If the number of active tasks is null, are all tasks finished ? Thansk for your help, René-Luc Le 05/07/2019 à 00:48, Nyall Dawson a écrit : On Thu, 4 Jul 2019 at 23:08, René-Luc Dhont wrote: Hi dev

Re: [QGIS-Developer] Integration of Zoo and QGIS

2019-09-02 Thread René-Luc Dhont
Hi Tim, David Marteau has ported QGIS 3 Processing framework to Web as WPS. A presentation has been made during the Foss4g 2019: WPS with Qgis processing - From desktop to server * the stream https://media.ccc.de/v/bucharest-306-wps-with-qgis-processing-from-desktop-to-server or

[QGIS-Developer] QGIS Server does not wait for remote SVG before rendering

2019-07-04 Thread René-Luc Dhont
Hi devs, We encountered a strange issue with QGIS Server, a point layer with a simple style using a remote SVG. At the first GetMap request to this layer, QGIS Server rendered an image with missing symbol, the ?. At the second same GetMap Request, QGIS Server rendered an image with the

Re: [QGIS-Developer] QGIS Server 2.x and caching question

2019-06-12 Thread René-Luc Dhont
struggling with such issues. Is this known issue in QGIS 2.x only or also in QGIS 3.x? I will also have a look at the Layer Board plugin and see what it does and how it could help us. Thanks, Andreas On 2019-06-12 10:02, René-Luc Dhont wrote: Hi Andreas, It's a known issue. It is not easy

Re: [QGIS-Developer] QGIS Server 3.4.7 and WFS Filtering PropertyIsLike

2019-06-12 Thread René-Luc Dhont
Hi Luca, The OGC Filter element is required as the document element for filter parameter. Regards, René-Luc Le 11/06/2019 à 15:59, Luca Manganelli a écrit : Addendum. I discovered what problem was. OWSLib generates an URL like this: http:// WFSHOST .../=singleChar="_" escapeChar="\"

Re: [QGIS-Developer] QGIS Server 2.x and caching question

2019-06-12 Thread René-Luc Dhont
Hi Andreas, It's a known issue. It is not easy to understand because it's due to SHADOW layers... Some times, QGIS keeps some undisplayed layers with the same UUID and stored it in the QGIS project. You can use Layer Board plugin to remove them. Regards, René-Luc Le 11/06/2019 à 18:28,

Re: [QGIS-Developer] [qgis-server] Build gdal with external libraries for qgis-server

2019-05-24 Thread René-Luc Dhont
Hi Benjamin, To use *ECW* in *server*-based products requires additional licensing permissions. If you have the licence agreement, you can build GDAL with ECW, but you also need to build QGIS Server with ECW support. Regards, René-Luc Le 24/05/2019 à 11:38, Benjamin Deregnaucourt a écrit 

Re: [QGIS-Developer] PyQGIS : Creating a Geopackage layer without adding features

2019-05-23 Thread René-Luc Dhont
' options.layerName = 'test' write_result, error_message = QgsVectorFileWriter.writeAsVectorFormat(ml,filename,options) write_result == QgsVectorFileWriter.NoError René-Luc Le 23/05/2019 à 09:27, René-Luc Dhont a écrit : Hi Dev, I would like to create a geopackage with multiple layers

[QGIS-Developer] PyQGIS : Creating a Geopackage layer without adding features

2019-05-23 Thread René-Luc Dhont
Hi Dev, I would like to create a geopackage with multiple layers but without features. I'd like to do the same thing as the QgsNewGeoPackageLayerDialog do but without user interface in python. I have tested with QgsVectorFileWriter, but the file and layer are not created if add feature is

Re: [QGIS-Developer] Can I backport bugfix with UI updates and fixing QGIS Server regression

2019-05-20 Thread René-Luc Dhont
to validate it. I really hope this will be fix it version 3.4.9. Regards, René-Luc Le 14/05/2019 à 10:00, René-Luc Dhont a écrit : Hi all, In the PR to fix the QGIS Server regression I only need to backport 1 commit on the 2 provided by Nyall to fix the issue: Layout export - raster divided

[QGIS-Developer] FeatureSink, Processing and Geopackage : define layer primary key

2019-05-20 Thread René-Luc Dhont
Hi devs, I'd like to save data in a Geopackage by defining the layername, the geometry column and the primary key field with a processing parameter feature sink. I have found in the processing tests, that a feature sink value can be : ogr:dbname='/me/a.gpkg' table="d" (geom) sql= Is it

Re: [QGIS-Developer] How to use postProcessLayer in plugin processing

2019-05-16 Thread René-Luc Dhont
Thanks, this link is helpful https://gist.github.com/nyalldawson/26c091dd48b4f8bf56f172efe22cf75f It contains a hack to work around sip bug! Regards, René-Luc Le 16/05/2019 à 10:25, Tom Chadwin a écrit : Don't know if any of the links in this reply from Nyall are of any use?

[QGIS-Developer] How to use postProcessLayer in plugin processing

2019-05-16 Thread René-Luc Dhont
Hi Devs, I would like to set the style an output layer in a script processing. My algorithm is added to QGIS Processing by a plugin. I have tested this : ``` class loadNamedStylePostProcessor(QgsProcessingLayerPostProcessorInterface):     def __init__(self, outputName, feedback):    

Re: [QGIS-Developer] Can I backport bugfix with UI updates and fixing QGIS Server regression

2019-05-14 Thread René-Luc Dhont
Hi all, In the PR to fix the QGIS Server regression I only need to backport 1 commit on the 2 provided by Nyall to fix the issue: Layout export - raster divided into tiles, edges evident in pdf/svg https://issues.qgis.org/issues/19500 in the Pull request [needs-docs][layouts] Add checkbox to

Re: [QGIS-Developer] Can I backport bugfix with UI updates and fixing QGIS Server regression

2019-05-10 Thread René-Luc Dhont
Buster release ? Reagrds, René-Luc Le 19/04/2019 à 09:34, René-Luc Dhont a écrit : Hi devs, I have cherry-picked the changes I have tested it without regressions or issues. Now I need some review to merge and fix 2 issues. https://github.com/qgis/QGIS/pull/9692 Regards, René-Luc Le 17/04

Re: [QGIS-Developer] QGIS server issue: bounding box issues

2019-05-09 Thread René-Luc Dhont
Hi Andreas Le 09/05/2019 à 11:59, Andreas Neumann a écrit : Hi René-Luc, Thanks for the explanation. Any chance we can "influence" that extent calculation (e.g. adding a user-defined margin to that extent?) - I guess a fully manual override would not be satisfactory as data changes, but

Re: [QGIS-Developer] QGIS server issue: bounding box issues

2019-05-09 Thread René-Luc Dhont
Hi Andreas, The layer extent is not calculated by QGIS Server. It is read from the project, and the extent in the project is provided by QGIS when saving it. In QGIS Server, the layer extent is used to restrict the rendering to the WMS layer extent. Regards, René-Luc Le 09/05/2019 à

Re: [QGIS-Developer] Can I backport bugfix with UI updates and fixing QGIS Server regression

2019-04-19 Thread René-Luc Dhont
Hi devs, I have cherry-picked the changes I have tested it without regressions or issues. Now I need some review to merge and fix 2 issues. https://github.com/qgis/QGIS/pull/9692 Regards, René-Luc Le 17/04/2019 à 14:18, René-Luc Dhont a écrit : Hi devs, Thanks Paolo for your agreement

Re: [QGIS-Developer] Can I backport bugfix with UI updates and fixing QGIS Server regression

2019-04-17 Thread René-Luc Dhont
/qgis/QGIS/pull/9016 and finalizing Fix regression server print selection pdf release 3.4  https://github.com/qgis/QGIS/pull/9692 Thanks. René-Luc Le 12/04/2019 à 12:06, Paolo Cavallini a écrit : Hi René, On 12/04/19 12:05, René-Luc Dhont wrote: I would like to know if I can backport all

Re: [QGIS-Developer] Globally setting FI_POINT_TOLERANCE on QGIS server

2019-04-16 Thread René-Luc Dhont
Hi Andreas, We have build a plugin for doing so. It is available for QGIS 2 and we are working on proting it to QGIS 3. https://github.com/3liz/qgis-wmsGetFeatureInfoPrecision Regards, René-Luc Le 16/04/2019 à 15:53, Alessandro Pasotti a écrit : On Tue, Apr 16, 2019 at 3:46 PM Andreas

Re: [QGIS-Developer] FOSS4G CFP proposals around QGIS

2019-04-15 Thread René-Luc Dhont
Hi Andreas, We also submitted 2 talks around QGIS and QGIS-Server: - Lizmap to create Web Map Applications - Offline viewing and editing Geographic Information for Forest Fire Defense René-Luc Le 15/04/2019 à 14:01, David Marteau a écrit : Hi Andreas, We have submitted (at least) 2 Talks:

Re: [QGIS-Developer] GetFeatureInfo: sensitivity on rendered geometry vs original geometry.

2019-04-12 Thread René-Luc Dhont
Hi Le 12/04/2019 à 16:05, Andreas Neumann a écrit : On 2019-04-12 15:53, René-Luc Dhont wrote: Hi Andreas, I think QGIS Server has to use the rendered geometries to identify Feature. yes Is it possible to get the  point layer to polygon rendred layer ? Like Alessandro, I also don't

Re: [QGIS-Developer] GetFeatureInfo: sensitivity on rendered geometry vs original geometry.

2019-04-12 Thread René-Luc Dhont
Hi Andreas, I think QGIS Server has to use the rendered geometries to identify Feature. Is it possible to get the  point layer to polygon rendred layer ? Regards, René-Luc Le 12/04/2019 à 15:43, Andreas Neumann a écrit : Hi, I'd like to discuss an issue with GetFeatureInfo that we have with

[QGIS-Developer] Can I backport bugfix with UI updates and fixing QGIS Server regression

2019-04-12 Thread René-Luc Dhont
Hi Dev, I have worked on fixing a regression in QGIS Server. https://github.com/qgis/QGIS/pull/9692 This regression exists in QGIS 3.4 but has been fixed by Nyall in QGIS 3.6 by fixing an other issue. The issue fixed by Nyall was *Layout export - raster divided into tiles, edges evident in

Re: [QGIS-Developer] QGIS Server layer metadata

2019-04-11 Thread René-Luc Dhont
Hi ALessandro, Which metadata can be reused ? René-Luc D'Hont Le 11/04/2019 à 11:12, Alessandro Pasotti a écrit : Hi, Shouldn't we drop some of the QGIS Server that are now available in the more general "Metadata" tab or at least fallback on those values? Or maybe provide a button to copy

Re: [QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-05 Thread René-Luc Dhont
Hi Nyall Le 04/03/2019 à 23:53, Nyall Dawson a écrit : What about just creating an empty table with the required number of rows in QgsProcessingMatrixParameterDialog::populateTable whenever mParam has a fixed number of rows set? It will be great, I will test it. Regards, René-Luc

Re: [QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-04 Thread René-Luc Dhont
 : On Sat, 2 Mar 2019 at 00:11, René-Luc Dhont wrote: Hi Devs, I'd like to use QgsProcessingParameterMatrix with fixed rows number, like it's defined in SAGA User defined filter algorithm. And like in SAGA User defined filter algorithm, the table displayed has no rows. Which part of the QGIS

[QGIS-Developer] QgsProcessingParameterMatrix - numberRows is not respected in the UI

2019-03-01 Thread René-Luc Dhont
Hi Devs, I'd like to use QgsProcessingParameterMatrix with fixed rows number, like it's defined in SAGA User defined filter algorithm. And like in SAGA User defined filter algorithm, the table displayed has no rows. Which part of the QGIS code has to build the displayed table ? Thanks,

Re: [QGIS-Developer] QGIS server deployment

2019-02-25 Thread René-Luc Dhont
Hi Walter, We, at 3Liz, use the 3) with supervisord and the number of process is based on the number of preocessors. But we also used for QGIS3 a 4th way, a python server based on tronado: https://github.com/3liz/py-qgis-server Regards, René-Luc https://github.com/rldhont Le 25/02/2019 à

Re: [QGIS-Developer] QGIS Server: GetLegendGraphic questions

2019-01-28 Thread René-Luc Dhont
Hi Andreas, You can use RULE to get only one category as described in the standard. You can request the symbols only with the QGIS Server extra parameters https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/server/services.html#getlegendgraphics Regards, René-Luc Le 28/01/2019 à

Re: [QGIS-Developer] WFS and NULL values

2019-01-23 Thread René-Luc Dhont
Hi Allessandro, Do you speak about these PR: * https://github.com/qgis/QGIS/pull/8536 [Server] Null field value in GML has to be empty string 2.18 * https://github.com/qgis/QGIS/pull/8537 [Server][WFS] Null field value in GML has to be empty string 3.4 I don't think it is a GML specific

Re: [QGIS-Developer] Why is .qgz the default format?

2019-01-21 Thread René-Luc Dhont
à 16:04, Régis Haubourg a écrit : Hi René-Luc, What issues did you face during training? I'm afraid we won't improve if we advice to workaround this feature . Régis Le lun. 21 janv. 2019 à 16:00, René-Luc Dhont <mailto:rldh...@gmail.com>> a écrit : Hi all, During tr

Re: [QGIS-Developer] Why is .qgz the default format?

2019-01-21 Thread René-Luc Dhont
Hi all, During training, I discourage to use .qgz and auxiliary storage. I force users to save project as .qgs to avoid issues. It is not stable yet for me. René-Luc Le 21/01/2019 à 15:54, Paolo Cavallini a écrit : Hi all, On 21/01/19 14:40, Hugo Mercier wrote: I would vote for your 3rd

Re: [QGIS-Developer] Lizmap theming support

2019-01-17 Thread René-Luc Dhont
Hi Luca, In the back-office, you can change some images and colors. If it's not enough you can write some CSS in this page. You can also use media to define a specific theme for a directory or a map : https://docs.lizmap.com/current/en/publish/advanced_lizmap_config.html#media-in-lizmap

Re: [QGIS-Developer] QGIS Server WFS 2.18 unreliable?

2018-11-13 Thread René-Luc Dhont
Hi Andreas, QGIS Server segfaults when it try to build the GML for a Feature The request works for GeoJSON format https://services.geo.zg.ch/ows/Gewaessernetz?SERVICE=WFS=GetFeature=1.0.0=zg.gewaessernetz=EPSG:2056=GeoJSON René-Luc Le 13/11/2018 à 14:32, Andreas Neumann a écrit : Hi, I

Re: [QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread René-Luc Dhont
Hi Larissou, Thanks! Do you think map_crs, map_crs_definition and map_units could be backported ? René-Luc Le 12/11/2018 à 13:10, DelazJ a écrit : Hi, map_crs is a 3.0 feature afaics https://github.com/qgis/QGIS/pull/3968 Regards, Harrissou Le lun. 12 nov. 2018 à 13:06, René-Luc Dhont

Re: [QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread René-Luc Dhont
I'd like to use it in QGIS 2.18 ? In which version do you have map_crs ? René-Luc Le 12/11/2018 à 13:03, Tom Chadwin a écrit : I can see map_crs under Variables in the Expression editor. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

[QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread René-Luc Dhont
Hi Dev, I need to get the canvas CRS in an expression. It's possible to get the layer CRS with the method layer_property It's possible to get some data of the map like map_center, map_extent_height, map_scale but I didn't find how to get the map_crs. It will be useful for exemple to only

Re: [QGIS-Developer] Lizmap cannot get the feature data with WFS

2018-09-27 Thread René-Luc Dhont
Hi Paolo, Lizmap can't find the maplayer element base on layerId in the xml project. Regards, Le 27/09/2018 à 17:09, Paolo Cavallini a écrit : Hi all, I keep on getting the above error when editing or deleting points from Lizmap 3.1.4 on latest qgis LTR, PostGIS 2.5. Inserting new points

Re: [QGIS-Developer] [Server] feature typeName namespace in WFS GetFeature

2018-08-20 Thread René-Luc Dhont
Hi Stéphane, I understand like you. So I think you are right. René-Luc Le 17/08/2018 à 11:44, Stéphane Brunner a écrit : Hello, In the test we configure the typeName like this

Re: [QGIS-Developer] QEP: Temporal support in QGIS map renderer/application

2018-07-12 Thread René-Luc Dhont
Hi Nyall, A QEP for Server is probably linked to your QEP: Add WMS Time support in QGIS server https://github.com/qgis/QGIS-Enhancement-Proposals/issues/110 René-Luc Le 12/07/2018 à 09:20, Nyall Dawson a écrit : Hi all, I've just filed a new QEP, intended to be a "gathering point" for

[QGIS-Developer] 2.18 and 3.x Fix regression in Legend Composer : PR 7260

2018-06-20 Thread René-Luc Dhont
Hi Dev, I have proposed to fix a regression in Legend Composer for release-2_18 and in release-3_x. This feature is probaby not well known by QGIS devs and users because it has never been documented. In QGIS 2.0, I have introduced the capability to use the layer's title as the default layer

Re: [QGIS-Developer] QGIS Server - SSL handshake failed for cascading WMS

2018-06-01 Thread René-Luc Dhont
Hi all, To fix this issue, you have to add HOME environmental variable to a directory in which the directory .qgis2 is writable for the user used by QGIS Server, with Apache2, it's www-data. For exemple, do these commands: ``` mkdir /srv/qgis/.qgis2 chown www-data:www-data /srv/qgis/.qgis2

[QGIS-Developer] [Server] 2.18 : Is it possible to explicitly ignore SSL errors ?

2018-03-30 Thread René-Luc Dhont
Hi Devs, The issue #16462 QGIS Server lost the ability to cascade WMS layers published using HTTPS is a bit annoying for GetPrint. It also concernes XYZ layers with https. I have found this message in logs : Download of capabilities failed: SSL handshake failed Is it possible to

Re: [QGIS-Developer] issues in QGIS Server 2,18

2018-03-29 Thread René-Luc Dhont
Hi giovanni, I'd like to try the WFS QGIS Server service ? Regards, René-Luc Le 28/03/2018 à 12:38, Giovanni Manghi a écrit : Hi all, I have found the reason why QGIS Server 2.18 and probably 3 are slower than 2.14 in generating GeoJSON. I'll fix it. I discovered two more WFS related

Re: [QGIS-Developer] issues in QGIS Server 2,18

2018-03-16 Thread René-Luc Dhont
Hi Giovanni, I have found the reason why QGIS Server 2.18 and probably 3 are slower than 2.14 in generating GeoJSON. I'll fix it. Regards, René-Luc Le 09/03/2018 à 17:43, Régis Haubourg a écrit : Hi Giovanni,  GetFeatures  can output GML with a different format. What is sure is that GeoJSON

Re: [QGIS-Developer] issues in QGIS Server 2,18

2018-03-02 Thread René-Luc Dhont
Hi devs, An other Huge issue in QGIS Server 2.18.17: https://issues.qgis.org/issues/18247 Regards, René-Luc Le 01/03/2018 à 14:26, René-Luc Dhont a écrit : Hi Giovanni, Le 01/03/2018 à 12:52, Giovanni Manghi a écrit : Hi all, now that 2.18 is LTR I guess that many have also updated

Re: [QGIS-Developer] issues in QGIS Server 2,18

2018-03-01 Thread René-Luc Dhont
Hi Giovanni, Le 01/03/2018 à 12:52, Giovanni Manghi a écrit : Hi all, now that 2.18 is LTR I guess that many have also updated their QGIS Server installation to this release. Problem is that I see a few issues in 2.18 and would like to have gsome feedback from others. *) slower: it seems this

Re: [QGIS-Developer] [Server] Package 2.18, GetPrint requests are segfaulting

2018-02-12 Thread René-Luc Dhont
Hi Jürgen, Thanks for this link, I didn't know it. What is the parameters used to build QGIS for packaging ? René-Luc Le 12/02/2018 à 12:31, Jürgen E. Fischer a écrit : Hi René-Luc, On Mon, 12. Feb 2018 at 12:09:54 +0100, René-Luc Dhont wrote: How the packages are build ? Which

[QGIS-Developer] [Server] Package 2.18, GetPrint requests are segfaulting

2018-02-12 Thread René-Luc Dhont
Hi Devs, QGIS 2.18 will become the new LTR in les than 2 weeks and an issue in the server still remains. https://issues.qgis.org/issues/15440 https://issues.qgis.org/issues/15440 This issue is a regression for users because in QGIS Server 2.18, GetPrint requests are segfaulting. I have

Re: [QGIS-Developer] [Server] Is QGIS Server 3 fast yet ? the 2018-02-06

2018-02-08 Thread René-Luc Dhont
or every time a request is being made? Definitely I would welcome a submission at the next round of QGIS grants to further study the issues and improve perfomance were possible. Thanks for your thoughts, Andreas On 2018-02-08 15:19, René-Luc Dhont wrote: Hi Devs, I have made some analyse

Re: [QGIS-Developer] [Server] Is QGIS Server 3 fast yet ? the 2018-02-06

2018-02-08 Thread René-Luc Dhont
Hi Régis Le 08/02/2018 à 17:12, Régis Haubourg a écrit : Hi René Luc, thanks a lot for starting that analysis! Do you plan to be in Madeira? Elaborating a complete test suite together would be perfectly fitted for that task . I could not be in Madeira. But we can discuss about perf test

[QGIS-Developer] [Server] Is QGIS Server 3 fast yet ? the 2018-02-06

2018-02-08 Thread René-Luc Dhont
Hi Devs, I have made some analyse of the performances data generated by CampToCamp test platform. The data are downloadable here https://gmf-test.sig.cloud.camptocamp.net/ms_perfs/ And the tests are based on this docker-pull: https://github.com/camptocamp/ms_perfs The QGIS Server docker

Re: [QGIS-Developer] [server] Status and Roadmap

2018-02-08 Thread René-Luc Dhont
Hi Régis, My answers in the body of your email Le 08/02/2018 à 11:25, Régis Haubourg a écrit : Hi all, As you know, QGIS server has been fully refactored for QGIS 3. Now some big enterprises are starting to rely on it in production environment and would like to consolidate again QGIS

Re: [QGIS-Developer] QGIS3 - Processing : display the HTML outputs

2018-01-11 Thread René-Luc Dhont
Thansk for the commit! +1 Le 11/01/2018 à 14:53, kimaidou a écrit : Thanks Alexander Bruy for the commit ! https://github.com/qgis/QGIS/commit/3f55bba535b69d38993ace466266e2ab63d3839f Michaël 2018-01-11 12:47 GMT+01:00 G. Allegri >:

Re: [QGIS-Developer] php-cgi not found after installing QGIS Server on Windows

2017-11-27 Thread René-Luc Dhont
Hi Aitor, Did you use this documentation ? https://docs.3liz.com/en/install/windows.html#qgis-server-installation Regards, René-Luc Le 27/11/2017 à 13:30, Aitor Gil Martin a écrit : I installed QGIS Server 2.18, apache, QGIS Desktop 2.18 and all their dependencies using OSGeo4w x32 setup

Re: [QGIS-Developer] QGIS Server request extra parameters as variables for expressions

2017-11-24 Thread René-Luc Dhont
@Arnaud: There is no WMS dimensions in QGIS server roadmap @Richard: Which one of the three GeoServer implementation is the more 'common' way ? To my point of view, having the capability to update QGIS Variables through HTTP parameters will be a great enhancement. About the WMS

Re: [QGIS-Developer] QGIS Server request extra parameters as variables for expressions

2017-11-22 Thread René-Luc Dhont
Hi Arnaud, Is it like updated a QGIS project variables ? Regards, René-Luc Le 22/11/2017 à 15:31, Arnaud Morvan a écrit : Hello, With mapserver, request extra parameters are accessible as template variables in mapfile. I would like to implement the same possibility in QGIS Server, extra

Re: [QGIS-Developer] loadLayerDefinition does not respect relative path from qlr file

2017-11-07 Thread René-Luc Dhont
-Luc Le 06/11/2017 à 20:50, René-Luc Dhont a écrit : Hi Devs, I will propose a PR to fix it. Regards, René-Luc Le 06/11/2017 à 17:23, René-Luc Dhont a écrit : Hi Devs, I have found a bug in 2.18 that annoy me a lot: * I can't load a layer definition in an existing project because

Re: [QGIS-Developer] loadLayerDefinition does not respect relative path from qlr file

2017-11-06 Thread René-Luc Dhont
Hi Devs, I will propose a PR to fix it. Regards, René-Luc Le 06/11/2017 à 17:23, René-Luc Dhont a écrit : Hi Devs, I have found a bug in 2.18 that annoy me a lot: * I can't load a layer definition in an existing project because the relative path in the layer definition is interpreted from

[QGIS-Developer] loadLayerDefinition does not respect relative path from qlr file

2017-11-06 Thread René-Luc Dhont
Hi Devs, I have found a bug in 2.18 that annoy me a lot: * I can't load a layer definition in an existing project because the relative path in the layer definition is interpreted from the project file and not the layer definition file (.qlr) So the layer definition can only be used in an not

Re: [QGIS-Developer] QGIS Server 3 status

2017-10-20 Thread René-Luc Dhont
Hi Devs, Here is a new feature for embbeding QGIS Server in Python application! https://github.com/qgis/QGIS/pull/5408 Etienne, you can probably used it in GeoNodes to dynamically build Web Services. Regards, René-Luc Le 03/10/2017 à 10:09, Etienne Trimaille a écrit : Hi devs, We would

Re: [QGIS-Developer] QGIS Server 3 status

2017-10-13 Thread René-Luc Dhont
And I'm waiting to add WFS 1.1.0 support: https://github.com/qgis/QGIS/pull/5297 Regards, René-Luc Le 13/10/2017 à 08:58, Régis Haubourg a écrit : Hi Anita, among the news, Paul is currently tackling OGC conformity issues. see : https://github.com/qgis/QGIS/pull/5044

Re: [QGIS-Developer] QGIS Server 3 status

2017-10-04 Thread René-Luc Dhont
Hi, It seems that the QGIS refactoring is complete! https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74 https://github.com/qgis/qgis3.0_api/issues/57 https://github.com/qgis/QGIS/pull/4824 You can use QGIS Server like this in Python from qgis.server import QgsServer, QgsServerRequest,

[QGIS-Developer] geos_c.h not found on MacOS

2017-09-14 Thread René-Luc Dhont
Hi Devs, Two PRs have been opened for the same issue: https://github.com/qgis/QGIS/pull/5192 macOS needs path to GEOS framework https://github.com/qgis/QGIS/pull/5196 Fix geos_c.h not found Any reviewers ? Regards, René-Luc ___ QGIS-Developer mailing

Re: [QGIS-Developer] WIP: QGIS Server refactoring - the last one GetPrint

2017-08-26 Thread René-Luc Dhont
-Luc Le 05/08/2017 à 11:33, Martin Dobias a écrit : Hi René-Luc On Fri, Aug 4, 2017 at 7:00 PM, René-Luc Dhont <rldh...@gmail.com> wrote: The good news for QGIS Server is that when this PR will be merged, we'll be able to definitely remove all the old project parser codes from the

Re: [QGIS-Developer] QGIS server vs LTR

2017-08-06 Thread René-Luc Dhont
Hi Devs, To enhance QGIS Server 2.18, I have tested to add some test and I have some trouble with Highlight layers. Does some one have using this feature ? René-Luc Le 02/08/2017 à 15:37, Andreas Neumann a écrit : I personally don't have any issues with QGIS server 2.18. I use it in

Re: [QGIS-Developer] WIP: QGIS Server refactoring - the last one GetPrint

2017-08-06 Thread René-Luc Dhont
Hi devs, I have updated the PR with Highlight layers and more tests. Regards, René-Luc Le 05/08/2017 à 11:33, Martin Dobias a écrit : Hi René-Luc On Fri, Aug 4, 2017 at 7:00 PM, René-Luc Dhont <rldh...@gmail.com> wrote: The good news for QGIS Server is that when this PR will be

[QGIS-Developer] WIP: QGIS Server refactoring - the last one GetPrint

2017-08-04 Thread René-Luc Dhont
Hi Devs, I just created a PR for QGIS Server concerning GetPrint. Because of the lack of test on the different GetPrint specific parameters in the precedent versions, I don't know if the refactoring gives exactly the same features. So I need reviews and tests to add new tests. The good news

  1   2   3   >