Re: [QGIS-Developer] Monitor QGIS (Server) memory consumption per project

2021-07-28 Thread kimaidou
liable and should not be used in a highly changing environment (production server with high activity). It could help nonetheless... Regards, Michaël Le mer. 28 juil. 2021 à 12:08, kimaidou a écrit : > Hi all, > > We (@3liz.com) use QGIS Server since a long time to provide hosting > se

[QGIS-Developer] Monitor QGIS (Server) memory consumption per project

2021-07-28 Thread kimaidou
Hi all, We (@3liz.com) use QGIS Server since a long time to provide hosting services for our clients, with Lizmap Web Client (LWC) as the web map builder. Having hundred LWC instances, we pay obviously attention to metrics, and monitor the CPU, memory, requests response time, etc. We sometimes e

Re: [QGIS-Developer] [Qgis-psc] Grant report: Rework handling of multi-layer, mixed-format datasets

2021-07-28 Thread kimaidou
Thanks a lot ! Regards, Michaël Le mer. 28 juil. 2021 à 09:00, Tim Sutton a écrit : > Wow great work Nyall! > > Regards > > Tim > > Sent from my iPhone > > On 28 Jul 2021, at 07:43, Paolo Cavallini wrote: > > Thanks a lot Nyall, I'm sure you did more and better work than it was > expected. Ou

Re: [QGIS-Developer] Processing script to audit all projects in a directory and subdirectories

2021-07-16 Thread kimaidou
Hi, Thanks for your reply. My answers: Le ven. 16 juil. 2021 à 14:30, a écrit : > Hi, Michael, > > > > Congratulations for the script! > thanks > > These days I was looking for a script to list layers from Qgis projects > with their respective sources (pathfile) and other info like, layer n

[QGIS-Developer] Processing script to audit all projects in a directory and subdirectories

2021-07-16 Thread kimaidou
Hi all ! I just published a WIP processing script I created to audit all the projects found in a local directory (and subdirectories). I think it can be useful in different contexts, and if you enough people find it interesting, I could add it to the QGIS Resource sharing repository. See a full R

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

2020-03-18 Thread kimaidou
Hi all Thanks for raising this issue and for your proposal of patch. I agree with you that in many cases, completely trusting the project for columns, srid, and all other things needed by Qgis would improve performances a lot in project loading, and for Qgis server getcapabilities requests. I do

Re: [QGIS-Developer] Potential vulnerabilities

2020-02-03 Thread kimaidou
Hi all, Thanks for the report. On this kind of topic, I think it would be wise to be cautious when writing issues about security. I personally would have contacted the authors of Lizmap Web Client first before writing an issue on the public Github repo, with detailed methodology on how to reproduc

Re: [QGIS-Developer] LTR management [was Re: Delaying 3.10.1?]

2019-11-23 Thread kimaidou
HI, I totally agree with Nathan on this topic. Regards, Michaël Le sam. 23 nov. 2019 à 13:37, Nathan Woodrow a écrit : > Hey, > > I know it has been said before, but changing the GDAL/Proj version of the > LTR versions is really a no go. It's a breaking change in terms of possible > breakages an

[QGIS-Developer] Processing alg - best solution for a "value relation" form input ?

2019-06-27 Thread kimaidou
Hi, I would like to propose a QgsProcessingParameterEnum automatically filled with data from a layer, exactly in the same way QGIS does with the form value relation widget. Basically, the alg author would choose the layer, the key field, the value field, to order or not by value, and an optionnal

Re: [QGIS-Developer] Python script to count the number of feature for each unique values

2019-02-26 Thread kimaidou
Thanks a lot Nyall, setting the NoGeometry flags and subset of fields does improve the speed by factor 3 for my test layer ( 300k features and 80 (!) fields ) Regards Michaël Le lun. 25 févr. 2019 à 23:48, Nyall Dawson a écrit : > On Tue, 26 Feb 2019 at 03:31, kimaidou wrote: > > &

[QGIS-Developer] Python script to count the number of feature for each unique values

2019-02-25 Thread kimaidou
(see https://twitter.com/kimaidou/status/1100053546978983936 conversation), wich is much faster, but I needed a quick way to do it with Python. I tested virtual layers too, but my source layer has many fields (with some heavy data) and the copy/pasting into spatialite was not efficient here. The

Re: [QGIS-Developer] Tackling Postgis layers connection recover

2019-02-06 Thread kimaidou
Here is the pull request kindly provided by Timothé https://github.com/qgis/QGIS/pull/9107 Le mar. 5 févr. 2019 à 13:43, kimaidou a écrit : > +1000 Thanks for your help regarding this nasty issue > > Le mar. 5 févr. 2019 à 08:00, Paolo Cavallini a > écrit : > >> Ag

Re: [QGIS-Developer] Tackling Postgis layers connection recover

2019-02-05 Thread kimaidou
+1000 Thanks for your help regarding this nasty issue Le mar. 5 févr. 2019 à 08:00, Paolo Cavallini a écrit : > Agreed, a long standing annoying issue. Thanks for taking it. > Cheers. > > Il 4 febbraio 2019 23:32:39 CET, Nyall Dawson ha > scritto: >> >> On Tue, 5 Feb 2019 at 05:54, Timothé Pere

Re: [QGIS-Developer] MSSQL driver not found & Can't open lib 'SQL Server' - QGIS 2.18 LTR on Debian

2018-12-11 Thread kimaidou
01:03, Nyall Dawson a écrit : > On Sun, 9 Dec 2018 at 03:11, kimaidou wrote: > > > > Hi Nyall, > > > > Thanks for your answer. I had already checked that the layers had > integer primary keys. I have discovered that the "wrong" layers had > "nva

Re: [QGIS-Developer] MSSQL driver not found & Can't open lib 'SQL Server' - QGIS 2.18 LTR on Debian

2018-12-08 Thread kimaidou
he issue. Cheers, Michaël Le mer. 5 déc. 2018 à 23:55, Nyall Dawson a écrit : > On Thu, 6 Dec 2018 at 05:37, kimaidou wrote: > > > > Thanks for your answers. I managed to connect with QGIS MSSQL native > provider under my Debian box with the foll

Re: [QGIS-Developer] MSSQL driver not found & Can't open lib 'SQL Server' - QGIS 2.18 LTR on Debian

2018-12-05 Thread kimaidou
anyone seen this behaviour before ? Cheers Michaël Le lun. 19 nov. 2018 à 00:12, Nyall Dawson a écrit : > On Sat, 17 Nov 2018 at 02:01, kimaidou wrote: > > > > Hi all, > > > > I am trying to connect to a MSSQL server from a QGIS installed in a > Linux Debian Jessi

Re: [QGIS-Developer] MSSQL driver not found & Can't open lib 'SQL Server' - QGIS 2.18 LTR on Debian

2018-11-16 Thread kimaidou
hs in my text fields (encoding I presume...) Le ven. 16 nov. 2018 à 17:00, kimaidou a écrit : > Hi all, > > I am trying to connect to a MSSQL server from a QGIS installed in a Linux > Debian Jessie computer. > I have checked that the credentials are ok with the mssql-client from > M

[QGIS-Developer] MSSQL driver not found & Can't open lib 'SQL Server' - QGIS 2.18 LTR on Debian

2018-11-16 Thread kimaidou
Hi all, I am trying to connect to a MSSQL server from a QGIS installed in a Linux Debian Jessie computer. I have checked that the credentials are ok with the mssql-client from Microsoft: mssql-cli -S myserver -U carto -P *** -d MyBase I installed the following packages from debian and Micros

Re: [QGIS-Developer] QGIS composer export - issue with projection, scale & scalebar ?

2018-11-16 Thread kimaidou
Le ven. 16 nov. 2018 à 02:21, Nyall Dawson a écrit : > > > My 2c: I don't actually believe there's an issue here. QGIS scale bars > *ALWAYS* use ellipsoidal distances, regardless of the projection (and > have for longer than I've been involved in the project, so since some > version earlier than

Re: [QGIS-Developer] QGIS composer export - issue with projection, scale & scalebar ?

2018-11-14 Thread kimaidou
sue in the QGIS hub instead. I should have done that first. Let continue the talk in the hub. Sorry for this. Michaël Le mer. 14 nov. 2018 à 12:03, kimaidou a écrit : > I created this issue > https://issues.qgis.org/issues/20489 > > Le mer. 14 nov. 2018 à 11:56, kimaidou a écrit

Re: [QGIS-Developer] QGIS composer export - issue with projection, scale & scalebar ?

2018-11-14 Thread kimaidou
I created this issue https://issues.qgis.org/issues/20489 Le mer. 14 nov. 2018 à 11:56, kimaidou a écrit : > Hi ! > > I am facing what seems to be an issue, or probably something well known by > anyone but me... > > I have created 2 very simple QGIS projects (attached with da

Re: [QGIS-Developer] The future of the F5 shortcut...

2018-07-12 Thread kimaidou
There is another issue relative to F5 button. In database manager, it is supposed to run the Query, but I have never seen it work, neither on Ubuntu or Windows. Has anyone been confonted to the same issue ? Michaël 2018-07-11 11:18 GMT+02:00 Borys Jurgiel : > Dnia środa, 11 lipca 2018 01:44:48 C

Re: [QGIS-Developer] pyqgis - layer.saveDefaultStyle() for PostGIS layers

2018-05-09 Thread kimaidou
xchange.com/users/19667/luigi-pirelli >> > * GitHub: https://github.com/luipir >> > * Mastering QGIS 2nd Edition: >> > * https://www.packtpub.com/big-data-and-business-intelligence/ >> mastering-qgis-second-edition >> > >> **

Re: [QGIS-Developer] Web based admin interface for processing models

2018-03-12 Thread kimaidou
Hi Very quick answer: We (3liz team) are indeed developing a full server stack to be able to use QGIS processing algorithms server side. It will be fully opensourced. No real web admin panel in project, but we use Lizmap Web Client as a web front end to published algs. We will try to come back he

Re: [QGIS-Developer] QGIS3 - processing python script. Read features from output layer

2018-02-15 Thread kimaidou
Thanks for your explanation ! I also think it makes sense to share source layers in some cache in the future. 2018-02-16 7:36 GMT+01:00 Nyall Dawson : > On 16 February 2018 at 17:29, kimaidou wrote: > > Thanks Nyall, > > > > Our posts crossed ! > > > > Ok for

Re: [QGIS-Developer] QGIS3 - processing python script. Read features from output layer

2018-02-15 Thread kimaidou
featureSourceFromString which allows me to loop through the features ? Michaël 2018-02-16 7:22 GMT+01:00 Nyall Dawson : > On 16 February 2018 at 04:36, kimaidou wrote: > > Hi all, > > > > I have a simple processing python alg which > > * generates a buffer with qgis:buffer > &

Re: [QGIS-Developer] QGIS3 - processing python script. Read features from output layer

2018-02-15 Thread kimaidou
Found id ! I have to use mapLayerFromString : blayer = QgsProcessingUtils.mapLayerFromString(area_result['OUTPUT'], context) \o/ 2018-02-16 7:11 GMT+01:00 kimaidou : > Hi Salvatore, > > I already tried to use > > blayer = area_result['OUTPUT'

Re: [QGIS-Developer] QGIS3 - processing python script. Read features from output layer

2018-02-15 Thread kimaidou
ting the layer as a processing layer object I use this code inside the processAlgorithm method of my QgsProcessingAlgorithm class. Michaël 2018-02-15 22:39 GMT+01:00 Salvatore Larosa : > Hi Michaël, > > On Thu, Feb 15, 2018 at 6:36 PM, kimaidou wrote: > >> Hi all, &

Re: [QGIS-Developer] QGIS3 - processing python script. Read features from output layer

2018-02-15 Thread kimaidou
ting the layer as a processing layer object I use this code inside the processAlgorithm method of my QgsProcessingAlgorithm class. Michaël 2018-02-15 22:39 GMT+01:00 Salvatore Larosa : > Hi Michaël, > > On Thu, Feb 15, 2018 at 6:36 PM, kimaidou wrote: > >> Hi all, &

[QGIS-Developer] QGIS3 - processing python script. Read features from output layer

2018-02-15 Thread kimaidou
Hi all, I have a simple processing python alg which * generates a buffer with qgis:buffer * use qgis:fieldcalculator to add an buf_area field -> the output vector of my alg is this buffer+new field. I would like to parse the features of the output vector in order to gather some information and pu

Re: [QGIS-Developer] QGIS3 Processing Modeler - some bugs encountered

2018-01-23 Thread kimaidou
Thanks Nyall ! 2018-01-23 1:57 GMT+01:00 Nyall Dawson : > On 19 January 2018 at 18:26, kimaidou wrote: > > Dear devs, > > > > I am looking at Processing for QGIS3, and would like to share some bugs I > > discovered while playing with models. I have not found related

[QGIS-Developer] QGIS3 Processing Modeler - some bugs encountered

2018-01-19 Thread kimaidou
Dear devs, I am looking at Processing for QGIS3, and would like to share some bugs I discovered while playing with models. I have not found related issues in the hub. I will add them after some feedback. Please point me the the issues if they do exists in Redmine * Number input is not proposed in

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

2018-01-11 Thread kimaidou
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 : > The same for me! > > Giovanni > > 2018-01-11 10:04 GMT+01:00 matteo : > >> > Il 11/01/2018 09:47, Victor Olaya ha scritto: >> >> N

Re: [QGIS-Developer] Project migration 2.18 > 3.0 - QGIS Server GetMap output very big images compared to a "from scratch" project

2018-01-11 Thread kimaidou
Hi, Bug fixed by René-Luc : https://github.com/qgis/QGIS/pull/6038/files Cheers, Michaël 2018-01-11 12:17 GMT+01:00 kimaidou : > Hi, > > I have seen a difference : > * in the migrated file, the property type="int">90 > is kept inside the QGS. > * in a QGIS 3 pro

Re: [QGIS-Developer] Project migration 2.18 > 3.0 - QGIS Server GetMap output very big images compared to a "from scratch" project

2018-01-11 Thread kimaidou
is not the default one, for example if value = 80 This means there is a regression in QGIS 3 Server, which uses this parameter for PNG and not only for JPEG ! I will search deeper in the code regards Michaël 2018-01-11 12:08 GMT+01:00 kimaidou : > Hi, > > I am testing QGIS

[QGIS-Developer] Project migration 2.18 > 3.0 - QGIS Server GetMap output very big images compared to a "from scratch" project

2018-01-11 Thread kimaidou
Hi, I am testing QGIS 3 Server. When I create a project from scratch in QGIS 3, and use it to publish WMS service, the getMap requests return correct PNG images : ~ 100 ko for a size of ~ 1500 X 800 pixels When I open a project made with 2.18 and save it with QGIS 3, and publish it, I get huge PN

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

2018-01-10 Thread kimaidou
ee the run listed in the Processing result viewer. I think we should propose a way to display the result directly inside QGIS for the text, html and other "readable" output format. Michaël 2018-01-11 8:29 GMT+01:00 kimaidou : > Hi Alexander, > > It helps a lot thanks. It solves t

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

2018-01-10 Thread kimaidou
e them. Double-clicking on the result item will open it in the > default browser. > > Hope this helps > > 2018-01-10 21:37 GMT+02:00 kimaidou : > > Hi all, > > > > I am trying QGIS 3 these days. In the processing toolbox, when I run some > > algs with an HTML out

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

2018-01-10 Thread kimaidou
Hi all, I am trying QGIS 3 these days. In the processing toolbox, when I run some algs with an HTML output, the processing dialog is closed just after the results are produced, and not displayed. You can test this behaviour with the Raster statistics algs. What is the python way to tell QGIS to

[QGIS-Developer] Heatmap renderer - speed up possible ?

2018-01-02 Thread kimaidou
Hi, I have juste seen this blog post https://bl.ocks.org/rpgove/210f679b1087b517ce654b717e8247ac I know nothing about this kind of algs, nore about the QGIS rendering internals, but I thought it could be a possible way to speed up the heatmap renderer ? Just passing the info ;) Regards Michaël

Re: [QGIS-Developer] Removing QgsProject.instance() from Python bindings?

2017-12-29 Thread kimaidou
Hi, Ok for this change, but please take the Server into account, where iface is not usable, but serverIface instead. Please add the activeProject method to the server interface too, as server plugins shall use the project Regards Michaël 2017-12-23 11:23 GMT+01:00 Matthias Kuhn : > +1 > > for t

Re: [QGIS-Developer] Fwd: My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-03 Thread kimaidou
Hi Jorge This feature would be good to have in the DB manager, but I do not think we should create a function in any database without warning the user. Inside QGIS, we should be less intrusive and only run the SELECT SQL inside the function to get all missing indexes, show them in a QGIS table vi

Re: [QGIS-Developer] Fwd: My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-01 Thread kimaidou
ECT * FROM create_missing_spatial_indexes(True); URL : https://gist.github.com/mdouchin/cfa0e37058bcf102ed490bc59d762042 Cheers, Michaël 2017-12-01 12:10 GMT+01:00 Salvatore Larosa : > Thank you very much! > > -- > Sent from my mobile phone > > Il 01 Dic 2017 12:01 PM, "kim

[QGIS-Developer] Fwd: My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-01 Thread kimaidou
Hi users and devs, I just created a very simple function [1] to create all the missing spatial indexes on your table geometry columns. It is the 1st version, has no fancy parameter to choose tables or schemas, nor return anything usefull (only notices). Use it with a simple SELECT create_missing

Re: [QGIS-Developer] Preview job and slow datasources

2017-11-16 Thread kimaidou
Hi, I was wondering if these preview jobs are enabled in QGIS Server context, when requesting a GetMap from any client. I am pretty sure the context of the preview jobs execution is related to Desktop, but I would like to be sure. Any hint on this ? Regards, Michaël 2017-11-16 11:15 GMT+01:00 Ma

Re: [QGIS-Developer] pyqgis - layer.saveDefaultStyle() for PostGIS layers

2017-09-25 Thread kimaidou
; Regards, > > Jorge Gustavo > > > De: QGIS-Developer [qgis-developer-boun...@lists.osgeo.org] em nome de > kimaidou [kimai...@gmail.com] > Enviado: 25 de Setembro de 2017 14:23 > Para: Luigi Pirelli > Cc: qgis-developer@lists.o

Re: [QGIS-Developer] pyqgis - layer.saveDefaultStyle() for PostGIS layers

2017-09-25 Thread kimaidou
Hi, @ Tom : I really would like to trust QGIS method instead of managing manually different providers. @ Luigi No error message, even worse : i got a message telling everything went well ;) layer.saveDefaultStyle() (u'The style dbname=\'qgis\' host=localhost port=5432 user=\'mdouchin\' sslmode=d

[QGIS-Developer] pyqgis - layer.saveDefaultStyle() for PostGIS layers

2017-09-25 Thread kimaidou
Hi all, In the "Layer board" plugin, there is a button to save the default style for each selected layers. To do so, I use the method layer.saveDefaultStyle() It seems this method does not work for Postgis layers. I tried manually in the python console, and I confirm it does not achieve to creat

[QGIS-Developer] Attribute table - item not highlighted in form mode when using drag&drop designer

2017-08-08 Thread kimaidou
Hi all, A user reported an issue on QGIS 2.18.11 (and probably previous versions). When the drag and drop designer is used for a vector layer, the attribute table, viewed in form mode, does not show any colour underneath the current feature. See this image https://framapic.org/Ft1j3xwqga2D/8ARZc3

Re: [QGIS-Developer] FOSS4G Europe in Paris next week

2017-07-08 Thread kimaidou
Hi all I will be present too ! 2017-07-05 16:36 GMT+02:00 Yves Jacolin : > Régis, > > I will be present all week so even for the code sprint! > > Y. > On mercredi 5 juillet 2017 16:16:46 CEST Régis Haubourg wrote: > > Hi all, > > within two weeks the FOSS4G Europe is held near Paris at the Nati

Re: [QGIS-Developer] QGIS Grant "Add consistency to UI controls" complete

2017-06-09 Thread kimaidou
Thanks a lot ! No more confusion with N or 1/N scales definition ! 2017-06-09 9:42 GMT+02:00 Tim Sutton : > Thanks for the report back and the great work Nyall! > > Regards > > Tim > > On Fri, Jun 9, 2017 at 9:18 AM, Paolo Cavallini > wrote: > >> Il 09/06/2017 08:54, Nyall Dawson ha scritto: >>

Re: [QGIS-Developer] Lizmap - "Story map" feature POC with QGIS user map data

2017-06-08 Thread kimaidou
Thanks Tim ! 2017-06-08 8:57 GMT+02:00 Tim Sutton : > Hi > > On Tue, Jun 6, 2017 at 5:16 PM, kimaidou wrote: > >> Hi all, >> >> I am working on a new feature for upcoming version of Lizmap Web Client, >> which allows the user >> * to move from one lay

Re: [QGIS-Developer] Lizmap - "Story map" feature POC with QGIS user map data

2017-06-07 Thread kimaidou
Hi Tom I prefer to use a layer as a source, because this way you can use it * to zoom on somewhere (each layer feature ) -> no need to set up bookmarks in QGIS * display some information (title, description, photo, etc.) based on each feature GetFeatureInfo request I could use any other lizmap fea

[QGIS-Developer] Lizmap - "Story map" feature POC with QGIS user map data

2017-06-06 Thread kimaidou
Hi all, I am working on a new feature for upcoming version of Lizmap Web Client, which allows the user * to move from one layer object to the next , and shows: * to see the feature information ( based on Lizmap popup) * to see the geometry of the feature (highlighted in yellow) , optionnaly The e

Re: [QGIS-Developer] Use data from

2017-06-06 Thread kimaidou
Oups, sorry, I did not write down the whole subject, which was meant to be "Use data from QGIS user map" 2017-06-06 13:51 GMT+02:00 kimaidou : > Hi all, > > I would like to use data from the QGIS User map [1] to create a demo map > for a new Lizmap feature. Data can be

[QGIS-Developer] Use data from

2017-06-06 Thread kimaidou
Hi all, I would like to use data from the QGIS User map [1] to create a demo map for a new Lizmap feature. Data can be accessed from [2] I would like to know which are the terms of use. [1] https://plugins.qgis.org/community-map/ [2] https://plugins.qgis.org/community-map/usermaps/?format=json R

Re: [QGIS-Developer] 2.18.9 - big thanks to Jürgen for the quick release!

2017-05-30 Thread kimaidou
Hi all, +1000 to thank Jürgen for his work. I think QGIS dev community should also find a way not to rely only on one person to wear this burden (if it is really the case). I have no clue if anyone else can help Jürgen ( or if it is necessary , or if Jürgen agree with this, or if it is already th

[Qgis-developer] Expression to get label reference point X and Y for use with geometry generator (make_line) ?

2017-05-04 Thread kimaidou
Hi QGIS ! I am playing with data-defined label position, with 2 column label_x and label_y. I use a geometry generator to draw the line between the label and the feature centroid, like make_line( centroid( $geometry ), make_point( "label_x", "label_y" ) ) It work pretty well (with some recta

Re: [Qgis-developer] QGEP - right place to raise issues and discuss technical matters ?

2017-04-27 Thread kimaidou
GMT+02:00 kimaidou : > Hi Régis, > > Thanks for your answer ! > > 2017-04-14 16:16 GMT+02:00 Régis Haubourg : > >> Hi Michaël, >> nice to see more people join the water application fest :). >> >> good question, and we could ask the same for similar projects l

Re: [Qgis-developer] QGEP - right place to raise issues and discuss technical matters ?

2017-04-21 Thread kimaidou
Hi Régis, Thanks for your answer ! 2017-04-14 16:16 GMT+02:00 Régis Haubourg : > Hi Michaël, > nice to see more people join the water application fest :). > > good question, and we could ask the same for similar projects like QWAT > and the others ready to launch. > > Your point is that we miss

[Qgis-developer] QGEP - right place to raise issues and discuss technical matters ?

2017-04-13 Thread kimaidou
Hi all, I am working for a client of mine with the great QGEP model and plugin. I have some issues, questions, and I would like to contribute with possible translation, documentation and development. My first reflex would be to open issues and PR in QGEP github repository, but since this project

Re: [Qgis-developer] p.write() throws an error

2017-03-06 Thread kimaidou
Hi Paolo, As you tested, this is not related to Lizmap plugin, because you told me you tested the following python code inside your Python console and got the same error p = QgsProject.instance() if p.isDirty(): p.write() Can anyone else test and report there is no pbm ? Paolo, could you gi

Re: [Qgis-developer] [Server] performance questions

2017-02-18 Thread kimaidou
Hi, Thanks for this work. I heard in a recent PR that Richard Duivenvoorde is struggling with big PostgreSQL datasets (see [1] ) [1] https://github.com/qgis/QGIS-Enhancement-Proposals/issues/79#issuecomment-279628851 Michaël 2017-02-16 11:04 GMT+01:00 Luca Manganelli : > > On Wed, Feb 15, 2017

Re: [Qgis-developer] Z or M styling in QGIS

2017-01-03 Thread kimaidou
Thanks Regis ! 2017-01-03 12:22 GMT+01:00 Régis Haubourg : > First PR for sharing style here: > https://github.com/qgis/QGIS-Resources/pull/6 > > > ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/

Re: [Qgis-developer] Z or M styling in QGIS

2017-01-03 Thread kimaidou
Hi all This is indeed awesome ! Régis, you really should pass this kind of snippet to a broad audience (if you have time, of course). I do not know if the new QGIS sharing tool is the right target, or a quick blog post ? Cheers, Michaël 2017-01-03 11:31 GMT+01:00 Régis Haubourg : > > > 2017-01-

Re: [Qgis-developer] Improve server-side compiled expressions for PostGreSQL

2016-11-15 Thread kimaidou
ame when > executed locally and server side - across all providers. > > It's a long-standing plan of mine but I haven't found the time (or > contract) for this yet... > > Matthias > > On 11/15/2016 11:01 AM, kimaidou wrote: > > Hi all, > > > >

[Qgis-developer] Improve server-side compiled expressions for PostGreSQL

2016-11-15 Thread kimaidou
Hi all, I usually work with PostgreSQL data in QGIS. I would like to have a guidance on how to improve the set of compiled expressions for PostgreSQL. My goal is to propose a PR for some spatial function. I think the files are here src/providers/postgres/qgspostgresexpressioncompiler.cpp src/prov

Re: [Qgis-developer] Visualisation of relations

2016-11-01 Thread kimaidou
Hi all, Speaking about child tables, I would rather have them presented as table and not forms by default (or have an option to decide this for QGIS installation). Usually you only want to see the list of children for each relation, which is more compact, and show very fast if there is zero or any

Re: [Qgis-developer] About project.qgs file versions

2016-10-26 Thread kimaidou
Hi all, What about having an automatic backup saved before overwriting the file with the newer version ? For example create a my-project.qgs.2.14 and only after that override the project file with newer version. This would be a safe way to let the user keep a copy of the project. I can create an

Re: [Qgis-developer] Show Geotagged Images on Map

2016-10-10 Thread kimaidou
ssible to add an image type to the symbol editor > for shapefiles, etc. that can use the an equation to create the image name > and then display the image from there? > > > > Thanks, > > > > JQ > > > > *From:* kimaidou [mailto:kimai...@gmail.com] > *Sent:*

Re: [Qgis-developer] Are we doing a 2.18 release

2016-09-21 Thread kimaidou
Hi Michaël, > > On Wed, 21. Sep 2016 at 13:33:48 +0200, kimaidou wrote: > > A big other question: will this release be a LTR ? > > No, 2.14 is the LTR. > > > Jürgen > > -- > Jürgen E. Fischer norBIT GmbH Tel. > +49-4931-918175-31 &g

Re: [Qgis-developer] Are we doing a 2.18 release

2016-09-21 Thread kimaidou
Hi, A big other question: will this release be a LTR ? I am sorry to reopen Pandora box, but this is a question often asked by users during courses. They would prefer to have the last 2.* as LTR, before the big changes, in order to keep their plugins and projects "safe" before 3.0. Or perhaps it i

Re: [Qgis-developer] Show Geotagged Images on Map

2016-09-19 Thread kimaidou
​Hi, you could use this snippets : https://gist.github.com/mdouchin/d66191ccfadd74cff3f0 Basically, it loads an image for each feature in a SVG, which can then be used as a symbol. Regards Michaël 2016-09-18 22:35 GMT+02:00 Joshua Quesenberry : > All, > > > > I was wondering if anyone knows of

Re: [Qgis-developer] Webkit package included for deb

2016-09-08 Thread kimaidou
I have not checked yet. In the meantime, could you please check to export a composer with a Text label rendered as HTML ? I noticed it was very long before and rendered blank labels once done. Thanks in advance. Michaël 2016-09-08 17:30 GMT+02:00 Paolo Cavallini : > Hi all, > I'm testing the new

Re: [Qgis-developer] Qgis and huge amount of data opening "small" postgis layer

2016-09-08 Thread kimaidou
Hi, Have you checked in the tab "Rendering" of your layer properties the checkbox about "Realize simplification by the provider if possible" (or a text similar, as I just translated from french...). It can make a huge difference for smal scales like 1:50, because data is simplified server-side

Re: [Qgis-developer] Qgis resource sharing VS processing for script sharing

2016-09-01 Thread kimaidou
used only on the processing >> scripts. >> > The only thing missing from the one in the toolbox is to search the >> script >> > itself (?) If the number of the scripts is getting bigger, users would >> > probably find it hard to search for scripts they

[Qgis-developer] Qgis resource sharing VS processing for script sharing

2016-08-31 Thread kimaidou
Hi QGIS folks, Since the release of the great plugin "Qgis resource sharing" (1) (2) & (3) we can share many resources, and processing scripts are among them. We have also another Processing dedicated github repo for sharing Python scripts, R scripts and models (4) Regarding this current situati

Re: [Qgis-developer] Let's clean up hub.qgis.org

2016-08-25 Thread kimaidou
Hi Paolo You can also remove and purge lizmap related projects http://hub.qgis.org/projects/lizmapwebclient http://hub.qgis.org/projects/lizmap-plugin Thanks a lot. Michael Le jeudi 25 août 2016, Luca Congedo a écrit : > Hello Paolo, > you can remove the project > http://hub.qgis.org/projects/

Re: [Qgis-developer] Pyqgis - QgsComposerLabel issues with Html rendering (state = 2) in QGIS 2.16

2016-08-11 Thread kimaidou
While running QGIS from command line, I got these warnings Warning: Object::connect: No such signal QgsWebPage::loadFinished( bool ) 2016-08-11 11:52 GMT+02:00 kimaidou : > ​​ > Hi folks, > > In one of my plugins I create a QgsComposition and fill it with some > QgsComp

[Qgis-developer] Pyqgis - QgsComposerLabel issues with Html rendering (state = 2) in QGIS 2.16

2016-08-11 Thread kimaidou
​​ Hi folks, In one of my plugins I create a QgsComposition and fill it with some QgsComposerLabel items. Extract of code : http://paste.debian.net/788195/ In 2.14, this works fast and well -> my HTML is well rendered when exporting the composition to pdf. In 2.16, generation take ages, and the

Re: [Qgis-developer] Expressions - performances of spatial operators

2016-07-05 Thread kimaidou
you have sponsors, I've got some experimental code > somewhere and I am very interested in working on this project. > > FYI, a first test - only the prepare part - some months ago improved the > 2.5D rendering by ~30%. > > Regards > Matthias > > On 07/05/2016 03:11

[Qgis-developer] Expressions - performances of spatial operators

2016-07-05 Thread kimaidou
Hi all, I am a bit curious about performances concerning the use of Spatial expressions in QGIS, for example to select features like this intersects( $geometry, geom_from_wkt( 'MultiPolygon (((649308.282793968 6978002.0599959021807, 649295.325809048 6977994.549998

Re: [Qgis-developer] custom charts?

2016-06-24 Thread kimaidou
Hi all, Great idea indeed. Here is another example of "dynamic" SVG, used here to render PNG as symbols in QGIS. Not with expressions but with a Python method. https://gist.github.com/mdouchin/d66191ccfadd74cff3f0 It is derived of the work of Nathan Woodrow: http://nathanw.net/2016/02/04/live-svg

Re: [Qgis-developer] Build issue on Ubuntu 16.04 xenial with release-2_14 : crssync target failed

2016-06-08 Thread kimaidou
GDAL_CONFIG /usr/bin/gdal-config GDAL_INCLUDE_DIR /usr/include/gda GDAL_LIBRARY /usr/lib/libgdal.so Thanks again, both Bas and Yves, for you kind help Cheers Michaël 2016-06-08 14:36 GMT+02:00 Bas Couwenberg : > On 2016-06-08 14:17, kimai

Re: [Qgis-developer] Build issue on Ubuntu 16.04 xenial with release-2_14 : crssync target failed

2016-06-08 Thread kimaidou
directory and gdal-config path in ccmake, and run the build again. It should do the trick I will report back if this solves the issue I had 2016-06-08 14:09 GMT+02:00 Yves Jacolin : > On Wednesday, June 08, 2016 13:49:53 kimaidou wrote: > > Hi Bas, > > > > Thanks for your ans

Re: [Qgis-developer] Build issue on Ubuntu 16.04 xenial with release-2_14 : crssync target failed

2016-06-08 Thread kimaidou
Hi Bas, Thanks for your answer. It appears I built gdal on year ago to check GeoJson write capabilities in QGIS. Now, I have indeed just upgraded to last Ubuntu xenial, and I am trying to get rid of old GDAL build and reinstall GDAL from repositories. So I removed all symlinks made earlier today,

Re: [Qgis-developer] Build issue on Ubuntu 16.04 xenial with release-2_14 : crssync target failed

2016-06-08 Thread kimaidou
e build does not succeed either, see https://paste.sh/l2Jdh0Bt#5wrhkbMFV3nUwfnsHdLhfZ5U 2016-06-08 11:14 GMT+02:00 kimaidou : > I just tested if with one proc only, which helps to see the errors. Here > they are > > https://paste.sh/24JYwaQj#WXMylljn7ATP3KB7UM2TdbhZ > > >

Re: [Qgis-developer] Build issue on Ubuntu 16.04 xenial with release-2_14 : crssync target failed

2016-06-08 Thread kimaidou
I just tested if with one proc only, which helps to see the errors. Here they are https://paste.sh/24JYwaQj#WXMylljn7ATP3KB7UM2TdbhZ 2016-06-08 10:45 GMT+02:00 kimaidou : > Hi all > > I am trying to build QGIS release-2_14 in my Ubuntu 16.04. I have > installed dependencies l

[Qgis-developer] Build issue on Ubuntu 16.04 xenial with release-2_14 : crssync target failed

2016-06-08 Thread kimaidou
Hi all I am trying to build QGIS release-2_14 in my Ubuntu 16.04. I have installed dependencies listed in the INSTALL.md file, and tried it with a clean build directory and ccache emptied I use QGIS official repo deb http://qgis.org/debian xenial main deb-src http://qgis.org/debian xenial m

Re: [Qgis-developer] QGIS Layer Search Plugin

2016-06-07 Thread kimaidou
Hi Paolo, I just answered before, following Victor mantra "Processing Processing Processing" 2016-06-07 15:51 GMT+02:00 Paolo Cavallini : > Il 06/06/2016 22:54, Richard Duivenvoorde ha scritto: > > On 06-06-16 22:44, C Hamilton wrote: > > >> https://github.com/NationalSecurityAgency/qgis-layerse

Re: [Qgis-developer] QGIS Layer Search Plugin

2016-06-07 Thread kimaidou
Hi all, I think it is not really profitable to have multiple plugins. In my opinion, efforts must be made to merge plugins when possible. In this case, we have * Quick Finder : Full Text Search is used here, which allows fuzzy search, and is very efficient compared to scanning all features for a

Re: [Qgis-developer] Processing - current status of "in-between" layers while running models

2016-05-19 Thread kimaidou
Hi all, Thanks Paolo and Tom for your interest in this topic ! Anyone has any idea about the current status : spatialite, memory, etc. (cf my first email) ? Sorry for answering again, but this is still not very clear for me. Thanks in advance Michaël 2016-05-16 14:43 GMT+02:00 Tom Chadwin : >

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-16 Thread kimaidou
Hi Nyall, I have seen you have just backported the commits into release-2_14. Thanks a lot ! Michaël 2016-05-14 14:57 GMT+02:00 kimaidou : > Ok, thanks a lot ! > > 2016-05-14 12:41 GMT+02:00 Nyall Dawson : > >> >> On 14 May 2016 19:39, "kimaidou" wrote: &g

[Qgis-developer] Processing - current status of "in-between" layers while running models

2016-05-16 Thread kimaidou
Hi all ! I was wondering what was the current status for layers created as ouput of algs and used as input in child algs ? I remember reading some new feature in this area, but I cannot remember what was the conclusion. Is there some options allowing to do the following : * use memory layers for

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-14 Thread kimaidou
Ok, thanks a lot ! 2016-05-14 12:41 GMT+02:00 Nyall Dawson : > > On 14 May 2016 19:39, "kimaidou" wrote: > > > > Hi Nyall, > > > > I have just tested it with today's master, and there is no memory leak > any more. Thanks a lot for helping solvi

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-14 Thread kimaidou
Hi Nyall, I have just tested it with today's master, and there is no memory leak any more. Thanks a lot for helping solving this nasty one. Could you please backport the related "memory leak" commits to the 2.14 release branch ? Cheers, Michaël 2016-05-10 14:10 GMT+02:00 kimai

Re: [Qgis-developer] Qt5 and Python 3

2016-05-14 Thread kimaidou
\o/ Bravo , and thanks a lot for making this migration possible ! Michaël 2016-05-14 0:02 GMT+02:00 Matthias Kuhn : > Hi all, > > I'm happy to announce that we found a way to integrate proper NULL value > support for also for pre-PyQt 5.7 versions. > > This fix has been sponsored by OPENGIS.ch -

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-10 Thread kimaidou
Thanks Nyall, I will build last master and check it asap. Cheers, Michaël 2016-05-10 6:25 GMT+02:00 Nyall Dawson : > On 10 May 2016 at 03:38, kimaidou wrote: > > Hi > > > > I just tested with a freshly built QGIS release-2_14 , and the issue > > remains. > > T

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
Hi I just tested with a freshly built QGIS release-2_14 , and the issue remains. The easiest way to reproduce is to zoom back and forth from big scales ( ~ 1:25 000 ) to layer extent scale ( ~ 1:600 000 ) Good evening/morning Michaël 2016-05-09 15:02 GMT+02:00 kimaidou : > Hi Matthias, >

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-09 Thread kimaidou
And I > wonder if that could be related. > > -- Matthias > > > On 05/09/2016 02:28 PM, kimaidou wrote: > > I created an issue about it : <http://hub.qgis.org/issues/14792> > http://hub.qgis.org/issues/14792 > > 2016-05-09 11:48 GMT+02:00 kimaidou : > &g

  1   2   3   4   5   >