[GRASS5] dbmi Protocol Error with v.db.connect

Radim Blazek blazek at itc.it
Mon Mar 14 03:06:41 EST 2005


Allan Metts wrote:
> Hi everyone,
> 
> This is my first attempt to access the attributes of a shape file, with the shape file existing elsewhere -- and linked using v.external.  Obviously I'm doing something wrong here -- can someone set me straight?
> 
> Thanks in advance!
> 
> Allan Metts
> 
> 
> GRASS 6.0.cvs (gdt_streets):~ > v.external dsn=/airsage/spatial_data/gdt/streets/ layer=moxxxxst output=moxxxxst
> Building topology ...
> Feature: 1150266
> Topology was built.
> Number of nodes     :   769628
> Number of primitives:   1150266
> Number of points    :   0
> Number of lines     :   1150266
> Number of boundaries:   0
> Number of centroids :   0
> Number of areas     :   0
> Number of isles     :   0
> 
> GRASS 6.0.cvs (gdt_streets):~ > v.db.connect -p moxxxxst
> Vector map <moxxxxst> is connected by:
> layer <1> table <moxxxxst> in database </airsage/spatial_data/gdt/streets/> through driver <ogr> with key <FID>
> 
> GRASS 6.0.cvs (gdt_streets):~ > v.db.connect -c moxxxxst
> dbmi: Protocol error (invalid table/column name or unsupported column type)
> ERROR: Cannot open table <moxxxxst>

There was a bug in ogr driver. v.db.connect -c was also buggy. Both fixed.

Radim




More information about the grass-dev mailing list