[DebianGIS-dev] Bug#434897: v.db.update with 6.2.2 patch

Didrik Pinte dpinte at itae.be
Wed Aug 8 18:17:25 UTC 2007


On Sun, 2007-08-05 at 11:06 +0200, Markus Neteler wrote:
> Hi Didrik,
> 
> I have seen your bug report.
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434897
> 
> Find attached a patch, could you try and report back?
> thanks
> Markus

Hi Markus,

It seems i get the same error :

------------------------------------------------------------------------
GRASS 6.2.2 (ALMERIA):~/projets/ucl/alert/alertprog/grass > v.db.addcol
map=base_cells columns='pprivate DOUBLE PRECISION'
GRASS 6.2.2 (ALMERIA):~/projets/ucl/alert/alertprog/grass > v.db.update
map=base_cells column=pprivate value="b_pump_priva * area_new /
b_area_tot"
Sorry, <-> is not a valid flag
Sorry, <q> is not a valid flag

Description:
 Outputs basic information about a user-specified vector map layer.

Keywords:
 vector

Usage:
 v.info [-hcg] map=name [layer=value]

Flags:
  -h   Print vector history instead of info
  -c   Print types/names of table columns for specified layer instead of
info
  -g   Print vector map region only

Parameters:
    map   Name of input vector map
  layer   Layer number
          default: 1
DBMI-Postgres driver error:
Cannot execute: 
UPDATE base_cells SET pprivate='b_pump_priva * area_new / b_area_tot'

ERROR:  invalid input syntax for type double precision: "b_pump_priva *
area_new / b_area_tot"


ERROR: Error while executing: "UPDATE base_cells SET
pprivate='b_pump_priva
       * area_new / b_area_tot'
       "
------------------------------------------------------------------------

Can I test something else ? I'll be offline during the next three days.

Cheers,

Didrik

-- 
Didrik Pinte <dpinte at itae.be>
Information Technologies for the Agro-Environment
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20070808/dfe8fba2/attachment.pgp 


More information about the Pkg-grass-devel mailing list