Re: [Qgis-developer] $id not working as default value

2016-12-23 Thread Junior
Yes I saw it. Type the formula. Give a look to hub.qgis.org/issues/15935 btw Envoyé depuis mon HTC - Reply message - De : "Paolo Cavallini" Pour : "DelazJ" Cc : "qgis-developer" Objet : [Qgis-developer] $id not working as default value Date : ven., déc. 23, 2016 13:19 Il 23/12/2016 13

Re: [Qgis-developer] $id not working as default value

2016-12-23 Thread Junior
Yes I saw it. Type the formula. Give a look to hub.qgis.org/issues/15935 btw Envoyé depuis mon HTC - Reply message - De : "Paolo Cavallini" Pour : "DelazJ" Cc : "qgis-developer" Objet : [Qgis-developer] $id not working as default value Date : ven., déc. 23, 2016 13:19 Il 23/12/2016 13

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-24 Thread Junior
Hi, i think that 3.0 should Also be the occasion to reorganize plugins world. Not just upgrade them, it should be the time to say no to redundant plugins and find a way to somehow oblige developers to put their energy on a single plugin, instead of three almost identical with sometimes buggy fea

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-24 Thread Junior
Hi, i think that 3.0 should Also be the occasion to reorganize plugins world. Not just upgrade them, it should be the time to say no to redundant plugins and find a way to somehow oblige developers to put their energy on a single plugin, instead of three almost identical with sometimes buggy fea

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-24 Thread Junior
Hi, i think that 3.0 should Also be the occasion to reorganize plugins world. Not just upgrade them, it should be the time to say no to redundant plugins and find a way to somehow oblige developers to put their energy on a single plugin, instead of three almost identical with sometimes buggy fea

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-24 Thread Junior
Hi, i think that 3.0 should Also be the occasion to reorganize plugins world. Not just upgrade them, it should be the time to say no to redundant plugins and find a way to somehow oblige developers to put their energy on a single plugin, instead of three almost identical with sometimes buggy fea

Re: [Qgis-developer] QEP - Proposal for QGIS 3.0 after 2.14

2015-10-24 Thread Junior
Hi, i think that 3.0 should Also be the occasion to reorganize plugins world. Not just upgrade them, it should be the time to say no to redundant plugins and find a way to somehow oblige developers to put their energy on a single plugin, instead of three almost identical with sometimes buggy fea

Re: [Qgis-developer] [QGIS-UX] Composer Legend items: what are the differences between "auto-update" and "update all" options?

2015-10-14 Thread Junior
Bernd, see http://hub.qgis.org/issues/13575 Envoyé depuis mon HTC - Reply message - De : "Bernd Vogelgesang" Pour : Objet : [Qgis-developer] [QGIS-UX] Composer Legend items: what are the differences between "auto-update" and "update all" options? Date : mer., oct. 14, 2015 23:23 Hi, I

Re: [Qgis-developer] [QGIS-UX] Composer Legend items: what are the differences between "auto-update" and "update all" options?

2015-10-14 Thread Junior
Bernd, see http://hub.qgis.org/issues/13575 Envoyé depuis mon HTC - Reply message - De : "Bernd Vogelgesang" Pour : Objet : [Qgis-developer] [QGIS-UX] Composer Legend items: what are the differences between "auto-update" and "update all" options? Date : mer., oct. 14, 2015 23:23 Hi, I

Re: [Qgis-developer] [QGIS-UX] Composer Legend items: what are the differences between "auto-update" and "update all" options?

2015-10-14 Thread Junior
Bernd, see http://hub.qgis.org/issues/13575 Envoyé depuis mon HTC - Reply message - De : "Bernd Vogelgesang" Pour : Objet : [Qgis-developer] [QGIS-UX] Composer Legend items: what are the differences between "auto-update" and "update all" options? Date : mer., oct. 14, 2015 23:23 Hi, I

[Qgis-developer] Re : view only current feature in atlas maps

2015-09-11 Thread Junior
Hi, i don't know if there is a work around but a big +1 for your UI proposal. Envoyé depuis mon HTC - Reply message - De : "Enrico Ferreguti" Pour : "qgis-developer" , "qgis-u...@lists.osgeo.org" Objet : [Qgis-developer] view only current feature in atlas maps Date : ven., sept. 11, 20

[Qgis-developer] Re : getting list of available QgsComposer

2015-08-02 Thread Junior
Hi Victor, for cview in iface.activeComposers() :# will retrieve list of composers print cview.composerWindow().windowTitle() # To print their name HTH, DelazJ - Reply message - De : "Victor Olaya" Pour : "qgis-developer" Objet : [Qgis-developer] getting list of available QgsComposer Da

[Qgis-developer] Re : Bug priority for release

2015-06-15 Thread Junior
repo. So Redmine is used for application issues and Doc Github is preferable for web/doc issues. Maybe, this distinction should also be added to the Documentation? Envoyé depuis mon HTC - Reply message - De : "Paolo Cavallini" Pour : "Junior" , Objet : [Qgis-develo

[Qgis-developer] Re : Bug priority for release

2015-06-14 Thread Junior
Hi, Paolo, better fill a ticket on QGIS-Documentation repo... Envoyé depuis mon HTC - Reply message - De : "Paolo Cavallini" Pour : Objet : [Qgis-developer] Bug priority for release Date : sam., juin 13, 2015 11:30 Il 12/06/2015 15:02, Jürgen E. Fischer ha scritto: > The workaround f

[Qgis-developer] Re : Cannot create Processing model help files

2015-06-07 Thread Junior
Hi, No, Processing plugin latest release is 2.9.3 Envoyé depuis mon HTC - Reply message - De : "Kari Salovaara" Pour : "qgis-developer" Objet : [Qgis-developer] Cannot create Processing model help files Date : dim., juin 7, 2015 13:23 Do You mean 2.9.0-93  ?  ;) Happy Sunday, Kari

[Qgis-developer] Designing a plugin : TypeError raised on MacOS machines but not on Windows

2015-04-15 Thread Junior Delaz
Hi all, I'm testing a plugin I created with Plugin Builder on different platforms and encounter a problem I can't understand. The same piece of code works on Windows machines but not on MacOS ones where I get this error message. Traceback (most recent call last): File "/Users/harrissou/.qgis2/p

[Qgis-developer] Re : Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-04-09 Thread Junior Delaz
Ok thank you for the feedbaxk Envoyé depuis mon HTC - Reply message - De : "Matthias Kuhn" Pour : "Junior Delaz" Cc : "qgis-developer" Objet : [Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground? Date : mer.

Re: [Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-04-08 Thread Junior Delaz
t; interface as well... > > > On 04/07/2015 11:51 PM, Junior Delaz wrote: > > But why does composerRemoved not work? You can find it in the code on > github repo but not on QGIS API website... > > 2015-04-07 23:35 GMT+02:00 Matthias Kuhn : > >> Oops,

Re: [Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-04-07 Thread Junior Delaz
But why does composerRemoved not work? You can find it in the code on github repo but not on QGIS API website... 2015-04-07 23:35 GMT+02:00 Matthias Kuhn : > Oops, > > That should have been composerWillBeRemoved > > Sorry for that... > > Matthias > > > On 04/07/201

Re: [Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-04-07 Thread Junior Delaz
? [0] https://github.com/qgis/QGIS/blob/master/src/app/qgisapp.h#L1260 2015-04-06 22:11 GMT+02:00 Matthias Kuhn : > Hi Junior, > > The following lines work for a short test-case. > > def compAdded( composer ): > print composer > > def compRem

Re: [Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-04-05 Thread Junior Delaz
ossible that with this connection style you will receive the signal > after deletion and are able to continue using your current update method. > > Best > Matthias > > > On 03/31/2015 02:04 PM, Junior Delaz wrote: > >Matthias, > Thanks. I just give it a try it an

Re: [Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-03-31 Thread Junior Delaz
line 5698) is for? Thanks again for the clue. 2015-03-31 9:43 GMT+02:00 Matthias Kuhn : > QgisInterface (iface) has a composerAdded and composerWillBeRemoved > signal. > > Did you try to connect to these? > > Best, > Matthias > > > On 03/31/2015 09:34 AM, Juni

[Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-03-31 Thread Junior
Pyqt4 : which signal is sent when dialog comes to foreground? Date : mar., mars 31, 2015 07:56 On Mon, Mar 30, 2015 at 6:12 PM, Junior Delaz wrote: > I've read about defining a custom showEvent function but can't understand > where to put it and what inside. > If

[Qgis-developer] Pyqt4 : which signal is sent when dialog comes to foreground?

2015-03-30 Thread Junior Delaz
Hi, I'm working on a Python plugin for QGIS and need your help to do something. I'm a beginner in Python and C++ and just used plugin-builder for the architecture. My main dialog is a non modal one and does list print composers in the project. It means that while it's opened, user can delete or cr

Re: [Qgis-developer] wrong attribute values for postgis data in Feature attribute form

2015-03-26 Thread Junior Delaz
Hi, Raymond, you can use the row_number function to add a primary key to your view. Something like : CREATE OR REPLACE view myview as SELECT row_number () over ()::integer as id, fieldA, Field ... from mytable . will add an unique integer field _id_ to your view. And this one can be used in QGI

[Qgis-developer] Re : problem with 'toreal' in field calculator

2015-03-10 Thread Junior
Destination field matters. While the destination field has numeric type, and values can of course be converted to numbers then conversion will succeed and values will be numerically typed. Envoyé depuis mon HTC - Reply message - De : "Matteo Ghetta" Pour : "Junior Del

Re: [Qgis-developer] problem with 'toreal' in field calculator

2015-03-10 Thread Junior Delaz
hi, If your field is recognized by QGIS as a string one, trying to overwrite its values type will fail as they are intended to be string in THIS field. This is why when you create a new numeric field and make conversion, it's ok (this new field expect numeric values, so it'll recognize your conver

[Qgis-developer] Re : Problem when using spatial index

2015-01-22 Thread Junior
essage - De : "Nejia Ben Nasr" Pour : "'Junior Delaz'" Objet : [Qgis-developer] Problem when using spatial index Date : mer., janv. 21, 2015 16:11 To inderstant the source of problem, if it’s caused by invalid geometry I do this:- I load only a shapefil

[Qgis-developer] Re : Problem when using spatial index

2015-01-21 Thread Junior
weird, it worked for others. And if you spatially select all your features, are all the lines in the attribute table being selected? You haven't answered about checking geometry validity... Envoyé depuis mon HTC - Reply message - De : "Nejia Ben Nasr" Pour : "&#

[Qgis-developer] Re : Problem when using spatial index

2015-01-21 Thread Junior
And if you delete the .qix before saving? And then recreate it... Envoyé depuis mon HTC - Reply message - De : "Nejia Ben Nasr" Pour : "'Junior Delaz'" Cc : "'qgis-developer'" Objet : [Qgis-developer] Problem when using spatial index

Re: [Qgis-developer] Problem when using spatial index

2015-01-21 Thread Junior Delaz
eorezo.net/forum/viewtopic.php?id=95143 (in french, sorry ) 2015-01-21 9:16 GMT+01:00 Nejia Ben Nasr : > Hi, > > > > Do you think that this problem is often caused by geometry problems? > > > > Thanks, > > Nejia > > > > *De :* Junior [mailto:del...@g

[Qgis-developer] Re : Problem when using spatial index

2015-01-20 Thread Junior
Hi, Nejia, what about the validity of the geometry of your features? You can check with the tool in Vector menu > Geometry tools > check geometry validity Envoyé depuis mon HTC - Reply message - De : "Nejia Ben Nasr" Pour : "'qgis-developer'" Objet : [Qgis-developer] Problem when using

Re: [Qgis-developer] [Bulk] Re: [Qgis-user] Retrieve value from another layer related to its localisation

2015-01-15 Thread Junior Delaz
ith featureid field. > ...a bit tricky but it should work. > > Regards > > > > > 2015-01-15 14:25 GMT+01:00 Junior Delaz : > >> Thanks Enrico for your reply and for the plugin. >> >> I was aware of RefFunctions and has already used it for relational

Re: [Qgis-developer] [Bulk] Re: [Qgis-user] Retrieve value from another layer related to its localisation

2015-01-15 Thread Junior Delaz
Number of feature tested is limited to 10 to avoid time wasting loops > > Example > > geomnearest('targetLayer','TargetField') > geomnearest('targetLayer','$geometry') > geomnearest('targetLayer','$distance') > &

[Qgis-developer] Retrieve value from another layer related to its localisation

2015-01-15 Thread Junior Delaz
Hi all, I have two shapefiles : a line one (called "section") and a point one (called "station") shapefiles. The line shapefiles has fields like ID_section, ID_first, ID_last The point file has an ID_station. All these define a kind of network where a section begins on a station and ends up at ano

Re: [Qgis-developer] Questions about Dialog for Select by Expression

2014-12-01 Thread Junior Delaz
Hi All Lene, The height of the expression frame should indeed have a minimum value, to avoid closing it. But this is not a new behaviour. In QGIS 2.4, you could already close totally this frame if you drag down enough. I think it's a bug and you can fill a ticket unless it's an intended behaviour

[Qgis-developer] Impossible to keep QGIS 2.4 while updating QGIS master (osgeo4W nightly build)

2014-11-26 Thread Junior Delaz
Hello, I use OsGeo4W to install both QGIS stable and master releases. Due to the bug of QGIS 2.6.0-1 that crashes QGIS and ruins some older project file, I decided to not yet upgrade to 2.6 (and keep 2.4) but still update nightly builds. The first time I got 2.7, I choose to keep 2.4. After the ins

[Qgis-developer] Re : 2.6: first overview

2014-11-02 Thread Junior
Hi, About corrupted layers, yes this is the new behaviour. You can now directly write the good path. But there is also a browser button at the bottom of the dialog. Select the layer in the list and click on this button will open the explorer, as old double-click behaved. Envoyé depuis mon HTC

[Qgis-developer] Re : Show area of a polygon while editing with node tool

2014-10-16 Thread Junior
Hi Isn't there already such plugin? I haven't used it yet but you can give a look to CalcArea plugin and see how it deals with that. Envoyé depuis mon HTC - Reply message - De : "Michael Pfeiffer" Pour : Objet : [Qgis-developer] Show area of a polygon while editing with node tool Date

Re: [Qgis-developer] What does mean "empty tables" in "attribute table" item properties in a print composer?

2014-10-11 Thread Junior Delaz
e options in the combobox will work only when there is no row (on real empty tables). 2014-10-09 13:28 GMT+02:00 Nyall Dawson : > On 9 October 2014 08:53, Junior Delaz wrote: > > Thanks Nyall. This is what I suspected. > > Then, none of the "empty tables" options should

Re: [Qgis-developer] What does mean "empty tables" in "attribute table" item properties in a print composer?

2014-10-08 Thread Junior Delaz
Thanks Nyall. This is what I suspected. Then, none of the "empty tables" options should work on the frames in the example above, right? But actually, "Draw empty cells" option does have effect on them. Isn't it a bug? 2014-10-08 22:33 GMT+02:00 Nyall Dawson : > >

[Qgis-developer] What does mean "empty tables" in "attribute table" item properties in a print composer?

2014-10-08 Thread Junior Delaz
Hi all, I try to understand the use case of empty tables in print composer and am still confused. Create a new print composer and add an attribute table item set its height enough to show more rows than the maximal values of features you set. Add a second frame to this item. Is this second frame

[Qgis-developer] Export atlas composition in python console to a single PDF file

2014-08-10 Thread Junior Delaz
Hi All, A couple of hours I'm trying without success to do something so I ask for your help. I would like to export as PDF (in a single file) an atlas composition within Python Console. I don't find how to do. All I obtain is either multiple PDF files corresponding to each iterated feature of the

Re: [Qgis-developer] Get signal on edited feature ?

2014-07-31 Thread Junior Delaz
Hello, For the first question, I think you have done something like logFeaturesAdded(Idofmylayer, features) instead of doing self.logFeaturesAdded(Idofmylayer, features).The function you created has three args : self, layerId, addfeatures. When using it you should give him three args. The second ex

Re: [Qgis-developer] [Qgis-user] Impossible to upload and share a plugin on QGIS plugin repository

2014-07-30 Thread Junior Delaz
Thanks a lot. You are right!!! I was packaging the contents of my plugin folder instead of packaging the whole main folder. It's ok now. all is uploaded. Thank you! 2014-07-30 18:43 GMT+02:00 Siki Zoltan : > Dear Junior, > > in the zip file you have to use the same directory s

[Qgis-developer] Impossible to upload and share a plugin on QGIS plugin repository

2014-07-30 Thread Junior Delaz
Hi all I'm tring to upload and share my first plugin at [1] but encountered an error I don't really understand. It says: *There were errors reading plugin package (please check also your plugin's metadata). Cannot find __init__.py or metadata.txt in the compressed package: this does not seems a val

[Qgis-developer] How to connect QToolButton to a QGisMap????

2011-07-07 Thread Ornélio Hinterholz Junior
Hi, I'm developing a new plugin and I got to put a new QToolButton in a new QToolBar that I created, but the problem is that I can't connect the QToolButton to the QGis's default ButtonGroup and neither connect the action to QgsMapCanvas. How do I add a new ToggleButton connected with QgsMapCanv

[Qgis-developer] Jython with QGIS

2011-06-28 Thread Ornélio Hinterholz Junior
Hi guys, Is there a way for developing in QGIS using Jython or Java? Thanks, Ornélio Hinterholz Junior ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS for water

2011-06-27 Thread Ornélio Hinterholz Junior
r, highwater or powerplant-water ;) > > feel free to add > > regards > Werner > > > On Mon, Jun 27, 2011 at 4:52 PM, Ornélio Hinterholz Junior > wrote: > > Hi, > > > > When I posted here the topic about Water was for Water/Wastewater > > d

Re: [Qgis-developer] QGIS for water

2011-06-27 Thread Ornélio Hinterholz Junior
Hi, When I posted here the topic about Water was for Water/Wastewater distribution There's no tools for creating and manipulating Networks/Graphs in QGIS like EPANET does Em Seg, 2011-06-27 às 15:27 +0100, Saber Razmjooei escreveu: > Dear lists > > I have added a wiki page for hydrology and

[Qgis-developer] QGIS for Water

2011-06-21 Thread Ornélio Hinterholz Junior
Hi guys, I'd like to know if there is a project for hydraulic modelling using QGIS, like InfoWater or WaterGEMS or EPANET??? Thanks in advance, Ornélio Hinterholz Junior BRAZIL ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org