Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Andreas Neumann
Hi Paolo, What do you expect from the loading? Automatic application to the field calculator (sounds scary to me), or just the ability to choose from past expressions? If the latter, then maybe a central expression storage (per user) would make more sense than a per layer expression store.

Re: [Qgis-developer] to build shortest_distance

2012-10-19 Thread mmekuria
Dear Shiva: I use windows and I followed the build instructions found in the link http://hub.qgis.org/wiki/quantum-gis/Development should help you. If you can not follow it, at least you must give some indication of where you experience a problem by posting errors that you get during your

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Bernhard Ströbl
Hi, I could imagine having several expressions for one layer (depending on the field I want to do calculations on) so autoload needs to depend on the layer and the field. On the other hand I could imagine having an area field in many layers which I want to update with the geometry's area. So

Re: [Qgis-developer] QGIS 1.8 C++ Plugin development

2012-10-19 Thread mmekuria
I was able to get the Oracle plugin to compile without errors. The geometry library files were missing from the OSGeo download. I also added the path to the headers that were missing (geometry headers) to the project. Still QGIS 1.8 and 1.9 is not recognizing my plugin, while the locally build

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Nathan Woodrow
We can always have a save button that the user can pick to save a Application based expression (saved in the QGIS settings), or saved in the project file. I can see use cases for both. Nathan From: Andreas Neumann Sent: 19/10/2012 4:21 PM To: Paolo Cavallini Cc: Nathan Woodrow; qgis-developer

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Paolo Cavallini
Il 19/10/2012 08:21, Andreas Neumann ha scritto: What do you expect from the loading? Automatic application to the field calculator (sounds scary to me), or just the ability to choose from past expressions? I meant the latter. To me the expressions do not have a natural 1:1 match to a layer

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Paolo Cavallini
Il 19/10/2012 08:28, Nathan Woodrow ha scritto: We can always have a save button that the user can pick to save a Application based expression (saved in the QGIS settings), or saved in the project file. I can see use cases for both. Yes, several slightly different usages. Thanks for thoughts.

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Nathan Woodrow
Let me see what I can come up with after my exams are finished in a week. Sent from some fancy phone looking thingo From: Paolo Cavallini Sent: 19/10/2012 4:29 PM To: Andreas Neumann Cc: Nathan Woodrow; qgis-developer Subject: Re: [Qgis-developer] Saving expressions Il 19/10/2012 08:21, Andreas

[Qgis-developer] Sandro Santilli new committer

2012-10-19 Thread Marco Hugentobler
Hi devs The PSC granted write access to the qgis repository to Sandro Santilli (strk). Sandro works on integrating support for PostGIS topology. Welcome to the team! Regards, Marco -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, Switzerland

[Qgis-developer] R Sextante error

2012-10-19 Thread Agustin Lobo
I find problem at trying to run R scripts within Sextante on ubuntu 10.04 + qgis 1.8 I include links to screen captures of the results at attempting to run the provided example script Create random sample grid: http://dl.dropbox.com/u/3180464/Rsextante1.jpeg

Re: [Qgis-developer] R Sextante error

2012-10-19 Thread Victor Olaya
Agustin The most useful info here is in the Rlog file that you will find in [your-user-folder]/sextante That tells us what was the problem with R (if any). Could you please send it? thanks for your help Victor 2012/10/19 Agustin Lobo alobolis...@gmail.com: I find problem at trying to run R

Re: [Qgis-developer] R Sextante error

2012-10-19 Thread rldhont
Hi all, With a friend of mine, we identifying a bug on Ubuntu with R in sextante. The bug is : The python subprocess doesn't execute the command. The solution put the parameter shell to False on linux for the subprocess Popen construction. Python doc

Re: [Qgis-developer] R Sextante error

2012-10-19 Thread Victor Olaya
That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor 2012/10/19 rldhont rldh...@gmail.com: Hi all, With a friend of mine, we identifying a bug on Ubuntu with R in sextante. The bug is : The python subprocess doesn't execute the

Re: [Qgis-developer] Sandro Santilli new committer

2012-10-19 Thread Yves Jacolin (Free)
Le vendredi 19 octobre 2012 09:00:35 Marco Hugentobler a écrit : Hi devs The PSC granted write access to the qgis repository to Sandro Santilli (strk). Sandro works on integrating support for PostGIS topology. Welcome to the team! Regards, Marco This is great! I am looking forward to

Re: [Qgis-developer] Sandro Santilli new committer

2012-10-19 Thread Sandro Santilli
On Fri, Oct 19, 2012 at 09:28:56AM +0200, Yves Jacolin (Free) wrote: Le vendredi 19 octobre 2012 09:00:35 Marco Hugentobler a écrit : Hi devs The PSC granted write access to the qgis repository to Sandro Santilli (strk). Sandro works on integrating support for PostGIS topology. Welcome

[Qgis-developer] Point sampling tool fails on identify

2012-10-19 Thread Paolo Cavallini
Hi all. With current osgeo4w, PST fails with: File /home/paolo/.qgis//python/plugins/pointsamplingtool/doPointSamplingTool.py, line 273, in accept self.sampling(outPath) File /home/paolo/.qgis//python/plugins/pointsamplingtool/doPointSamplingTool.py, line 345, in sampling ident =

Re: [Qgis-developer] Point sampling tool fails on identify

2012-10-19 Thread G. Allegri
AFAICS the identify method has moved to QgsRasterDataProvider, and has changed the signature (now you pass the type of identify). The pointsamplingtool should be upgraded. giovanni 2012/10/19 Paolo Cavallini cavall...@faunalia.it Hi all. With current osgeo4w, PST fails with: File

Re: [Qgis-developer] Point sampling tool fails on identify

2012-10-19 Thread G. Allegri
I notice that the identify type is not required. Simply changing: ident = rastLayer.identify(point)[1] to ident = rastLayer.dataProvider().identify(point)[1] should work... 2012/10/19 G. Allegri gioha...@gmail.com AFAICS the identify method has moved to QgsRasterDataProvider, and has

Re: [Qgis-developer] R Sextante error

2012-10-19 Thread rldhont
Hi Victor, Ticket opens and patch supplies http://hub.qgis.org/issues/6545 René-Luc Le 19/10/2012 10:15, Victor Olaya a écrit : That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor 2012/10/19 rldhont rldh...@gmail.com: Hi all, With a

Re: [Qgis-developer] R Sextante error

2012-10-19 Thread Victor Olaya
Thanks! 2012/10/19 rldhont rldh...@gmail.com: Hi Victor, Ticket opens and patch supplies http://hub.qgis.org/issues/6545 René-Luc Le 19/10/2012 10:15, Victor Olaya a écrit : That makes sense... Please open a ticket and provide a patch, and I will apply it ASAP Many thanks! Victor

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Alister Hood
Hi guys, Personally I think saving expressions for every layer is unnecessarily complicated. Have you thought of just having a drop-down list of recently used expressions, and the ability to pin your favourite expressions to the list? Do people really need expressions to be saved alongside

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Anita Graser
I agree with Alister that saving expressions for every layer seems overly complex. Maybe we could just have an interface similar to Spatialite GUI where there are forward/backwards buttons besides the SQL input area. They allow to go back in command history. Best wishes, Anita On Fri, Oct 19,

Re: [Qgis-developer] Point sampling tool fails on identify

2012-10-19 Thread Borys Jurgiel
Thanks! Fixed, now waits for approval. Btw. who is competent (and mad enough) to grant me the auto-approve rights? Dnia piątek, 19 października 2012 o 13:04:18 G. Allegri napisał(a): I notice that the identify type is not required. Simply changing: ident = rastLayer.identify(point)[1]

Re: [Qgis-developer] PyQGIS: QGIS segfaults when using Qgsvectorlayer.select() inside signal handler

2012-10-19 Thread Rafael Varela Pet
Hi, Looking at the source code in the git repository I found out that most of the Qgsvectorlayer::select() functionality resides in the data provider, so I decided to write the layers to disk and switch the layer data provider from memory to ogr. The problem still persists, so I decided to file

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread mmekuria
I would liek saving expressions in file and a directory of my own choosing would be ideal. At least that is what ArcGIS had (As far as version 9.3, that I have used in the past.) I would ask for simplicity and ease of use. Why make the project file bloated and prone to corruption by adding field

Re: [Qgis-developer] Point sampling tool fails on identify

2012-10-19 Thread Paolo Cavallini
Il 19/10/2012 16:36, Borys Jurgiel ha scritto: Thanks! Fixed, now waits for approval. Btw. who is competent (and mad enough) to grant me the auto-approve rights? agreed, Borys should be admin. thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc

Re: [Qgis-developer] Point sampling tool fails on identify

2012-10-19 Thread Giuseppe Sucameli
On Fri, Oct 19, 2012 at 7:36 PM, Paolo Cavallini cavall...@faunalia.it wrote: Il 19/10/2012 16:36, Borys Jurgiel ha scritto: Thanks! Fixed, now waits for approval. Btw. who is competent (and mad enough) to grant me the auto-approve rights? agreed, Borys should be admin. Admin or Trusted

[Qgis-developer] Changing Spatialite Version from 2.4 to 3.0

2012-10-19 Thread mmekuria
I need help on how I update the spatialite version in my QGIS install from 2.4 to 3.0. I have posted below the version difference between what I download from QGIS 1.8 Master and the official OSGeo release Local version QGIS version 1.8.0-Lisboa QGIS code revision c64bb9d Compiled against Qt

[Qgis-developer] Invert color ramp not working?

2012-10-19 Thread Paolo Cavallini
Hi all. In a recent master, raster properties, if I check the flag invert color ramp, I do not get the expected result, but the old ugly red-blue ramp: anyone confirms? Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS:

Re: [Qgis-developer] Sandro Santilli new committer

2012-10-19 Thread pcreso
Hey, cool!! Given the work Marco is doing for NIWA's custom version of QGIS, including a random stratified survey design analysis tool, there is some further synergy, as I have funding to migrate about 30 fisheries research databases to Postgis (from a commercial RDBMS) and I plan to make use

[Qgis-developer] PLUGIN_INSTALL CMake macro

2012-10-19 Thread Sandro Santilli
I've pushed a PLUGIN_INSTALL macro for use by the core python plugins to specify files to be installed (now that I write this I realize it could have been called PYTHON_PLUGIN_INSTALL). The macro will generate an install rule to put the given list of files in the final system destination _and_ a

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Nathan Woodrow
I think you miss understand what is meant by saved expressions. It would only be the expression text that is saved in the project file with maybe a name: name : expression name : expression name : expression when the expression builder is open we just look in the project and read in the

Re: [Qgis-developer] Information on QGIS bug #6013 and #4091

2012-10-19 Thread Giuseppe Sucameli
Hi Vivien, On Tue, Oct 16, 2012 at 1:15 AM, Vivien Deparday vivien.depar...@gmail.com wrote: sorry for writing you directly, I just wanted to double check that I am doing and understanding things right before posting a new comment on one of the bug reports. I'm moving the discussion to the

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Bob and Deb
How about saving expressions in a Clipbook? An expression can be pasted into a Clipbook which would also bring up a dialog to enter a name for the expression. Several Clipbooks can be created in order to organize these saved expressions. This would be handy in the Python console too. Btw, this

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Larry Shaffer
Hi Nathan, On Fri, Oct 19, 2012 at 6:16 PM, Nathan Woodrow madman...@gmail.com wrote: Saving with the layer isn't really that complicated as we already do it for the qml files so the code is already all there just needs to be tweaked for expressions. Although I do see project based and

Re: [Qgis-developer] Saving expressions

2012-10-19 Thread Paolo Cavallini
Il 20/10/2012 02:16, Nathan Woodrow ha scritto: I'm really not a big fan of those back and forward buttons. My idea is to have a save button with three options: Save as - Application favourite - Project favourite - File sounds good to me, thanks. -- Paolo Cavallini - Faunalia