[GRASS-dev] Re: [GRASS GIS] #571: v.db.addcol: fails if path
contains spaces
GRASS GIS
trac at osgeo.org
Tue Apr 28 05:05:37 EDT 2009
#571: v.db.addcol: fails if path contains spaces
--------------------------+-------------------------------------------------
Reporter: pcav | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by neteler):
You didn not specify the operating system.
On Linux, I cannot reproduce the problem:
{{{
GRASS 6.5.svn (nc_spm_08):~ > g.copy vect=railroads,myrailroads --o
Copy vector <railroads at PERMANENT> to current mapset as <myrailroads>
GRASS 6.5.svn (nc_spm_08):~ > v.db.addcol myrailroads col="test integer"
GRASS 6.5.svn (nc_spm_08):~ > v.info -c myrailroads
Displaying column types/names for database connection of layer 1:
INTEGER|cat
INTEGER|OBJECTID
INTEGER|FNODE_
INTEGER|TNODE_
INTEGER|LPOLY_
INTEGER|RPOLY_
DOUBLE PRECISION|LENGTH
INTEGER|RR24_100_
INTEGER|RR24_100_I
INTEGER|MAJOR1
INTEGER|MINOR1
INTEGER|SCALE
INTEGER|test
GRASS 6.5.svn (nc_spm_08):~ > v.db.connect -p myrailroads
Vector map <myrailroads at neteler> is connected by:
layer <1> table <myrailroads> in database </home/neteler/grass
data/nc_spm_08/neteler/dbf/> through driver <dbf> with key <cat>
}}}
The v.db.addcol code is identical to 6.4.0svn. Also the DBF driver is
identical.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/571#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list