Re: [QGIS-Developer] New plugin: Review / Procedure

2019-10-07 Thread Etienne Trimaille
Hi, Le dim. 6 oct. 2019 à 03:43, Richard Marsden a écrit : > I was aware of QuickOSM. It didn't work for me when I tried a few > weeks ago. Please fill tickets in the GitHub repository, I will help you there. > From files, it has the same issues as > OSM Downloader / OGR2OGR. Same as above

Re: [QGIS-Developer] [FEATURE] Selective masking #30747

2019-10-09 Thread Etienne Trimaille
The PR can stay open with the label "Merge after thaw". Stalebot won't close these PR. Le mer. 9 oct. 2019 à 15:28, Hugo Mercier a écrit : > Hi Kaplan, > > Thanks for your feedback. > > This Pull Request has been frozen due to the dedicated current feature > freeze period. It will be merged afte

Re: [QGIS-Developer] pyqgis - canUninstallPlugin

2019-10-14 Thread Etienne Trimaille
Hi, I'm adding back the QGIS dev mailing list. Le lun. 14 oct. 2019 à 08:29, VOLPES-EXT, Jacky < jacky.volpes-...@canal-de-provence.com> a écrit : > I didn’t share any code because I don’t know how to be more clear… :/ > You said your code is not working and/or not called. So without seing it,

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

2019-10-17 Thread Etienne Trimaille
René-Luc, the only exempt label for the bot is "Merge after thaw": https://github.com/qgis/QGIS/blob/master/.github/stale.yml#L7 It should be applied when a PR is approved and waiting for the branch to be unfrozen. Le lun. 14 oct. 2019 à 15:12, René-Luc Dhont a écrit : > Hi devs, > > I remove m

Re: [QGIS-Developer] Detailed error information from processing.run

2019-10-18 Thread Etienne Trimaille
You need to create your own QgsProcessingFeedback object instead of using the default feedback. Check this answer: https://gis.stackexchange.com/a/310947/24505 Le ven. 18 oct. 2019 à 12:26, Tejas L a écrit : > Hello Devs, > > I would like to get a detailed error messages when processing.run fail

Re: [QGIS-Developer] delayed PR of 3.10.1

2019-11-29 Thread Etienne Trimaille
Do you mean the 3.10 branch? https://github.com/qgis/QGIS/tree/release-3_10 Le ven. 29 nov. 2019 à 09:49, a écrit : > Hello , > > to compile my plugin I waited for the PR of 3.10.1 but now I have red its > been delayed for a week :-) > > So I decided to compile it with last version for downloadi

Re: [QGIS-Developer] How to retrieve enum-input value in processing

2019-12-13 Thread Etienne Trimaille
On which QGIS version are you? I made this ticket a few weeks ago. You will see that the enum will give its index and not the string as you can think. https://github.com/qgis/QGIS/issues/32452 Nyall did some PR in 3.11. You need to use a CASE WHEN in your expression. You can open Nyall's model t

Re: [QGIS-Developer] Improve build times with ccache

2019-12-18 Thread Etienne Trimaille
Thanks Matthias for these tips. Samweli, do you think you can add some notes in https://github.com/qgis/QGIS/blob/master/doc/linux.t2t (which will land in the INSTALL file) so we won't loose these notes in the mailing list? PS : Welcome in the Kartoza team ;-) Le lun. 16 déc. 2019 à 22:20, Tim S

Re: [QGIS-Developer] WIP bot

2020-01-21 Thread Etienne Trimaille
Just for curiosity, do you use draft PR? https://github.blog/2019-02-14-introducing-draft-pull-requests/ Le mar. 21 janv. 2020 à 15:39, Matthias Kuhn a écrit : > Hi > > Do you know the WIP bot? > > It blocks merging pull requests with WIP in the title. It's very helpful > to tag pull requests a

Re: [QGIS-Developer] WIP bot

2020-01-21 Thread Etienne Trimaille
No worries, just wondering ;-) Le mar. 21 janv. 2020 à 19:58, Matthias Kuhn a écrit : > - IIRC tests are not executed for draft PRs > Not anymore. Tests are running on a draft PR now. I think it was only at the beginning. - I think I cannot make a pull request a draft once its opened (and I > r

Re: [QGIS-Developer] How to notify an error from QgsProcessingAlgorithm.processAlgorithm ?

2020-02-04 Thread Etienne Trimaille
Le mar. 4 févr. 2020 à 16:04, Jean-Charles Quillet < jeancharles.quil...@gmail.com> a écrit : > I've tried to raise QgsProcessingException. But from the output window, > the exception does not seem to be well handled. > This is, I think, the way to go. What do you mean by not well handled? You me

Re: [QGIS-Developer] How to test a processing plugin ?

2020-02-20 Thread Etienne Trimaille
We are writing unit test for our processing algorithms. Jean-Charles, can you explain your questions? Is-it about how to initialize the Processing provider ? on travis, in unittest? I started a simple one last week on this plugin : https://github.com/3liz/qgis-raepa-plugin/blob/master/test/test_p

Re: [QGIS-Developer] Q-without-GIS

2020-02-20 Thread Etienne Trimaille
In my previous jobs, I got the use case where I wanted to use QGIS without maps ... It was a Postgresql database and I needed a application to do some CRUD on the database, in an easy way. QGIS does plenty of things like: - forms - attribute table - conditional formatting in the attribute table - l

Re: [QGIS-Developer] changes in QGIS development with git

2020-03-03 Thread Etienne Trimaille
You should rename your fork. You are still using the old name "Quantum-GIS" and not QGIS ? Le mar. 3 mars 2020 à 15:10, William Kyngesburye a écrit : > OK, now a backporting problem. The backport run appears to be failing > because it can't find my repository. But the merge had no problem find

Re: [QGIS-Developer] repo for old-ltr?

2020-03-09 Thread Etienne Trimaille
Hi, We have the same issue as last year for us. Is-there a repository for QGIS 3.4? Similar to: http://qgis.org/debian-ltr-2.18/ http://qgis.org/ubuntugis-ltr-2.18/ for QGIS 2.18. Thanks Le lun. 25 févr. 2019 à 16:50, Paolo Cavallini a écrit : > Thanks a lot Jürgen. > > On 25/02/19 16:39, J

[QGIS-Developer] QgsProject.instance() in QGIS docker 3.10 crash

2020-03-17 Thread Etienne Trimaille
Hi, I have setup some plugins with unittests using Docker. I have followed the documentation : https://github.com/qgis/QGIS/tree/master/.docker to run them locally or/and on Travis. This tests is working well using the QGIS 3.4 docker image : class TestEditionDialog(unittest.TestCase): def

[QGIS-Developer] Size of docker images

2020-03-18 Thread Etienne Trimaille
Hi, Just for your information, I have noticed that the size of official QGIS docker images are increasing: qgis/qgis release-3_4 4.83GB qgis/qgis release-3_106.67GB qgis/qgis latest6.95GB Is-it an issue? A known issue? Thanks _

Re: [QGIS-Developer] Testing QGIS Plugin

2020-03-23 Thread Etienne Trimaille
The dummy interface was mainly with QGIS 2. You don't need it anymore. You can read : https://github.com/qgis/QGIS/tree/master/.docker I will try to make a PR on qgis about Docker this week about some notes I have. Le lun. 23 mars 2020 à 11:48, Jo a écrit : > What I found on the internet invol

Re: [QGIS-Developer] Testing QGIS Plugin

2020-03-23 Thread Etienne Trimaille
I forgot this link : https://github.com/3liz/QuickOSM#development-and-tests I put the different ways to launch tests (in Docker, PyCharm, in QGIS Desktop, in CLI) Le lun. 23 mars 2020 à 12:11, Etienne Trimaille a écrit : > The dummy interface was mainly with QGIS 2. You don't need it

Re: [QGIS-Developer] Testing QGIS Plugin

2020-03-23 Thread Etienne Trimaille
are called how many times and in which way on a headless > testing server / CI. Also on QGIS 3. > > Best regards > > Matthias > > > On 3/23/20 12:11 PM, Etienne Trimaille wrote: > > The dummy interface was mainly with QGIS 2. You don't need it anymore. > > You

Re: [QGIS-Developer] Understanding plugin management in QGIS: Meta data fields

2020-03-31 Thread Etienne Trimaille
Hi, You will find some answers in the QGIS Documentation about "deprecated", "hasProcessingProvider" ... https://docs.qgis.org/3.10/en/docs/pyqgis_developer_cookbook/plugins/plugins.html#plugin-metadata I'm going to add the "server" one. > So `experimental` is actually a property of a plugin vers

Re: [QGIS-Developer] WIP bot

2020-04-14 Thread Etienne Trimaille
Hi, Le mar. 21 janv. 2020 à 20:42, Etienne Trimaille < etienne.trimai...@gmail.com> a écrit : > - I think I cannot make a pull request a draft once its opened (and I >> realize only 10 minutes after opening that I needed to verify X or add some >> tests) >> > I just

Re: [QGIS-Developer] Server manual

2020-04-17 Thread Etienne Trimaille
Hi, Yes it's not easy, between what is the minimum to do, what is highly recommended, between Apache/NGinx etc. So I think you can go ahead, we will follow your PR. I'm also keeping some notes, I will try to make a PR next week to incorporate them. Le ven. 17 avr. 2020 à 13:17, David Marteau a

Re: [QGIS-Developer] Server manual

2020-04-20 Thread Etienne Trimaille
Le lun. 20 avr. 2020 à 21:43, Régis Haubourg a écrit : > From the benchmark E have been doing in production, NGINX seems to be > better in most situations. > FYI, his video from the FOSS4G about QGIS Server in production: https://www.youtube.com/watch?v=TchkYqJam3Y __

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

2020-04-23 Thread Etienne Trimaille
Hi, Can you elaborate what do you mean with "how to run processing algorithms in Qqis server?" ? Do you mean providing an WPS service on your server? Or do you mean to run Processing algorithms with a standalone application? Look what has been done in QGIS 3.13 https://github.com/qgis/QGIS/pull/3

Re: [QGIS-Developer] annoying frequent github action mail about milestone

2020-05-15 Thread Etienne Trimaille
Emails are coming your fork Jorge. So either disable github action on your fork or I think you might need to have this commit in your fork (so in your branch) Le ven. 15 mai 2020 à 09:45, Jorge Gustavo Rocha a écrit : > Hi Denis, > > I'm still receiving these messages. > > This workflow applies

Re: [QGIS-Developer] pyQGIS for pycharm

2020-05-26 Thread Etienne Trimaille
Hi, Did you see https://docs.qgis.org/3.10/en/docs/pyqgis_developer_cookbook/plugins/ide_debugging.html#debugging-with-pycharm-on-ubuntu-with-a-compiled-qgis ? I think only the path must be adapted. You can follow https://docs.qgis.org/3.10/en/docs/pyqgis_developer_cookbook/plugins/ide_debugging

Re: [QGIS-Developer] Removal of PostGISExecuteSQL.py in 3.14

2020-07-13 Thread Etienne Trimaille
Le lun. 13 juil. 2020 à 15:59, Nils Nolde a écrit : > Hi, > > I just realized that the processing algo PostGISExecuteSQL.py was > removed for the 3.14 release. The algorithm has been ported to C++, so yes the python version has been removed. https://github.com/qgis/QGIS/blob/master/src/analysis

Re: [QGIS-Developer] Compiling QGIS with 3D failing

2020-07-20 Thread Etienne Trimaille
Same as Richard a few days ago: https://lists.osgeo.org/pipermail/qgis-developer/2020-July/061703.html He put the solution after Le lun. 20 juil. 2020 à 12:09, matteo a écrit : > nope. I get this error now: > > /usr/bin/ld: CMakeFiles/qgis_3d.dir/qgswindow3dengine.cpp.o: in function > `QgsW

Re: [QGIS-Developer] "atlasprint" plugin, version 3.1.0, is listed as available - download throws HTTP 404

2020-07-29 Thread Etienne Trimaille
Indeed, the plugin is visible on the list page: https://plugins.qgis.org/plugins/author/3Liz/?page=1&&; But we click on the "AtlasPrint", it's a 404: https://plugins.qgis.org/plugins/atlasprint/ Le mer. 29 juil. 2020 à 13:10, Sebastian M. Ernst a écrit : > Just a small find: "atlasprint" versio

Re: [QGIS-Developer] Latest sources jump from 3.14.1 to 3.14.15

2020-08-14 Thread Etienne Trimaille
You should follow the roadmap ;-) https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule Le ven. 14 août 2020 à 14:46, Sebastiaan Couwenberg a écrit : > It seems that something is wrong with the new point release, it jumps > from 3.14.1 to 3.14.15. > > Shouldn't tha

Re: [QGIS-Developer] Publishing new plugin gives 'you cannot modify'

2020-09-18 Thread Etienne Trimaille
What is the name of the plugin? Maybe there is already a plugin with the same package/folder name? (So you don't own this plugin) Le sam. 19 sept. 2020 à 07:54, Chirag Dasannacharya a écrit : > Hi all, > > I'm a new developer, I'm trying to publish a plugin for the first time. > Apologies if thi

Re: [QGIS-Developer] Publishing new plugin gives 'you cannot modify'

2020-09-19 Thread Etienne Trimaille
ndSurfaceTemperature', packaged in > 'LandSurfaceTemperature.zip'. > Last I checked, I don't think there was another plugin with the exact same > name. There > is a 'Land Surface Temperature' with the same purpose, but incompatible > with > QGIS 3+. Do you

Re: [QGIS-Developer] Plugin approval question

2020-09-24 Thread Etienne Trimaille
I have just checked quickly. https://plugins.qgis.org/plugins/qgis3redistricter-master/ in the "Details" tabs. Clicking on : * on the issue tracker link, it leads to your website, so we can't create issues. It must be an issue tracker. * on the code repository, it leads to a 404 So it makes the t

Re: [QGIS-Developer] How to call a custom algorithm provider in stand alone application with pyqgis

2020-11-02 Thread Etienne Trimaille
As you are using QGIS 3.14, I would suggest you to use qgis_process if you can. Do you really want to use PyQGIS? But if you really need PyQGIS, maybe the path where your script is located is not known to your standalone script ? Le lun. 2 nov. 2020 à 17:33, PALMIER Patrick (Responsable de groupe

Re: [QGIS-Developer] Problem with plugin upload

2020-12-07 Thread Etienne Trimaille
Indeed, this check has been added last week about the `.git` *directory*. The `.gitignore` mustn't have raised this error. I will report this information. Le lun. 7 déc. 2020 à 14:03, Joona Laine a écrit : > Hi! > > Thank you! I checked and I forgot to remove one of the .gitignore files > ther

Re: [QGIS-Developer] How to clear Log messages in the panel?

2020-12-22 Thread Etienne Trimaille
Just close the tabs. They will reappear as soon as needed. Le mar. 22 déc. 2020 à 10:21, Luca Manganelli < luca.mangane...@comune.trento.it> a écrit : > Hello, > > Is there any way to clear the log messages in the panel? > > Thank you > ___ > QGIS-Devel

Re: [QGIS-Developer] Function to generate uri from settings in QGIS

2021-01-09 Thread Etienne Trimaille
The connection API is indeed convenient for that : metadata = QgsProviderRegistry.instance().providerMetadata('postgres') connection = metadata.findConnection("the postgis connection name") uri = QgsDataSourceUri(connection.uri()) Le sam. 9 janv. 2021 à 22:36, Alessandro Pasotti a écrit : > Hi

Re: [QGIS-Developer] Proxy configuration in plugin

2021-01-21 Thread Etienne Trimaille
The proxy settings are only set up for core class in QGIS, which you should look at to make your requests. CF https://gis.stackexchange.com/questions/343126/how-to-perform-sync-or-async-network-request-in-pyqgis If you really want to use "requests", you should read the QgsSettings about proxy and

Re: [QGIS-Developer] [Qgis-psc] New community voting members

2021-01-25 Thread Etienne Trimaille
te >> our new community voting members for their election. >> >> David signer >> Enrico Ferreguti >> Etienne Trimaille >> Pedro Venâncio >> Peter Petrik >> Richard Duivenvoorde >> >> I would also like to extend them a heartfelt thank you for all th

Re: [QGIS-Developer] Transfer published plugin to other user account

2021-02-02 Thread Etienne Trimaille
Hi, On plugins.qgis.org, in your plugins settings, you can already give rights to one or many existing logins. Le mer. 3 févr. 2021 à 01:23, Christoph Franke a écrit : > Hi Devs, > > is it possible to transfer a plugin that is already uploaded into the > QGIS repository to another user account

Re: [QGIS-Developer] new plugin not showing up

2021-02-03 Thread Etienne Trimaille
Yes, this issue has been confirmed by a few people already. Please follow https://github.com/qgis/QGIS-Django/issues/157 Le mer. 3 févr. 2021 à 17:12, Fredrik Lindberg a écrit : > Hi all, > I uploaded a new plugin yesterday ([2289] Potential Slope Failure for > processing) which quickly got appr

Re: [QGIS-Developer] Add a WFS/WMS (or possibly any data source) from API

2021-02-16 Thread Etienne Trimaille
You can have a look to the "Menu from project" plugin. Especially if you use the project stored in database, it can be easy to maintain for you to edit layers available in the menu. If you really want to add entries in WMS WFS, you can use a custom QGIS INI file within your organisation or add the

Re: [QGIS-Developer] Add a WFS/WMS (or possibly any data source) from API

2021-02-16 Thread Etienne Trimaille
Richard and I mentioned QgsSettings, this a link which can help : https://github.com/qcooperative/qgis-core-tests/blob/master/coretests/tests/testerplugin.py#L95 Le mar. 16 févr. 2021 à 18:13, Richard Duivenvoorde a écrit : > On 2/16/21 9:13 AM, Janvier Thomas wrote: > > Hi all, > > > > I’m look

Re: [QGIS-Developer] Visual Changelog 3.18, add some love to some items?

2021-02-18 Thread Etienne Trimaille
The changelog is, before to be transformed in RST, hosted online : https://changelog.qgis.org/en/qgis/version/3.18/ Le ven. 19 févr. 2021 à 10:37, TurboGraphxBeige a écrit : > I would gladly give some love to my potentially dull feature description > but I don't see anything > about the 3.18 cha

Re: [QGIS-Developer] How to read content from the metadata.txt file

2021-03-08 Thread Etienne Trimaille
Hi, configparser is designed to read INI file : https://docs.python.org/3/library/configparser.html There are some helpers if needed in QGIS : https://github.com/qgis/QGIS/blob/master/python/utils.py#L291 to have the configparser from a plugin name if needed. Le lun. 8 mars 2021 à 16:46, Bo Victo

Re: [QGIS-Developer] [Qgis-community-team] Automatic creation of issue reports in doc repo for new features

2021-03-21 Thread Etienne Trimaille
Thanks for the reminder. I'm just adding some notes as well on PR descriptions. https://changelog.qgis.org/ and https://www.qgis.org/en/site/forusers/visualchangelogs.html are created by "harvesting" the list of PR on GitHub. So the description is important. For information, it want your feature

Re: [QGIS-Developer] How to transfer data between QGIS Python plugins?

2021-04-22 Thread Etienne Trimaille
It also depends what you mean by "transferring data". It seems that you mean Python code ? Not geospatial data ? If you mean Python code, you can also have a look at the Processing framework. https://docs.qgis.org/3.16/en/docs/user_manual/processing/index.html You can call Processing algorithm plug

Re: [QGIS-Developer] Using environment variables in QGIS.ini

2021-07-13 Thread Etienne Trimaille
You might find something useful in this new repository : https://github.com/haubourg/custom-osgeo4w-qgis/ ? Le lun. 12 juil. 2021 à 10:54, Alexandre Neto a écrit : > Hi Bo, > > This is some old stuff we wrote at Boundless, I believe it still applies > for QGIS today. > > > https://boundless-desk

Re: [QGIS-Developer] Access DB manager connection details in a python plugins

2021-07-22 Thread Etienne Trimaille
Can you clarify what you need from DBManager? Widgets ? Features ? Or do you mean to be able to list DB connections and launch SQL queries ? You should avoid importing code from the DbManager plugin as it is removed step by step. Use the database API : https://qgis.org/api/classQgsAbstractDatabase

Re: [QGIS-Developer] [Qgis-user] processAlgorithm vs processFeature?

2021-08-24 Thread Etienne Trimaille
Indeed, if you can, you should use a QgsProcessingFeatureBasedAlgorithm algorithm. It will make some shortcuts for you and the code is shorter because you will only have a single feature to process. Have a look to existing source code : https://github.com/qgis/QGIS/search?q=QgsProcessingFeatureBas

Re: [QGIS-Developer] projected CRS

2021-10-13 Thread Etienne Trimaille
Hi On the CRS object, isGeographic() and mapUnits() might help you. Le mer. 13 oct. 2021 à 11:50, pierluigi de rosa a écrit : > Dear all, > > mayble a very simple question. > Is it possible to check quickly if a layer has a projected CRS or not? > in QgsCoordinateReferenceSystem I have not found

Re: [QGIS-Developer] Access QgsVectorLayer from child algorithm

2021-11-24 Thread Etienne Trimaille
This might help you ? QgsProcessingUtils::mapLayerFromString() https://qgis.org/api/classQgsProcessingUtils.html#aa1c2360e52d2ed8100faf02a35125b17 Le mer. 24 nov. 2021 à 11:19, Simon Gröchenig < simon.groeche...@salzburgresearch.at> a écrit : > Hi developers, > > I am developing a Python process

Re: [QGIS-Developer] Issue with future 3.22 LTR ? (a.k.a missing backports to 3.22)

2021-12-10 Thread Etienne Trimaille
As Harissou said, the PR was created before the 3.22 branch, so the label "backport release-3_32" was not created at that time. Le jeu. 9 déc. 2021 à 15:54, DelazJ a écrit : > Hi Olivier, > > Yes, backporting to 3.16 implies backport to 3.22. And I think the PR you > point here is more about for

Re: [QGIS-Developer] deleteShapefile in pyqgis

2022-02-22 Thread Etienne Trimaille
Hi, Are you on Windows ? It's long-standing issue on Windows IIRC : https://gis.stackexchange.com/questions/365713/deleting-shapefile-python-lock-qgis-3-10 or other links. Maybe lyr = QgsProject.instance().mapLayersByName(diff_layer)[0] QgsProject.instance().removeMapLayer(lyr.id()) lyr = None

Re: [Qgis-developer] New Processing modeller issue

2014-07-03 Thread Etienne Trimaille
If lines disappear, you could also moove the two scrollbars to the top and left. It works for me. 2014-07-03 9:07 GMT+02:00 Anita Graser : > In my experience, disappearing lines was also an issue in the previous > versions. Closing and reopening the model builder used to help. > Best wishes > An

Re: [Qgis-developer] QuickOSM as default plugin for OSM data

2014-09-15 Thread Etienne Trimaille
Hi, First, thanks for this proposal. This is only the first version of the plugin, we are aware that development is not finished. So if you think that the plugin has some lacks, please fill a ticket. Today, there are 22 tickets. 2014-09-04 17:28 GMT+02:00 Andre Joost : > One thing that the curre

Re: [Qgis-developer] Error in starting Processing

2014-10-06 Thread Etienne Trimaille
Yes, I have the same problem for me with master : Traceback (most recent call last): File "/home/etienne/apps/share/qgis/python/qgis/utils.py", line 217, in startPlugin plugins[packageName].initGui() File "/home/etienne/.qgis2/python/plugins/processing/ProcessingPlugin.py", line 54, in ini

[Qgis-developer] Can't right click on a layer

2014-10-07 Thread Etienne Trimaille
Hi, I have a serious issue with master. If I load a shapefile and then I open the attribute table, I can't right click on this layer in the panel (to modify properties for instance). If I close the attribute table, I can right click on it. I use the dockable widget for the attribute table. Anyon

Re: [Qgis-developer] Cannot load python after compiling master

2014-12-04 Thread Etienne Trimaille
Hi, I've nearly the same problem on master since this week-end (I believe) : Couldn't load PyQGIS. Python support will be disabled. Traceback (most recent call last): File "", line 1, in File "/home/etienne/apps/share/qgis/python/qgis/__init__.py", line 36, in from qgis.core import QgsFe

[Qgis-developer] PR review about DB Manager

2015-05-25 Thread Etienne Trimaille
Hi dev, I opened two PR one month ago about to run only a selected query in the db manager. https://github.com/qgis/QGIS/pull/1999 https://github.com/qgis/QGIS/pull/2000 Could you please review them and merge ? Travis failed since I merged master into my branch this afternoon. It was OK before.

Re: [Qgis-developer] PR review about DB Manager

2015-05-26 Thread Etienne Trimaille
looked at the code and it's pretty simple. If some code are selected, >> the selection has run otherwise all the code has run. >> >> Some one to agree this PR ? >> >> Le 25/05/2015 19:08, Paolo Cavallini a écrit : >> >>> Am 25.05.2015 um 18:40 schr

Re: [Qgis-developer] PR review about DB Manager

2015-05-27 Thread Etienne Trimaille
ards, Etienne 2015-05-27 1:07 GMT+02:00 Giuseppe Sucameli : > Merged and closed both PR. > Best regards. > Giuseppe > > On Tue, May 26, 2015 at 1:25 PM, Etienne Trimaille < > etienne.trimai...@gmail.com> wrote: > >> Sorry for the double merge. It comes after the w

Re: [Qgis-developer] How to ship help with a plugin which adds algs to Processing?

2015-06-07 Thread Etienne Trimaille
Hi, You can overwrite the help function of your GeoAlgorithm. https://github.com/qgis/QGIS/blob/master/python/plugins/processing/core/GeoAlgorithm.py#L106 It works in my plugin. 2015-06-06 19:35 GMT+02:00 Anita Graser : > Hi, > > I'm wondering how I can ship help for the algorithms which my plug

[Qgis-developer] How to provide a Processing model in a plugin ?

2015-06-08 Thread Etienne Trimaille
Hi, I'm working on a plugin and I need to use my own model inside. I know how to add a new algorithm in processing but I didn't find something on how to add a model to processing. Is there a way to ship my model with the plugin ? Or do I need to copy manually my model into the processing models f

Re: [Qgis-developer] ELSE expression is used when other rules are set not visible - Feature or Bug?

2015-06-19 Thread Etienne Trimaille
I've this kind of bug too. If you create a categorized symbology, apply the change and then switch to a ruled-based symbology (keeping the previous rules), you will see that the ELSE statement will draw features twice. Enable "show feature count" to check. I didn't check if there is a ticket for

Re: [Qgis-developer] How to provide a Processing model in a plugin ?

2015-06-22 Thread Etienne Trimaille
add your model to the list of available ones > > I guess you are the first one asking for this...and this is the best > solution i can think of so far :-) > > Let me know if that works... > > I hope it helps > > > > 2015-06-08 15:35 GMT+02:00 Etienne Trimaille >:

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-22 Thread Etienne Trimaille
Have a look to the Travis config file in inasafe : https://github.com/AIFDR/inasafe/blob/develop/.travis.yml 2015-06-22 20:19 GMT+02:00 Tom Chadwin : > I've got a bit further with this, but have an embarrassingly basic > question. > I'm using Tim's Plugin Builder's run-env-linux.sh, but the defau

Re: [Qgis-developer] How to provide a Processing model in a plugin ?

2015-06-23 Thread Etienne Trimaille
_line = model.commandLineName() Processing.algs['model'][command_line] = model return command_line runalg shows by default the QgsMessageBar. We will see if we need it or if we need to change processing. Thanks again Victor. 2015-06-22 17:28 GMT+02:00 Etienne Trimaille : > Hi Victor, > > Thanks for

Re: [Qgis-developer] Visual changelog: impossible to update an entry

2015-06-26 Thread Etienne Trimaille
2015-06-26 12:04 GMT+02:00 Andreas Neumann : > Anyway. I changed four more entries but can't find where I can approve > them. > I've approved them. http://changelog.linfiniti.com/qgis/2.10/entry/list/ ___ Qgis-developer mailing list Qgis-developer@list

[Qgis-developer] Difference between two layers doesn't remove any features

2015-06-29 Thread Etienne Trimaille
Hi dev, I'm using qgis master and I'm trying to use the difference tool between two layers (from the vector menu and processing). On the map canvas, the result looks fine, I get less features displayed. However my result layer contains exactly the same number of features than my original layer.

Re: [Qgis-developer] Difference between two layers doesn't remove any features

2015-07-02 Thread Etienne Trimaille
Nobody confirms this bug in 2.10 ? The layer produced by the 'difference' tool in QGIS can't be used in a further analysis because of invalid geometries. "Difference" is used in many GIS analysis. This is a regression for me. 2015-06-29 16:27 GMT+02:00 Etienne Trima

Re: [Qgis-developer] Fwd: Difference between two layers doesn't remove any features

2015-07-03 Thread Etienne Trimaille
Thanks Anita. Ticket : http://hub.qgis.org/issues/13067 2015-07-02 22:08 GMT+02:00 Anita Graser : > On Thu, Jul 2, 2015 at 8:48 PM, Anita Graser wrote: > >> >> >> On Thu, Jul 2, 2015 at 8:02 PM, Etienne Trimaille < >> etienne.trimai...@gmail.com> wrote: >

Re: [Qgis-developer] Voronoi bug?

2015-07-08 Thread Etienne Trimaille
I guess I've found another bug with a layer which contains only 3 points. One point is not in a polygon. 2015-07-08 15:00 GMT+02:00 Raymond Nijssen : > Hi Paolo, > > I met bugs in the voronoi function several times before. There is already > a bug: > > https://hub.qgis.org/issues/8002 > > but it

[Qgis-developer] Detect raster layers which have been deleted

2013-12-14 Thread Etienne Trimaille
Hi, Sorry, I'm a beginner in pyqgis. I found the signal "layerDeleted ()" in the QgsVectorLayer class, however, I can't find it in the QgsRasterLayer class : http://qgis.org/api/2.0/classQgsVectorLayer.html#acc3e594b1dac4815dc031a2236f66a96 Is there a reason ? How can I detect that a raster laye

Re: [Qgis-developer] Detect raster layers which have been deleted

2013-12-16 Thread Etienne Trimaille
l Regards, Etienne 2013/12/16 Denis Rouzaud : > Hi Etienne, > > > On 14. 12. 13 16:38, Etienne Trimaille wrote: >> >> Hi, >> >> Sorry, I'm a beginner in pyqgis. >> I found the signal "layerDeleted ()" in the QgsVectorLayer class, >> howeve

Re: [Qgis-developer] Detect raster layers which have been deleted

2014-01-07 Thread Etienne Trimaille
x27;ll wait for this enhancement :) Regards, Etienne 2013/12/16 Jürgen E. : > Hi Etienne, > > On Sat, 14. Dec 2013 at 16:38:15 +0100, Etienne Trimaille wrote: >> How can I detect that a raster layer has been deleted ? > > It's derived from QObject so it also emits destroyed() si

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-07 Thread Etienne Trimaille
2014/1/2 Minoru Akagi : >> It seems that 3D html model has exagerated height. True ? > > Yes, it is exaggerated (x 1.5) currently. Can we set the value in the form ? For me, it's not enough :) ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.

[Qgis-developer] Plugin approval : GéoFoncier

2014-01-13 Thread Etienne Trimaille
Hi, I've seen the other thread about VoGIS Profiltool. Do we should write a mail for asking an approval ? Because I uploaded my first plugin last Tuesday and I don't have any news. Actually, I don't really know in my plugin is is in the queue. http://plugins.qgis.org/plugins/GeoFoncierConsultatio

Re: [Qgis-developer] Plugin approval : GéoFoncier

2014-01-28 Thread Etienne Trimaille
Hi, I've submitted a new version of the plugin. It's only for few minor bugs. The login/password are in the readme. Thanks Etienne 2014-01-13 Tim Sutton : > Hi > > > On Tue, Jan 14, 2014 at 12:08 AM, Etienne Trimaille > wrote: >> >> Hi, >> >>

Re: [Qgis-developer] QGIS setup with Qt 5 on mac

2016-11-17 Thread Etienne Trimaille
loping QGIS 3 master on Mac? > > > > Regards, > > > > Larry Shaffer > > Dakota Cartography > > Black Hills, South Dakota > > > > On Tue, Nov 8, 2016 at 1:02 PM, Rouzaud Denis > > wrote: > >> > >> Hi Larry, > >> > &

Re: [Qgis-developer] Most icons not displayed in OS X program menu on master

2016-12-14 Thread Etienne Trimaille
Hi, I also have another problem on the build on mac. If I go to the `QGIS` menu and then `preferences` it opens the Processing options and not the options from QGIS. It seems specific to mac. In the Processing menu, I don't have the `options` entry. The only way I can go to the QGIS preferences i

Re: [Qgis-developer] XYZ tile servers

2016-12-18 Thread Etienne Trimaille
Hi, The URL 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png' works perfectly for me. 2016-12-18 18:36 GMT+01:00 Paolo Cavallini : > Hi all, > I'm trying to add XYZ tile servers on QGIS 2.18, but I cannot find one > working, or maybe I input wrong addresses: anyone has a know valid one? > I

Re: [Qgis-developer] Ubuntu snap for QGIS

2017-03-20 Thread Etienne Trimaille
There is this PR about adding Snap: https://github.com/qgis/QGIS/pull/3545 2017-03-19 21:40 GMT+01:00 Luigi Pirelli : > hi Roy, I remember there were messages in the list history related with > this. > Luigi Pirelli > > > **

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-29 Thread Etienne Trimaille
This error in Processing has been fixed in the 2.18 branch but after the 2.18.2 tag. While we are waiting for the 2.18.5 release on mac, you can apply this patch manually in the file : /Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaUtils.py https://github.com/qgi

Re: [Qgis-developer] QGIS 2.18 on OSX

2017-03-30 Thread Etienne Trimaille
Hi Mats, You can open the file with a text editor : /Applications/QGIS.app/Contents/Resources/python/ plugins/processing/algs/saga/SagaUtils.py on line 75, instead of: if not os.path.isdir(folder): replace with: if folder and not os.path.isdir(folder): In some other words, just add "folder and"

Re: [Qgis-developer] Processing UI looks strange

2017-04-01 Thread Etienne Trimaille
It's in QGIS 3. I also have the problem on mac. 2017-04-01 8:16 GMT+02:00 roy roy : > > Hi, witch version of QGIS are you using, > I don't see this problems in 2.14 Ubuntu > > I noticed since a couple of days that the UI of Processing look like it > is not gridded (see attachment). > > Is this so

Re: [QGIS-Developer] Remaining "blocking" operations

2017-05-13 Thread Etienne Trimaille
I was thinking about the DB Manager, when we launch a SQL query. Having an option to stop the query would be very nice (like PgAdmin where you can see the elapsed time and a button to stop the query etc) 2017-05-12 8:32 GMT-04:00 Marco Bernasocchi : > > > On 12.05.2017 12:29, Matthias Kuhn 🌍 wrot

Re: [QGIS-Developer] QGIS Plugin not in repository

2017-05-31 Thread Etienne Trimaille
Bonjour Sophie (since the university in Montpellier ;-) ) You should use a .gitignore file in your git repository with "*.pyc". It will avoid having you to delete these files everytime. Etienne 2017-05-31 18:12 GMT+08:00 Sophie Crommelinck : > Oh my mistake, I haven't seen that open issue. > I

Re: [QGIS-Developer] How to retrieve all "virtual fields" of a layer?

2017-05-31 Thread Etienne Trimaille
Hi, Both layer.fields() or layer.pendingFields() work for me. I got my virtual field. 2017-06-01 3:34 GMT+08:00 Stefan Keller : > Hi, > > In a Python plugin I want to retrieve information about all > attributes/fields of a layer > In the cookbook [1] it's described how to retrieve thems > for

Re: [QGIS-Developer] QgsMapLayerComboBox add None

2017-06-05 Thread Etienne Trimaille
Yes it's possible with the QGIS 3 API only: https://qgis.org/api/classQgsMapLayerComboBox.html# a3f38873230e93d6bc7d73a50671a9c5e 2017-06-05 23:23 GMT+08:00 Ing. Pierluigi De Rosa : > Dear all, > > into the QgsMapLayerComboBox is there a simple way to add the --None-- > option for the list of lay

Re: [QGIS-Developer] [Qgis-developer] Processing UI looks strange

2017-06-14 Thread Etienne Trimaille
Hi Matteo and others, This issue is still no fixed, right? I still have it. We will have to git bissect to check when this problem came. Regards, Etienne ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/m

Re: [QGIS-Developer] Count points in polygon

2017-07-19 Thread Etienne Trimaille
It's already open: https://issues.qgis.org/issues/16858 2017-07-19 7:36 GMT+03:00 Paolo Cavallini : > Hi all, > in Q3, the above commend produces valid output, but issues a Python error: > > 2017-07-19T06:34:05 1 Traceback (most recent call last): > File > "/us

Re: [QGIS-Developer] Expression based output in Processing

2017-07-19 Thread Etienne Trimaille
Expressions are good everywhere anyway ;-) I don't see a lot but I can imagine if we have some variables in the QGIS/project/layers settings for instance to set the output path. 2017-07-19 8:35 GMT+03:00 Paolo Cavallini : > Hi all, > (sorry I'm flooding the list) I wonder what is the use case for

[QGIS-Developer] QGIS Server 3 status

2017-10-03 Thread Etienne Trimaille
Hi devs, We would like to start testing QGIS Server 3: OGC services and Python plugins. I think I read that the QGIS Server refactoring was finished and it seems that most of OGC tests are working: http://37.187.164.233/ogc/latest_wms_1_3_0.html Is it possible to have the status of QGIS Server 3

Re: [QGIS-Developer] Customize list of algorithms shown in Vector or Raster menu

2017-10-03 Thread Etienne Trimaille
Hi, It's already possible in QGIS 2. In your processing options, you can setup your own vector and raster menus. 2017-10-03 17:09 GMT+02:00 DelazJ : > Hi, > > By default, some of the Processing algorithms have a shortcut in Vector or > Raster menu. Most of them are equivalent to the old Ftools o

Re: [QGIS-Developer] Customize list of algorithms shown in Vector or Raster menu

2017-10-03 Thread Etienne Trimaille
2017-10-03 17:22 GMT+02:00 Etienne Trimaille > : > >> Hi, >> >> It's already possible in QGIS 2. In your processing options, you can >> setup your own vector and raster menus. >> >> 2017-10-03 17:09 GMT+02:00 DelazJ : >> >>> Hi, >

Re: [QGIS-Developer] QGIS master branch fails make install on macOS 10.12.6

2017-10-06 Thread Etienne Trimaille
Hi Joel, I'm far away able to answer your problem. But I can compile perfectly using brew with https://github.com/qgis/homebrew-qgisdev My 2 cents, Etienne 2017-10-06 9:46 GMT+02:00 Joel Buckley : > Hi, > > I am having some difficulty running `make install`, and compiling QGIS > into a single s

Re: [QGIS-Developer] Future of OSM integration

2017-10-12 Thread Etienne Trimaille
Editing OSM data in QGIS looks quite difficult. The OSM data format is quite far away from any GIS format. And relations are totally not supported. I think it's out of scope for now > Does quick OSM give us the same download as local dataset feature. I have never looked. Yes it does. You can eith

Re: [QGIS-Developer] QgsPluginLayer in QGIS3

2017-10-25 Thread Etienne Trimaille
A quick note for people working on the porting to QGIS 3, inverted Y axes are supported in QGIS 3 now. (Thanks Alessandro) 2017-10-25 13:24 GMT+02:00 G. Allegri : > Thanks Martin. I asked it in general. > I know QMS uses native layers for most (all?) the sources. Actually we > could make without

  1   2   >