[Qgis-developer] feature request with rectangle filter on circles

2013-06-12 Thread Denis Rouzaud
I just noticed, that this happens as soon as the arc is strictly bigger than 90 deg. 90 degrees: feature request returns nothing 91 degress: feature request returns the feature I have update the code to play with this. ___ Qgis-developer mailing

[Qgis-developer] feature request with rectangle filter on circles

2013-06-12 Thread Denis Rouzaud
I did miss the flag exactIntersection in the feature request. After setting the flag, it works as expected. Sorry for the noise. Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] python application

2013-06-07 Thread Denis Rouzaud
Hi, On 06/07/2013 08:34 AM, JBE wrote: Hello, I'm trying to create a pygis-application with a code found in the quantum gis coding and application guide. I've programmed before but I'm new to python as such, so right now I'm basically just trying to break this down and understand how it works.

Re: [Qgis-developer] Open a form of a linked table

2013-06-04 Thread Denis Rouzaud
Hi , I did not test, but adding a python action to the layer B should work: layerA = QgsMapLayerRegistry.instance().mapLayer(layerAid) featureAid = [% layerAid_column_name %] f = QgsFeature() layerA.getFeatures(QgsFeatureRequest().setFilterFid(featureAid)).nextFeature(f)

[Qgis-developer] Adding a feature to a layer with joined fields

2013-05-30 Thread Denis Rouzaud
Hi all, Regarding blocker #7072, I wonder if it really makes sense to have joined fields than can be filled by the user in the edit form while creating a feature. These fields should not be edited at all. I would suggest not to show them at creation and to disable the joined fields while

Re: [Qgis-developer] Adding a feature to a layer with joined fields

2013-05-30 Thread Denis Rouzaud
, 2013/5/30 Denis Rouzaud denis.rouz...@gmail.com: Hi all, Regarding blocker #7072, I wonder if it really makes sense to have joined fields than can be filled by the user in the edit form while creating a feature. These fields should not be edited at all. I would suggest not to show them at creation

[Qgis-developer] mapCanvas refresh does not show newly created features in memory layers

2013-05-29 Thread Denis Rouzaud
Hi all, I have filled a bug some time ago[0], which I find weird. In a plugin: 1. I create a memory layer 2. I add a feature in it 3. mapCanvas.refresh() does not make the feature visible but mapCanvas.zoomIn/Out() does. This is truly weird, anyone has an idea what to look for? Thanks,

Re: [Qgis-developer] Postgres Audit Trigger plugin: beta-tester feedback

2013-05-27 Thread Denis Rouzaud
Hi Ivan, I updated the plugin with your useful comments. You have a version 0.4 available. Regarding the schema tables names, I have filled a pull request here https://github.com/2ndQuadrant/audit-trigger/pull/2https://github.com/2ndQuadrant/audit-trigger/pull/2/files You can use my branch

Re: [Qgis-developer] Ubuntu HUD (head up display)

2013-05-27 Thread Denis Rouzaud
Hi Andreas, That would be awesome. Do you have any reference on how to implement this??? Thanks, Denis 2013/4/13 Andreas Neumann a.neum...@carto.net Hi, Here is some info and a demo video of the Ubuntu HUD (head up display) that can be used next to the traditional menu:

Re: [Qgis-developer] Ubuntu HUD (head up display)

2013-05-27 Thread Denis Rouzaud
Not sure. This commander lists only algorythm, am I right? The HUB idea is create shortcut and search facility for every menu item. Or is it me who's missing something? On 05/27/2013 11:16 AM, Paolo Cavallini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 27/05/2013 10:10, Denis

Re: [Qgis-developer] Ubuntu HUD (head up display)

2013-05-27 Thread Denis Rouzaud
and the information for developers is still missing - see https://wiki.ubuntu.com/Unity/HUD Andreas On Mon, 27 May 2013 11:27:30 +0200, Denis Rouzaud wrote: Not sure. This commander lists only algorythm, am I right? The HUB idea is create shortcut and search facility for every menu item. Or is it me

[Qgis-developer] Is there any random part process the label engine?

2013-05-16 Thread Denis Rouzaud
Hi all, Everything's in the subject: is there any random process in the label engine? In other words, if I render one million times the same extent with the same layers, the same symbology, will I have everytime the same image? (if it is true, I could use an efficient synchronization

[Qgis-developer] Postgres Audit Trigger plugin: beta-tester feedback

2013-05-07 Thread Denis Rouzaud
Hi all, As some of you know, I have created a plugin to do rollbacks on postgres layers using the Postgres Audit Trigger 91 plus [0]. The plugin is called Postgres 91 plus auditor is made for QGIS 1.9+ and is now flagged as experimental. I wrote a short howto [1]. If some of you are ok to

[Qgis-developer] crash while setting attributes of a new feature

2013-05-06 Thread Denis Rouzaud
Hi all, I got a crash when I did this: fields = layer.dataProvider().fields() f = QgsFeature() f.setFields(fields) for field in fields: f[field.name()] = QVariant(1) Using QVariant or not. What did I (again) did wrong Greetings, Denis ___

Re: [Qgis-developer] crash while setting attributes of a new feature

2013-05-06 Thread Denis Rouzaud
completely in mind, but maybe this [0] can help you. [0] http://lists.osgeo.org/pipermail/qgis-developer/2013-February/024278.html Marco Bernasocchi (mobile) http://opengis.ch On May 6, 2013 11:27 AM, Denis Rouzaud denis.rouz...@gmail.com mailto:denis.rouz...@gmail.com wrote: Hi all, I

Re: [Qgis-developer] The new installer

2013-04-30 Thread Denis Rouzaud
. But it would be confusing as settings can be application or project related. Unless you put everything in a dialog setting ;) Joke apart, it's a great idea. - Nathan On Tue, Apr 30, 2013 at 3:54 PM, Denis Rouzaud denis.rouz...@gmail.com mailto:denis.rouz...@gmail.com wrote: Well, I like

Re: [Qgis-developer] The new installer

2013-04-30 Thread Denis Rouzaud
the plugins settings in the main dialog, I got your point and I almost agree ;) Thanks again, Denis On 04/30/2013 08:37 AM, Tim Sutton wrote: Hi Denis On Tue, Apr 30, 2013 at 7:54 AM, Denis Rouzaud denis.rouz...@gmail.com mailto:denis.rouz...@gmail.com wrote: Well, I like the idea

Re: [Qgis-developer] Labeling gui redesign and expression-based data definitions

2013-04-30 Thread Denis Rouzaud
On 04/30/2013 07:02 PM, Larry Shaffer wrote: Hi, On Mon, Apr 29, 2013 at 11:10 PM, Denis Rouzaud denis.rouz...@gmail.com mailto:denis.rouz...@gmail.com wrote: Hi, On 04/30/2013 04:11 AM, Larry Shaffer wrote: Hi, Similar to Borys' dilemma, I am try bringing

Re: [Qgis-developer] Labeling gui redesign and expression-based data definitions

2013-04-29 Thread Denis Rouzaud
Hi, On 04/30/2013 04:11 AM, Larry Shaffer wrote: Hi, Similar to Borys' dilemma, I am try bringing the new labeling features and gui to a reasonable release state, but need a couple of days more to finish things up (excepting existing issues, etc.). I have added expression-based data

Re: [Qgis-developer] The new installer

2013-04-29 Thread Denis Rouzaud
Hi, On 04/30/2013 12:50 AM, Borys Jurgiel wrote: Hi, Is the GUI API freeze still planned for tomorrow or postponed? I won't finish the manager tomorrow. I need a few days more (one week is safe), but unfortunately I have to leave from Wednesday until next Tuesday, so I could finish it for May

Re: [Qgis-developer] The new installer

2013-04-29 Thread Denis Rouzaud
, 2013 at 3:19 PM, Denis Rouzaud denis.rouz...@gmail.com mailto:denis.rouz...@gmail.com wrote: Do you think it could be interesting to integrate this also in the settings dialog? If the left panel can be integrated as a tree widget item in the panel of the settings dialog (as I just

Re: [Qgis-developer] QGIS 2.0 and PyQT v2 update

2013-04-26 Thread Denis Rouzaud
Hi, On 04/25/2013 10:26 PM, Andreas Neumann wrote: Hi, It has been discussed that PyQT should be updated to v2 befor the QGIS 2.0 release. Is this still a feasible goal? I think it would be good to also update it before 2.0. With the new Vector API most plugin developers need to rework their

Re: [Qgis-developer] feature setFields crashes

2013-04-26 Thread Denis Rouzaud
http://hub.qgis.org/issues/7717 I assigned you, with blocker for 2.0. On 04/26/2013 10:00 AM, Martin Dobias wrote: On Thu, Apr 25, 2013 at 9:53 AM, Nathan Woodrow madman...@gmail.com wrote: I think it is a scope thing, or object ownership. Martin, is that what the issue is? Yeah something

[Qgis-developer] feature setFields crashes

2013-04-25 Thread Denis Rouzaud
Hi all, When I write: f = QgsFeature() f.setFields( layer.dataProvider().fields() ) QGIS crashes Here are the two involved methods void QgsFeature::setFields(const QgsFields * fields) virtual const QgsFields QgsVectorDataProvider::fields( ) const Anybody has an

Re: [Qgis-developer] feature setFields crashes

2013-04-25 Thread Denis Rouzaud
Works like a charm Thanks a lot On 04/25/2013 09:49 AM, Nathan Woodrow wrote: Denis, Try this: fields = layer.pendingFields() f.setFields(fields) - Nathan ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] restoring geometry from postgis

2013-04-25 Thread Denis Rouzaud
Hi all, I am trying to recreate a QgsGeometry directly from the geometry field. I have the geometry field like

Re: [Qgis-developer] valuetool plugin but with average value by radius ?

2013-04-24 Thread Denis Rouzaud
Hi Otto, I have done something similar for landit plugin (DTM values). There is three methods: nearest, linear and bicubic interpolations. You can found the the code here https://github.com/3nids/landit/blob/master/elevationdialog.py#L120 Cheers, Denis On 04/24/2013 02:40 PM, Otto Dassau

Re: [Qgis-developer] update layer list in python plugin

2013-04-24 Thread Denis Rouzaud
Hi Otto, Not sure to understand what you mean. But, can't you update your list by connecting signals either from the layer regirstry, or the legend interface ? Denis On 04/24/2013 04:23 PM, Otto Dassau wrote: Hi, how is it possible to update the list of available layers in a python plugin

Re: [Qgis-developer] valuetool plugin but with average value by radius ?

2013-04-24 Thread Denis Rouzaud
Cavallini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 24/04/2013 14:43, Denis Rouzaud ha scritto: I have done something similar for landit plugin (DTM values). There is three methods: nearest, linear and bicubic interpolations. You can found the the code here https://github.com/3nids

Re: [Qgis-developer] behavior of splitting feature

2013-04-23 Thread Denis Rouzaud
UI anyway. I'd also like to see a way to modify multi-point features. Andreas Am 22.04.2013 16:07, schrieb Denis Rouzaud: Hi, I am dealing with multi polygons these days, and I find very annoying to not being able to split a part into several part. First, am I right saying it's not feasible

[Qgis-developer] disjoint checking in geometry addPart

2013-04-23 Thread Denis Rouzaud
Hi, I am wondering if this is correct to check if polygons are disjoint when trying to add a new part to a multipolygon. https://github.com/qgis/Quantum-GIS/blob/master/src/core/qgsgeometry.cpp#L3009 Indeed if you try add a new part having a segment in common with an existing part it won't

[Qgis-developer] behavior of splitting feature

2013-04-22 Thread Denis Rouzaud
Hi, I am dealing with multi polygons these days, and I find very annoying to not being able to split a part into several part. First, am I right saying it's not feasible? If yes, I would like to propose to add a choice to the splitting tool: - split into several features - split into several

Re: [Qgis-developer] [Qgis-user] [Qgis-psc] Logo

2013-04-19 Thread Denis Rouzaud
On 04/19/2013 10:08 AM, Werner Macho wrote: and there is a new one too 280 .. which I personally find very fine - as logo as well as an icon .. http://99designs.com/logo-design/contests/qgis-needs-logo-210397/entries/280 +1 on 280 love it maybe without the 4 arrows.

[Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread Denis Rouzaud
Hi all, I have a postgis layer of multipolygon. If I create a new feature in QGIS with a single polygon in it, I have the error: PostGIS error while adding features: ERROR: Geometry type (Polygon) does not match column type (MultiPolygon) Did I missed something? Because to me, a

Re: [Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread Denis Rouzaud
Shall I fill an issue? On 04/09/2013 02:10 PM, Régis Haubourg wrote: +1 with you Denis. This restriction also implies severe known bugs when using merge or clip tools that creates POLYGON and not MULTIPOLYGON. Currently, I solve this by modifying postgis constraint so that it accepts POLYGON

Re: [Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread Denis Rouzaud
http://hub.qgis.org/issues/7555 On 04/09/2013 02:18 PM, Régis Haubourg wrote: That would be a good idea, and I really think it could be a blocker because it leads to dead-end when editing, and sometimes leads to data loss. ( Joeren already solved that critical issue, because postgres

[Qgis-developer] best to add a feature on a layer (+ crash)

2013-04-02 Thread Denis Rouzaud
Hi all, I try to add a feature in a layer with only one field (over a few in the layer) filled. Here is what I tried: f = QgsFeature() f.setGeometry(myGeom) f.setAttribute(1, myValue) provider.addFeatures( [f] ) This causes QGIS to crash. What did I wrong? I should not set field 1 if there

Re: [Qgis-developer] best to add a feature on a layer (+ crash)

2013-04-02 Thread Denis Rouzaud
Perfect Nathan, thanks a lot. On 04/03/2013 07:44 AM, Nathan Woodrow wrote: Denis, You didn't tell QgsFeature how many attributes it has. You can call initAttributes(1) or pass in the QgsFields into QgsFeature(fields) - Nathan On Wed, Apr 3, 2013 at 3:42 PM, Denis Rouzaud denis.rouz

[Qgis-developer] problem with feature request and updateFeature

2013-03-22 Thread Denis Rouzaud
Hi all, I am looping over features of a layer using new API (QgsFeatureRequest). If I modify a feature and do: layer.updateFeature(f), my loop is broken. Is this a normal behavior? What should I do if I want to modify features during the loop? Thanks Denis

Re: [Qgis-developer] problem with feature request and updateFeature

2013-03-22 Thread Denis Rouzaud
, commenting the last line prints all ids. On 03/22/2013 01:56 PM, Nathan Woodrow wrote: Do you mean your loop is exited when you call updateFeature? Can you post your code. - Nathan On Fri, Mar 22, 2013 at 10:54 PM, Denis Rouzaud denis.rouz...@gmail.com mailto:denis.rouz...@gmail.com wrote

Re: [Qgis-developer] problem with feature request and updateFeature

2013-03-22 Thread Denis Rouzaud
2013 14:10:19 CET, Denis Rouzaud wrote: Yes exactly f = QgsFeature() iter = vectorLayer.getFeatures( QgsFeatureRequest() ) while iter.nextFeature( f ): print f.id() f.setAttribute( field, QVariant( 1

[Qgis-developer] interpolated identification on a raster

2013-03-21 Thread Denis Rouzaud
Hi all, Is there a straight way to achieve an interpolated identification on a raster? Let's say I have a DEM, and I'd like to calculate an interpolated altitude at a given position. The identify method returns the nearest neighbor (the pixel under the mouse pointer). Or could you point

[Qgis-developer] close issue

2013-03-11 Thread Denis Rouzaud
Hi, Can someone take care of closing this issue? http://hub.qgis.org/issues/6562 thanks, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] sextante error at build

2013-03-11 Thread Denis Rouzaud
Hi all, I have this error when compiling last master make[2]: *** No rule to make target `../python/plugins/sextante/grass/description/v.split.txt', needed by `python/plugins/sextante/grass/CMakeFiles/sextante_grass_description_stageinstall'. Stop. make[1]: ***

Re: [Qgis-developer] sextante error at build

2013-03-11 Thread Denis Rouzaud
that issue... 2013/3/11 Denis Rouzaud denis.rouz...@gmail.com: Hi all, I have this error when compiling last master make[2]: *** No rule to make target `../python/plugins/sextante/grass/description/v.split.txt', needed by `python/plugins/sextante/grass/CMakeFiles

Re: [Qgis-developer] New OpenStreetMap integration

2013-03-04 Thread Denis Rouzaud
Hi Martin, Thanks for your reply, everything's fine now. Greetings, Denis On 03/04/2013 01:24 PM, Martin Dobias wrote: On Fri, Mar 1, 2013 at 8:36 AM, Denis Rouzaud denis.rouz...@gmail.com wrote: On 03/01/2013 08:29 AM, Martin Dobias wrote: On Fri, Mar 1, 2013 at 7:50 AM, Denis Rouzaud

Re: [Qgis-developer] New OpenStreetMap integration

2013-02-28 Thread Denis Rouzaud
Hi Martin, I got this error when I compile this morning. http://pastebin.com/v0WPVbj7 1. /home/denis/opt/qgis/Quantum-GIS/build-master/python/core/sipcorepart3.cpp: In function 'PyObject* meth_QgsFeatureRequest_setFilterFid(PyObject*, PyObject*)': 2.

[Qgis-developer] non integer ID and python

2013-02-26 Thread Denis Rouzaud
Hi all, I have a small problem in my quickfinder plugin (finds a feature by its id). For postgis layers, I have no problem to find a feature using its id. But, I can't achieve this with shapefiles for example. I understand this as the IDs of shapefiles are store in strings. Apparently, in

Re: [Qgis-developer] Developer mailing list search

2013-02-18 Thread Denis Rouzaud
http://lists.osgeo.org/pipermail/qgis-developer/ On 02/19/2013 07:22 AM, Theuns Heydenrych wrote: HI Where can i search the QGIS developer mailing list? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] blog

2013-02-14 Thread Denis Rouzaud
Hi all, I wanted to start a blog on wordpress for giving a few plugin development tips. What is the policy about publishing them into the qgis planet? I wrote a first draft here http://3nids.wordpress.com/2013/02/14/identify-feature-on-map/ Please let me know what you think. Greetings,

Re: [Qgis-developer] creating a windows build out of a git branch from ubuntu

2013-02-12 Thread Denis Rouzaud
Hi, Well, as I read it, this should work in any branch. Have you tried the procedure in yours? Denis On 02/13/2013 04:20 AM, vinayan wrote: Hi, I would like to create a windows installer from my git branch. I am currently developing on Ubuntu 12.04 and would like to know if it is possible

[Qgis-developer] featureAtId replacement

2013-02-11 Thread Denis Rouzaud
Hi Martin, hi all, Having a feature ID, I'd like to get the corresponding feature. Here is what I wrote in python: freq = QgsFeatureRequest() freq.setFilterFid(myID) features = [] for f in layer.getFeatures( freq ): features.append( f ) if

Re: [Qgis-developer] featureAtId replacement

2013-02-11 Thread Denis Rouzaud
On 02/11/2013 06:14 PM, Matthias Kuhn wrote: On 02/11/2013 05:50 PM, Martin Dobias wrote: On Mon, Feb 11, 2013 at 5:23 PM, Jürgen E. j...@norbit.de wrote: I'd write: f = QgsFeature() if layer.getFeatures( QgsFeatureRequest().setFilterFid( self.subset[i] ) ).nextFeature( f ): return f

Re: [Qgis-developer] making QgsMapToolIdentify available to plugins

2013-02-07 Thread Denis Rouzaud
and then call QgsMapToolIdentify and dialog functions Please let me know when you finish your work in identify tool so that we avoid conflicts. Radim On Thu, Feb 7, 2013 at 10:04 AM, Denis Rouzaud denis.rouz...@gmail.com wrote: Hi Radim, I have already merged the changes to return directly

Re: [Qgis-developer] making QgsMapToolIdentify available to plugins

2013-02-06 Thread Denis Rouzaud
Hi Radim, On 02/06/2013 03:39 PM, Radim Blazek wrote: Hi Denis, I have commited some changes related to identify tool: https://github.com/qgis/Quantum-GIS/commit/50d4bb6d4 I hope it does not break any your original intention. As I see it, it seems to be ok! Just pay attention, I pull another

Re: [Qgis-developer] making QgsMapToolIdentify available to plugins

2013-02-06 Thread Denis Rouzaud
I don't understand why you added an identify method in qgmaptoolindetifyaction in app. are you on irc or something so we can discuss? On 02/06/2013 03:39 PM, Radim Blazek wrote: Jef changed that from ~layerList.isEmpty() to !layerList.isEmpty() but that was not working (current layer was not

[Qgis-developer] identify map tool

2013-02-06 Thread Denis Rouzaud
Hi Radim, hi all, I am merging your changes with the pull request. I can't finish that now and will restart tomorrow morning. Please do not change anything in gui/identifymaptool and app/identifymaptoolaction, it's quite the mess to solve the conflicts. Greetings, Denis

[Qgis-developer] MapToolIdentify moving to gui

2013-01-28 Thread Denis Rouzaud
Hi, As previously explained, I am moving the MapToolIdentify class to gui and creating a new MapToolIdentifyAction in app. I think the cpp part is done [1] but I have two questions regarding to python. Here is what I did: - added %Include qgsmaptoolidentify.sip in python/gui/gui.sip -

[Qgis-developer] making QgsMapToolIdentify available to plugins

2013-01-21 Thread Denis Rouzaud
Hi all, Following my previous mail, I am trying to make the identify map tool available to plugins. With Matthias Kuhn's help, I've found two ways to achieve this: - Move QgsMapToolIdentify::identifyVectorLayer and identfiyRasterLayer to mapCanvas - Move QgsMapToolIdentify to gui, and

[Qgis-developer] identify tool for plugins

2013-01-17 Thread Denis Rouzaud
Hi all, I have just pushed a new plugin to edit geometry as plain WKT text [0]. Basically, it works as the identify tool: if a feature is found, a dialog shows up with the WKT, which is editable if the layer is editable. I have one main concern regarding the behaviour of my plugin. I use

Re: [Qgis-developer] Adding a project as a reference

2012-11-27 Thread Denis Rouzaud
data in pretty much any of my other projects. It does not allow to change any settings on the layers (e.g. different min/max scales) - but other than that it works great. Did you have a look at this feature? Andreas On Tue, 27 Nov 2012 08:34:54 +0100, Denis Rouzaud wrote: Hi all, I don't know

Re: [Qgis-developer] Adding a project as a reference

2012-11-27 Thread Denis Rouzaud
project? Regards, Marco On 27.11.2012 09:52, Denis Rouzaud wrote: Hi Andreas, Thanks for the reply. I did not know this feature, which is basically what I asked ;) Great! I am just facing a few problems. When adding a group, a box appears with std::bad_alloc and qgis crashes a few times (both 1.8

[Qgis-developer] Adding a project as a reference

2012-11-26 Thread Denis Rouzaud
Hi all, I don't know if this idea has been raised or not, a quick google search did not lead to anything. I wonder if it would be feasible to introduce the option of adding a project as a reference, as you can do in autocad. Basically, this would be a new type of layer, where you could

Re: [Qgis-developer] Rule based renderer can't rotate symbols based on rotation field

2012-11-16 Thread Denis Rouzaud
Yes, you are right. I noticed this, I think I filled a request a few months ago. not sure. On 11/16/2012 11:57 AM, Andreas Neumann wrote: Hi, I am in the process of cleaning up some other project, reducing the nr of necessary layers by changing to the rule based renderer. Am I missing

Re: [Qgis-developer] Multilanguage plugin development

2012-11-01 Thread Denis Rouzaud
you can use the tr function directly in your python code. http://doc.qt.digia.com/stable/linguist-hellotr.html after that, you can use Qt Linguist, if I remember well. On 11/01/2012 04:04 PM, Andreas Neumann wrote: om python which language the QGIS main interface is using? * I think for the

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Denis Rouzaud
Hi all, I second Andreas with the idea of a frozen master version which is very usable for end-users who need the last improvements. Greetings, Denis On 10/23/2012 09:23 AM, Andreas Neumann wrote: Hi, For me it is ok to go ahead and break the API. That was our goal for version 2.0.

Re: [Qgis-developer] font size of QGIS

2012-08-16 Thread Denis Rouzaud
Hi Marco, Thanks for the tip. Doing so, I could just access the box and change the value with keyboard ! Thanks a lot! Greetings. Denis On 08/16/2012 04:08 PM, Marco Bernasocchi wrote: On 08/14/2012 11:12 AM, Denis Rouzaud wrote: Hi Marco, hi all I am having trouble while trying to set

[Qgis-developer] font size of QGIS

2012-08-14 Thread Denis Rouzaud
Hi Marco, hi all I am having trouble while trying to set font size of QGIS on a HTC phone. As settings dialog is too big, I cannot access to this setting. I created a file Android/data/org.qgis.qgis/files/Settings/QuantumGIS/QGIS.conf with [General] IconSize=32 fontPointSize=4 I restarted

Re: [Qgis-developer] Implementing project scales list

2012-07-18 Thread Denis Rouzaud
Sounds great. Would be ideal if web-client uses the project defined scales! Greetings Denis On 07/18/2012 09:50 AM, Alexander Bruy wrote: Hi all, I've pushed this feature to master. Now project scales can be modified from Settings-Options-Map tools (global setting) or in project

Re: [Qgis-developer] Implementing project scales list

2012-07-18 Thread Denis Rouzaud
more specific than WMS capabilities). Scales defined in the project could also be part of it. Regards, Marco Am 18.07.2012 09:53, schrieb Denis Rouzaud: Sounds great. Would be ideal if web-client uses the project defined scales! Greetings Denis On 07/18/2012 09:50 AM, Alexander Bruy wrote

Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Denis Rouzaud
Hi, I think this is pretty useful! In parallel to templates, how about adding a button in the project settings, to make these settings as global default settings? Greetings, Denis On 07/14/2012 11:10 PM, Etienne Tourigny wrote: Hi all, There are 2 interrelated topics that I have been

Re: [Qgis-developer] What will be in QGIS 2.0

2012-07-12 Thread Denis Rouzaud
As master version is a development version, there is still 1.8 which has full symbology and labelling. Removing old stuff in master would probably accelerate improvement of the new labelling and symbology. Otherwise, waiting for full completion of requirements would probably be much longer.

[Qgis-developer] osgeo

2012-07-06 Thread Denis Rouzaud
Hi all, Someone wrote me he has problem while installing QGIS 1.8 (some dll problem LIBEAY32.dll) I wanted to suggest him to try the osgeo installer, but I see it is written version 1.7. Is this true, there is no 1.8 in the osgeo installer? Also, why is the standalone preferred to the

[Qgis-developer] vectorlayer new edit type: multi attribute

2012-06-28 Thread Denis Rouzaud
Hi all, As I was very demanding these last 2 days, you probably know I was trying to add a new edit type for vector layers. Suppose you have a table of options, and you can now select from 0 to n of this options in a field. Maybe with an image, it's clearer:

Re: [Qgis-developer] vectorlayer new edit type: multi attribute

2012-06-28 Thread Denis Rouzaud
Sounds great to me! Thanks a lot, Denis On 06/28/2012 08:54 PM, Jürgen E. Fischer wrote: Hi Denis, On Thu, 28. Jun 2012 at 18:31:34 +0200, Denis Rouzaud wrote: As I was very demanding these last 2 days, you probably know I was trying to add a new edit type for vector layers. Nice work

[Qgis-developer] help for a cpp newbie

2012-06-27 Thread Denis Rouzaud
Hi all, I am (almost) a complete newbie in c++. I am trying to get into it, by adding a new edit type for vector layers. I am adding something similar to valuerelation to have multi-attribute edit type (using a join table and an attribute table). Basically, I reused almost exactly the same

Re: [Qgis-developer] help for a cpp newbie

2012-06-27 Thread Denis Rouzaud
Hi, No, I don't think so. Here is what I did: Fork on github Clone on my pc Edit some cpp, h and ui files. Create a build-ma folder in the qgis directory as explained here http://www.qgis.org/api/INSTALL.html#toc10 Run ccmake .. Set CMAKE_INSTALL_PREFIX to /home/denis/opt/builds2 And then,

Re: [Qgis-developer] help for a cpp newbie

2012-06-27 Thread Denis Rouzaud
it be your qgis executable does not use the libqgis_core.so you compiled? If so, you may set the LD_LIBRARY_PATH to point to the location of your qgis libs. Regards, Marco Am 27.06.2012 08:45, schrieb Denis Rouzaud: Hi all, I am (almost) a complete newbie in c++. I am trying to get

[Qgis-developer] full access to feature in createAttributeEditor

2012-06-27 Thread Denis Rouzaud
Hi all, Maybe still a newbie question, but I don't know how to go around this. To perform 0-n relations, I need to access another attribute value of the current feature (basically its id) in createAttributeEditor. And as far as I understand it, I only have access to the layer, the index of

[Qgis-developer] advise for a server

2012-05-29 Thread Denis Rouzaud
Hi all, I will by a new server to host the postgis DB and probably qgis server. I will not have more than 4 people working on the DB via QGIS at the same time. For the server, I'll probably have something like max 10-20 users at the same time. I have pretty no idea on what is important to

[Qgis-developer] cannot select a view in postgis layers

2012-05-22 Thread Denis Rouzaud
Hi all, I cannot select a view anymore in the Add PostGIS layers dialog anymore. All table are selectable but not the views. Geometry column and SRID are well specified in the column (I used type casting for the geometry). What am I missing? Thnaks a lot Denis

Re: [Qgis-developer] plugin zoom question

2012-04-24 Thread Denis Rouzaud
Hi, How is defined self.plugin ? On 04/25/2012 01:30 AM, SJWC GIS wrote: Hello all, I've written a piece of code that will search a database for a given point, and then return that point so we can center the map canvas on it and zoom in. Unfortunately, it's not working. QGIS crashes after

[Qgis-developer] broken dependencies

2012-04-22 Thread Denis Rouzaud
Hi all, Apparently, there is a problem in dependencies in debian nightly packages. qgis: Depends: qgis-providers but it is not going to be installed Depends: qgis-common but it is not going to be installed Recommends: qgis-plugin-grass but it is not going to be installed Recommends:

Re: [Qgis-developer] Syntax for using QListQgsMapLayer * signal in python

2012-04-19 Thread Denis Rouzaud
I would try SIGNAL(layersWillBeRemoved(QStringList)) On 04/19/2012 11:09 AM, Tim Sutton wrote: Hi All Does anyone know the appropriate way to connect to the new QgsMapLayerRegistry signal I added in python: void layersAdded( QListQgsMapLayer * theMapLayers ); I tried:

Re: [Qgis-developer] Plugin Link It: upgrade not working

2012-04-16 Thread Denis Rouzaud
There was a wrong version number in the __init__.py (it was the old one). I fixed this by adding a new version, hope it works. On 04/13/2012 11:04 AM, Paolo Cavallini wrote: Hi all. The usual issue with upgrading, it seems. All the best. ___

Re: [Qgis-developer] Plugin Link It: upgrade not working

2012-04-15 Thread Denis Rouzaud
Hi Paolo, Thanks for the feedback. What's this usual issue with upgrading? Thanks Denis On 04/13/2012 11:04 AM, Paolo Cavallini wrote: Hi all. The usual issue with upgrading, it seems. All the best. ___ Qgis-developer mailing list

[Qgis-developer] Qstring has no attribute toStdString

2012-04-11 Thread Denis Rouzaud
Hi all, I have an error when I try to use toStdString method on a QString: AttributeError: 'QString' object has no attribute 'toStdString' Someone has a clue on this??? Thanks, Greetings Denis ___ Qgis-developer mailing list

Re: [Qgis-developer] Qstring has no attribute toStdString

2012-04-11 Thread Denis Rouzaud
thought that everything in qt was in pyqt, but this is apparently not true. I finally end up using str(%s % myString), which works. Thanks a lot for your answer. Denis On 04/11/2012 10:39 AM, Jürgen E. Fischer wrote: Hi Denis, On Wed, 11. Apr 2012 at 09:49:41 +0200, Denis Rouzaud wrote: I

Re: [Qgis-developer] Qstring has no attribute toStdString

2012-04-11 Thread Denis Rouzaud
Hi Richard, Thanks a lot for the tip. I'll use it! On 04/11/2012 11:08 AM, Richard Duivenvoorde wrote: On 04/11/2012 10:56 AM, Denis Rouzaud wrote: I finally end up using str(%s % myString), which works. Hi Denis, maybe you should use unicode(..) instead of str(...) and be sure to work

[Qgis-developer] new plugin: test on windows and security policy

2012-04-11 Thread Denis Rouzaud
Hi all, I just uploaded a plugin, Custom Launcher. It can be used to c ustomize your own actions to launch your preferred apps or commands within QGIS. http://plugins.qgis.org/plugins/customlauncher/ (video demo is here http://www.youtube.com/v/B6811zAuXhwhd=1

Re: [Qgis-developer] Changelog in http://plugins.qgis.org

2012-04-10 Thread Denis Rouzaud
you can still edit your changelog being logged in using http://plugins.qgis.org/plugins/QuickMultiAttributeEdit/version/0.6/updtate I usually fill manually the changelog. On 04/10/2012 10:23 AM, Luca Delucchi wrote: When updload a new version of plugin with the changelog, this is written in

[Qgis-developer] symbol rotation

2012-04-02 Thread Denis Rouzaud
Hi all, There is an advanced button in the single symbol mode (layer style) which allows me to define a rotation based on the value of a field (great!). But it is not recalled in the rule-based mode. Is this a missing feature or is there a specific reason? Thanks a lot Denis

Re: [Qgis-developer] Another strange behavior in qgis......

2012-03-30 Thread Denis Rouzaud
already exists apparently http://hub.qgis.org/issues/5013 there is an attached video. On 03/30/2012 10:54 AM, Paolo Cavallini wrote: Il 30/03/2012 10:35, Denis Rouzaud ha scritto: Yes I confirm for QGIS master. I tested with a postgres and a raster layer, and bug occurs with both

[Qgis-developer] Plugin snippets cookbook

2012-03-30 Thread Denis Rouzaud
Hi all, First, I propose to add these three lines in the code snippets. It is to include help link in thew plugin menu: def initGui(self): # This initiates the action self.helpAction = QAction(QIcon(:/plugins/myplugin/icons/help.png), Help, self.iface.mainWindow()) # This will open the

Re: [Qgis-developer] Plugin snippets cookbook

2012-03-30 Thread Denis Rouzaud
Hi Larry, Thanks for the tips. I corrected snippet #11. I did not see before I had uploaded it 3 times (sic). But how can I delete the other two??? http://snippets.qgis.org/snippets/users/3nids/ leads to a 404. dunno why. On 03/30/2012 01:52 PM, Larry Shaffer wrote: Hi Denis, On Fri, Mar

Re: [Qgis-developer] new plugin Loop Visible Layers awaiting approval

2012-03-28 Thread Denis Rouzaud
I added this: ** Approval rules (i.e. binaries, licence issues) to the plugin issues in the wiki On 03/28/2012 02:16 AM, Giuseppe Sucameli wrote: +1, we also need to define approval rules, e.g. should we approve plugins containing binaries? ___

Re: [Qgis-developer] new plugin Loop Visible Layers awaiting approval

2012-03-28 Thread Denis Rouzaud
I agree on this. As you write, creating quality around the plugin should almost be mandatory. Also, right now, it is not very clear for plugin devs to know how to create this quality. I mean that the plugin help page leads the dev to the QGIS hub, and I think it is really not the right way

[Qgis-developer] Re: Plugin approval

2012-03-27 Thread Denis Rouzaud
/2012 19:25, Denis Rouzaud ha scritto: Increasing number of moderators for plugin validation? Better having a clear responsibility (now it's a bit spread over) and a set of rules to approve/refuse it. Putting a flag not validated yet and making it downloadable with a warning? Validated

Re: [Qgis-developer] Plugin description

2012-03-26 Thread Denis Rouzaud
I would suggest to use the description from the metadata description which is a few line. So in QGIS: title, when you select the line, the description could appear at the bottom of the dialog, with a link to the website also in the metadata. I don't think having the whole README in QGIS is

Re: [Qgis-developer] intersect it plugin

2012-03-26 Thread Denis Rouzaud
...). Glad a few tested it! Greetings, Denis On 03/23/2012 03:58 PM, Paolo Cavallini wrote: Il 23/03/2012 14:32, Denis Rouzaud ha scritto: 2. OK, I thought a little more about this, and I agree. I'll give one more digit (4 should be ok, in meter, it's a tenth of a millimeter). Maybe this could

<    2   3   4   5   6   7   8   >