(subject modified since I find it hard to relate this content to QGIS)

Glynn Clements wrote:
> 
> 
> Hamish wrote:
> 
>> > Also, I would be inclined to clean up the above by looping over the
>> > column names i.e.:
>> > 
>> >  (
>> >   for var in n min max range mean stddev variance cf_var sum ; do
>> >   eval val=\${$var}
>> >   if [ $DBFDRIVER -eq 1 ] ; then
>> >    col="`echo ${COLPREFIX}_${var}| cut -b1-10`"
>> >   else
>> >    col="${COLPREFIX}_${var}"
>> >   fi
>> >   echo "UPDATE $VECTOR SET ${col}=${val} WHERE cat=$i;"
>> >  ) | db.execute database=$DB_DATABASE driver=$DB_SQLDRIVER
>> 
>> yes, but in that case you'd have to do something about cf_var:
>> 
>> > echo "UPDATE $VECTOR SET ${COLPREFIX}_cf_var=$coeff_var WHERE cat=$i;"
> 
> Just add:
> 
>       cf_var=$coeff_var
> 
> after r.univar is run.
> 
> -- 
> Glynn Clements <[EMAIL PROTECTED]>
> 

I have seen the changes in CVS. Is the module now (way) faster?
That would be great.

Markus
-- 
View this message in context: 
http://www.nabble.com/QGIS-winGRASS-blank-space-problem-tf3865213.html#a11273304
Sent from the Grass - Dev mailing list archive at Nabble.com.

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to