[GRASS-dev] Re: [GRASS GIS] #548: grass7: v.reclass segfaults on string column

GRASS GIS trac at osgeo.org
Tue Aug 4 02:38:03 EDT 2009


#548: grass7: v.reclass segfaults on string column
--------------------------+-------------------------------------------------
  Reporter:  mlennert     |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  normal       |   Milestone:  7.0.0                    
 Component:  Vector       |     Version:  svn-trunk                
Resolution:               |    Keywords:  v.reclass                
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Changes (by martinl):

 * cc: martinl` (added)
  * keywords:  => v.reclass
  * priority:  major => normal

Comment:

 Replying to [ticket:548 mlennert]:
 > With today's devel7 trunk, v.reclass segfaults when trying to use a
 string column as reclass criterium. Using nc_spm_06 demo data:
 >
 > v.reclass in=boundary_county out=test_recl column=DOT_GROUP_
 >
 > segfaults, whereas
 >
 > v.reclass in=boundary_county out=test_recl2 column=DOT_COUNTY
 >
 > works as expected (DOT_COUNTY is integer).
 >
 > In grass65svn, both commands work as expected.
 >
 > This also obviously makes v.dissolve fail on such columns.

 Works fine with DBF driver. When reclassing data using string column you
 get with SQLite driver know error.

 {{{
 DBMI-SQLite driver error:
 Cannot step:
 SQL logic error or missing database
 }}}

 No segfault here.

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


More information about the grass-dev mailing list