[GRASS5] [bug #2657] (grass) table names in v.in.ogr

Radim Blazek blazek at itc.it
Tue Oct 12 12:33:52 EDT 2004


That could result in duplicate column names, 
it is possible to overwrite column names with cnames option.
Automatic modification of column names is welcome, but it should be 
more reliable, I think.

Radim

On Tuesday 12 October 2004 15:20, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2657
> -------------------------------------------------------------------------
>
> Subject: table names in v.in.ogr
>
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.7.0
>
> add this, or something similar, to main.c in v.in.ogr around line 463:
>
> /* table name must begin with a letter */
> if (strchr("0123456789",*Ogr_fieldname))
> 		    *Ogr_fieldname = 'Z';
>
>
>
> -------------------------------------------- Managed by Request Tracker
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list