[GRASS-dev] Re: [GRASS GIS] #809: v.db.addtable consistently fails in winGrass

GRASS GIS trac at osgeo.org
Fri Jan 8 06:11:06 EST 2010


#809: v.db.addtable consistently fails in winGrass
------------------------------+---------------------------------------------
  Reporter:  JonBall          |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect           |      Status:  new                      
  Priority:  critical         |   Milestone:  6.4.0                    
 Component:  Vector           |     Version:  svn-releasebranch64      
Resolution:                   |    Keywords:  v.db.addtable, wingrass  
  Platform:  MSWindows Vista  |         Cpu:  x86-64                   
------------------------------+---------------------------------------------
Comment (by hamish):

 I've just attached to this ticket a patch against 6.5 which allows spaces
 in pathnames for hardcoded database paths using G_tokenize().

 please review.

 previously there was behavior in Vect_read_dblinks() which allowed the
 dbln file to only contain the layer number and table name if you'd already
 defined the others in previous layer links.

 I've tried to preserve that, but if the path has spaces I don't think it
 is possible to distinguish between if the last entry is supposed to be the
 driver or the end of the path name. Therefore we lose a tiny bit of
 functionality here, but I don't think anyone knew about or was using that
 trick anyway.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/809#comment:16>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list