[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-dev
Subject:    [GRASS-dev] v.db.addtable turns column headers in lower case
From:       Paulo van Breugel <p.vanbreugel () gmail ! com>
Date:       2015-04-29 8:53:11
Message-ID: CAGrkfc+EtUj+zXu5yD7XG+J0DcFho75CMbhM8Or4+KmC5jrxsw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


If I add a new table to a vector layer, column names are always in lower
case, even if defined with capital letters. For example:

{{{v.db.addtable map=test table=test columns="TEST1 INTEGER,TEST2
VARCHAR(25)"}}}

Results in a table with the columns "cat", "test1", "test2". Is this
intentional?

Adding columns to a table withv.db.addcolumn does not show this behavious
(i.e., it will retain capitalization of column headers).

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>If I add a new table to a vector layer, column names \
are always in lower case, even if defined with capital letters. For \
example:<br><br></div>{{{v.db.addtable map=test table=test columns=&quot;TEST1 \
INTEGER,TEST2 VARCHAR(25)&quot;}}}<br><br></div>Results in a table with the columns \
&quot;cat&quot;, &quot;test1&quot;, &quot;test2&quot;. Is this \
intentional?<br><br></div>Adding columns to a table withv.db.addcolumn does not show \
this behavious (i.e., it will retain capitalization of column \
headers).<br><br><br></div>



_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic