[GRASS-dev] [GRASS GIS] #1834: backport r47878 (set field width for string columns in v.out.ogr) to grass6 ?

GRASS GIS trac at osgeo.org
Fri Mar 29 05:54:19 PDT 2013


#1834: backport r47878 (set field width for string columns in v.out.ogr) to grass6
?
-------------------------+--------------------------------------------------
 Reporter:  mlennert     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Vector       |     Version:  svn-releasebranch64      
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mlennert):

 Replying to [comment:1 neteler]:
 > The real change seem to be these two lines:
 > {{{
 >
 >       630                      if (ogr_ftype == OFTString && colwidth >
 0)
 >       631                          OGR_Fld_SetWidth(Ogr_field,
 colwidth);
 > }}}
 >
 > I cannot see anything dangerous here.

 The attached patch seems to do the job for me. Potential candidate for
 bugfix in grass64 release, or is it too late ? I find this a quite
 annoying bug.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1834#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list