Details Ticket 2657


Comment | Reply | Take | Resolve


Serial Number 2657
Subject table names in v.in.ogr
Area grass6
Queue grass
Requestors ari.jolma@hut.fi
Owner none
Status open
Last User Contact Mon Sep 5 10:22:05 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Sep 5 10:22:05 2005 (3 yr ago)
Created Tue Oct 12 15:20:14 2004 (4 yr ago)

Transaction History Ticket 2657


Tue, Oct 12 2004 15:20:14    Request created by guest  
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';

Tue, Oct 12 2004 18:34:01    Mail sent by blazek@itc.it  
Return-Path <blazek@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Message-Id <200410121633.i9CGXqA30150@janacek.itc.it.>
Content-Type text/plain; charset="iso-8859-1"
From Radim Blazek <blazek@itc.it>
To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2657] (grass) table names in v.in.ogr
Date Tue, 12 Oct 2004 18:33:52 +0200
X-Mailer KMail [version 1.3.2]
References <20041012132014.9F6FD102BFF@lists.intevation.de>
In-Reply-To <20041012132014.9F6FD102BFF@lists.intevation.de>
MIME-Version 1.0
Content-Transfer-Encoding 8bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
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@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Tue, Oct 12 2004 21:16:22    Mail sent by ari.jolma@hut.fi  
Return-Path <ari.jolma@hut.fi>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <416C2D81.6060006@hut.fi>
Date Tue, 12 Oct 2004 22:16:17 +0300
From Ari Jolma <ari.jolma@hut.fi>
User-Agent Mozilla Thunderbird 0.8 (X11/20040923)
X-Accept-Language en-us, en
MIME-Version 1.0
To Radim Blazek via RT <grass-bugs@intevation.de>
Subject Re: [bug #2657] (grass) table names in v.in.ogr
References <20041012163401.D4CF1102BF3@lists.intevation.de>
In-Reply-To <20041012163401.D4CF1102BF3@lists.intevation.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Radim Blazek via RT wrote:

>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.
>  
>

This solution was used by ArcView's "export as a shapefile" method,
which of course does not make it necessarily good ;-)

I agree that this is a hack, I used it to make my automatic conversion
of 100+ arc coverages to work.

Regards,

Ari

>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@grass.itc.it
>>http://grass.itc.it/mailman/listinfo/grass5
>>    
>>
>
>
>--- Headers Follow ---
>
>>From blazek@itc.it  Tue Oct 12 18:34:01 2004
>Return-Path: <blazek@itc.it>
>Delivered-To: grass-bugs@lists.intevation.de
>Received: from mail.intevation.de (aktaia [212.95.126.10])
>	by lists.intevation.de (Postfix) with ESMTP id AB67B102BF2
>	for <grass-bugs@lists.intevation.de>; Tue, 12 Oct 2004 18:34:01 +0200 (CEST)
>Received: from localhost (localhost [127.0.0.1])
>	by mail.intevation.de (Postfix) with ESMTP id 28C553724D
>	for <grass-bugs@lists.intevation.de>; Tue, 12 Oct 2004 18:34:01 +0200 (CEST)
>Received: from mail.itc.it (ns.itc.it [217.77.80.3])
>	by mail.intevation.de (Postfix) with ESMTP id 25BB63724C
>	for <grass-bugs@intevation.de>; Tue, 12 Oct 2004 18:33:59 +0200 (CEST)
>Received: from ntvir.itc.it ([10.0.20.5])
>	by mail.itc.it (8.12.11/8.12.11) with SMTP id i9CGXwLX014606
>	for <grass-bugs@intevation.de>; Tue, 12 Oct 2004 18:33:58 +0200
>Received: from orchestra.itc.it ([10.0.10.11])
> by ntvir.itc.it (SMSSMTP 4.0.0.59) with SMTP id M2004101218335803493
> for <grass-bugs@intevation.de>; Tue, 12 Oct 2004 18:33:58 +0200
>Received: from janacek.itc.it. (janacek [10.40.0.140])
>	by orchestra.itc.it (8.12.11/8.12.11) with ESMTP id i9CGXrtA013964;
>	Tue, 12 Oct 2004 18:33:53 +0200
>Received: from localhost (localhost [[UNIX: localhost]])
>	by janacek.itc.it. (8.11.6/8.11.2) id i9CGXqA30150;
>	Tue, 12 Oct 2004 18:33:52 +0200
>Message-Id: <200410121633.i9CGXqA30150@janacek.itc.it.>
>Content-Type: text/plain;
>  charset="iso-8859-1"
>From: Radim Blazek <blazek@itc.it>
>To: Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
>Subject: Re: [GRASS5] [bug #2657] (grass) table names in v.in.ogr
>Date: Tue, 12 Oct 2004 18:33:52 +0200
>X-Mailer: KMail [version 1.3.2]
>References: <20041012132014.9F6FD102BFF@lists.intevation.de>
>In-Reply-To: <20041012132014.9F6FD102BFF@lists.intevation.de>
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
>X-Spam-Level: 
>
>-------------------------------------------- Managed by Request Tracker
>  
>


Fri, Sep 2 2005 17:29:36    Mail sent by msieczka  
Radim,

Can you please tell us what is the status of this problem?

Maciek
Fri, Sep 2 2005 18:31:52    Area changed to grass6 by mneteler  
Mon, Sep 5 2005 10:22:05    Mail sent by radim.blazek@gmail.com  
Return-Path <radim.blazek@gmail.com>
Delivered-To grass-bugs@lists.intevation.de
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kG9FCEIKkc6W9DLM7igxv5hSk2PoTzIXrNX0LntTt8F2Ofs5bPHRjDnVv2KCQhE7Yi23RCKZ0InwsVWMRk7X0DE3CI7Ii2e0oxUhBUROJb7p+cYm8EXEOoaKzTAttVUjvpckQ/hjA5JiI3jzl3m/GKMDm0sCX733bF67UckD6U0=
Message-ID <340505ef05090501221ada7776@mail.gmail.com>
Date Mon, 5 Sep 2005 10:22:02 +0200
From Radim Blazek <radim.blazek@gmail.com>
To Maciek Sieczka via RT <grass-bugs@intevation.de>
Subject Re: [bug #2657] (grass) table names in v.in.ogr
Cc ari.jolma@hut.fi, grass5@grass.itc.it, blazek@itc.it
In-Reply-To <20050902152936.7888D1006C6@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
References <20050902152936.7888D1006C6@lists.intevation.de>
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On 9/2/05, Maciek Sieczka via RT <grass-bugs@intevation.de> wrote:
> Radim,
>=20
> Can you please tell us what is the status of this problem?
>=20
> Maciek

I don't know, probably still the same.

Radim


Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request