[Qgis-user] Is there a way to calculate a devision in Sextante Field Calculator for QGIS 1.8?

2013-01-17 Thread Anita Graser
Hi, I'm running QGIS 1.8 with Sextante 1.0.8. In one of my models, I want to calculate a devision: aFIELD / bFIELD but there is always the same error: Problem evalutaion formula: Wrong field values or formula. (Note: aFIELD - bFIELD does work!) Is there a workaround for the release version? (I

Re: [Qgis-user] Is there a way to calculate a devision in Sextante Field Calculator for QGIS 1.8?

2013-01-17 Thread Victor Olaya
I have just tried with both versions and the division works without problem... It is weird that you can substract the values but not divide them. You can try to express aFIELD / bFIELD as aFIELD * (bFIELD**-1) Maybe that works Hope this helps. I will have a detailed look at the calculator to

Re: [Qgis-user] Use excel spreadsheets for join to vector data

2013-01-17 Thread Pietro Rossin
@Micha Thankyou for your suggestion Ok I can load xls files to sqlite and then make any sql join on that, but it's not user friendly and I have to make two steps, one is the creation of xls and the other the import into a sqlite db.. If you don't want to mess with closed format it would be nice to

Re: [Qgis-user] Is there a way to calculate a devision in Sextante Field Calculator for QGIS 1.8?

2013-01-17 Thread Anita Graser
Hi Victor, Thanks for the feedback. aFIELD * (bFIELD**-1) causes the same error. I'm currently testing on Ubuntu and can try on Windows later. The normal Field Calculator outside Sextante works well. Thanks, Anita On Thu, Jan 17, 2013 at 9:27 AM, Victor Olaya vola...@gmail.com wrote: I

Re: [Qgis-user] Use excel spreadsheets for join to vector data

2013-01-17 Thread Paolo Cavallini
Il 17/01/2013 09:50, Pietro Rossin ha scritto: xytools plugin ask for x and y column when loading a spreadsheet file. If the spreadsheet doesn't have these fields It won't be loaded, isn't it? oh, now I see. perhaps these packages would help? python-openpyxl python-xlrd python-xlwt All the

Re: [Qgis-user] Use excel spreadsheets for join to vector data

2013-01-17 Thread Johan Nilsson
I have problem to load an xls-file with gett this message: -- *An error has occured while executing Python code:* *Traceback (most recent call last): File

Re: [Qgis-user] Is there a way to calculate a devision in Sextante Field Calculator for QGIS 1.8?

2013-01-17 Thread Anita Graser
Thanks, there are indeed features with a 0 value. But I think I tried with selecting only those where there would be no division by zero and then told field calculator to use this selection. Will give it another try ... Thanks, Anita On Thu, Jan 17, 2013 at 10:16 AM, Victor Olaya

Re: [Qgis-user] Use excel spreadsheets for join to vector data

2013-01-17 Thread Micha Silver
On 17/01/2013 10:50, Pietro Rossin wrote: @Micha Thankyou for your suggestion Ok I can load xls files to sqlite and then make any sql join on that, but it's not user friendly and I have to make two steps, one is the creation of xls and the other the import into a

[Qgis-user] Sextante plugin broken

2013-01-17 Thread Michał Bełcik
Hi everyone Have anyone experienced any problems with Sextante on QGIS 1.9.0 today? Because after opening QGIS, there was no Sextante available, and in Plug-in Manager there was a message that the Sextante is broken. When I tried to reinstall it, such an error appeared: 'module' object has no

[Qgis-user] strange errors of gdal functions

2013-01-17 Thread skampus
in qgis master (1.9..0-165) many gdal functions return this error for example, translate (convert format) An error has occured while executing Python code: Traceback (most recent call last): File C:/Documents and Settings/11186CS/.qgis//python/plugins\GdalTools\GdalTools.py, line 322, in

Re: [Qgis-user] strange errors of gdal functions

2013-01-17 Thread Salvatore Larosa
Hi, 2013/1/17 skampus stefano.cam...@regione.piemonte.it in qgis master (1.9..0-165) many gdal functions return this error for example, translate (convert format) An error has occured while executing Python code: Traceback (most recent call last): File C:/Documents and

Re: [Qgis-user] strange errors of gdal functions

2013-01-17 Thread skampus
thank you for you reply, salvatore (as usual!) File C:/Documents and Settings/11186CS/.qgis//python/plugins\GdalTools\GdalTools.py 11886cs is my username. i don't have any other problem related to this path. it looks like you are using a old version of the plugin that line doesn't exist in

Re: [Qgis-user] strange errors of gdal functions

2013-01-17 Thread Salvatore Larosa
Hi, 2013/1/17 skampus stefano.cam...@regione.piemonte.it thank you for you reply, salvatore (as usual!) File C:/Documents and Settings/11186CS/.qgis//python/plugins\GdalTools\GdalTools.py 11886cs is my username. i don't have any other problem related to this path. the plugin is a

Re: [Qgis-user] Is there a way to calculate a devision in Sextante Field Calculator for QGIS 1.8?

2013-01-17 Thread Anita Graser
You were right. It's a division by zero problem and there is no way to tell field calculator to ignore that error. Thanks for the pointers Victor! Best wishes, Anita On Thu, Jan 17, 2013 at 11:01 AM, Anita Graser anitagra...@gmx.at wrote: Thanks, there are indeed features with a 0 value. But

Re: [Qgis-user] Use excel spreadsheets for join to vector data

2013-01-17 Thread Alister Hood
Date: Thu, 17 Jan 2013 00:50:18 -0800 (PST) From: Pietro Rossin pieri...@gmail.com To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Use excel spreadsheets for join to vector data Message-ID: 1358412618272-5028049.p...@n6.nabble.com Content-Type: text/plain; charset=us-ascii  

Re: [Qgis-user] Use excel spreadsheets for join to vector data

2013-01-17 Thread Andreas Neumann
Good to hear. I also think that good support for Spreadsheet data files is important - both ods and xls. Andreas On 1/17/13 7:48 PM, Alister Hood wrote: Date: Thu, 17 Jan 2013 00:50:18 -0800 (PST) From: Pietro Rossin pieri...@gmail.com To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user]

Re: [Qgis-user] Point2One plugin error

2013-01-17 Thread Goyo
Hi Paulo. This is triggered by the changes in the GQIS API. I'll update the plugin to work with the new API as soon as possible. Goyo 2013/1/15 Paulo van Breugel p.vanbreu...@gmail.com: Hi, when trying to use the Point2One plugin, I am getting the error shown below. This is on QGIS 1.9 (on

Re: [Qgis-user] Point2One plugin error

2013-01-17 Thread Paolo Cavallini
Il 18/01/2013 00:21, Goyo ha scritto: Hi Paulo. This is triggered by the changes in the GQIS API. I'll update the plugin to work with the new API as soon as possible. Hi Goyo, thanks for this. AFAICT, you did not yet migrate your plugin to plugins.qgis.org: could you please do it, and add a