Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2013-09-27 Thread phil_murcia
Antonio, Thanks very much for all the help! I have it working using a Jython function. I think now I will further research the scripting capabilities of 2.0 - is it worth investing some time in this? thanks, Phil -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Field-Calc

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2013-09-27 Thread Antonio Falciano
Il 27/09/2013 10:23, Antonio Falciano ha scritto: > Il 27/09/2013 10:18, Antonio Falciano ha scritto: >> Il 27/09/2013 09:43, phil_murcia ha scritto: >>> Hi Antonio, >>> >>> Thanks so much for the advice. It seems once you get to grips with the >>> Jython functions you gain a lot of capabilities. H

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2013-09-27 Thread Antonio Falciano
Il 27/09/2013 10:18, Antonio Falciano ha scritto: > Il 27/09/2013 09:43, phil_murcia ha scritto: >> Hi Antonio, >> >> Thanks so much for the advice. It seems once you get to grips with the >> Jython functions you gain a lot of capabilities. However I cannot get my >> expression to work, without wan

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2013-09-27 Thread Antonio Falciano
Il 27/09/2013 09:43, phil_murcia ha scritto: Hi Antonio, Thanks so much for the advice. It seems once you get to grips with the Jython functions you gain a lot of capabilities. However I cannot get my expression to work, without wanting to turn this extremely useful thread into a troubleshooting

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2013-09-27 Thread phil_murcia
Hi Antonio, Thanks so much for the advice. It seems once you get to grips with the Jython functions you gain a lot of capabilities. However I cannot get my expression to work, without wanting to turn this extremely useful thread into a troubleshooting discussion, I cannot work out why. I have cre

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2013-09-26 Thread Antonio Falciano
Il 26/09/2013 14:10, phil_murcia ha scritto: > I am trying to create a python expression to insert into the expression > calculator that fills a column for me in the attribute table, but am > struggling to find the correct syntax - or even successfully implement the > simplest of python expressions

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2013-09-26 Thread phil_murcia
I am trying to create a python expression to insert into the expression calculator that fills a column for me in the attribute table, but am struggling to find the correct syntax - or even successfully implement the simplest of python expressions. The table shows the compatibility of Land-use A wit

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-15 Thread Antonio Falciano
Il 15/12/2011 10.34, Nacho Uve ha scritto: > Thanks for sharing this issue on the list! I think scripting is a very > powerful tool for many GIS users. > > I miss very much documentation, manual, tutorials and/or examples for > this topic. Time ago, I tried to use it, but I gave up shortly > therea

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-15 Thread Nacho Uve
2011/12/14 Antonio Falciano > Great, Iacopo! I had not thought this kind of solution. > I'm happy to know that someone likes to use Jython with gvSIG! > A public script repository is missing yet. I hope that it will be very > soon thanks to the new scripting capabilities of gvSIG 2.0. > Thanks f

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-14 Thread Jose Manuel Vivó Arnal ( Chema )
El 14/12/11 11:32, Antonio Falciano escribió: > Il 13/12/2011 10.28, iaborsi ha scritto: >> Hi Antonio, >> thanks a lot! I've tried that: very easy, and it works perfectly! >> I take this opportunity to make an additional question: if in writing >> this Jython function I need additional Modules (ty

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-14 Thread Antonio Falciano
Great, Iacopo! I had not thought this kind of solution. I'm happy to know that someone likes to use Jython with gvSIG! A public script repository is missing yet. I hope that it will be very soon thanks to the new scripting capabilities of gvSIG 2.0. Cheers, Antonio Il 14/12/2011 11.50, iaborsi ha

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-14 Thread iaborsi
SOLVED! It is enough to save the new Module(s) within the following gvSIG path: /bin/gvSIG/extensiones/org.gvsig.scripting/scripts/jython/Lib Of course, the Module has to be Jython compliant. Regards, Iacopo Iacopo Borsi Dipartimento di Matematica U.Dini Università di Firenze. V.le Morgagni 67

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-14 Thread Antonio Falciano
Il 13/12/2011 10.28, iaborsi ha scritto: > Hi Antonio, > thanks a lot! I've tried that: very easy, and it works perfectly! > I take this opportunity to make an additional question: if in writing > this Jython function I need additional Modules (typically an original > group of functions defined by

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-13 Thread iaborsi
Hi Antonio, thanks a lot! I've tried that: very easy, and it works perfectly! I take this opportunity to make an additional question: if in writing this Jython function I need additional Modules (typically an original group of functions defined by myself) which is the right path to save this st

Re: [Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-13 Thread Antonio Falciano
Il 12/12/2011 14.39, iaborsi ha scritto: > Hi, > I'm quite new with gvSIG. > This is my question. > I wish to write a specific "expression" as Python script, to be used > in the Field Calculator (after starting an editing session). > Reading through the Manual, I see that it is possible just saving

[Gvsig_english] Field Calculator: look for an expression saved in a file

2011-12-13 Thread iaborsi
Hi, I'm quite new with gvSIG. This is my question. I wish to write a specific "expression" as Python script, to be used in the Field Calculator (after starting an editing session). Reading through the Manual, I see that it is possible just saving this script in a Python file and uploading it fr