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

Anita Graser anitagraser at gmx.at
Thu Jan 17 01:12:36 PST 2013


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 <volayaf at gmail.com> wrote:
> 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 see
> if I can reproduce that error. It happens only in the modeler or
> everywhere?
>
>
> Regards
>
> Victor
>
>
> 2013/1/17 Anita Graser <anitagraser at gmx.at>:
>> 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 assume it works in the current dev version.)
>>
>> Thanks
>> Anita
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list