[GRASS-dev] [GRASS GIS] #2501: r.out.gdal -t creates offset values in raster table for integer grids with values beginning with 1

GRASS GIS trac at osgeo.org
Wed Nov 26 11:24:41 PST 2014


#2501: r.out.gdal -t creates offset values in raster table for integer grids with
values beginning with 1
--------------------------------------------------+-------------------------
 Reporter:  dnewcomb                              |       Owner:  grass-dev@…              
     Type:  defect                                |      Status:  new                      
 Priority:  normal                                |   Milestone:  7.0.0                    
Component:  Default                               |     Version:  svn-releasebranch70      
 Keywords:  r.out.gdal table attribute alignment  |    Platform:  Linux                    
      Cpu:  x86-64                                |  
--------------------------------------------------+-------------------------

Comment(by dnewcomb):

 Sorry, example tables in a more readable format[[BR]]


 Expected Table:[[BR]]

 OID Value MIN MAX CLASS[[BR]]
 1    1     1   1  flat [[BR]]
 2    2     2   2  summit [[BR]]
 3    3     3   3  ridge [[BR]]
 4    4     4   4  shoulder [[BR]]
 5    5     5   5  spur
 [[BR]][[BR]]

 Current table:[[BR]][[BR]]


 OID Value MIN MAX CLASS [[BR]]
 0    0     1   1  flat [[BR]]
 1    1     2   2  summit [[BR]]
 2    2     3   3  ridge [[BR]]
 3    3     4   4  shoulder [[BR]]
 4    4     5   5  spur [[BR]]
 5    5     0   0  ERROR
 [[BR]]
 [[BR]]

 Hacked table:[[BR]][[BR]]

 OID Value MIN MAX CLASS [[BR]]
 0    0    0    0       [[BR]]
 1    1    1    1  flat [[BR]]
 2    2    2    2  summit [[BR]]
 3    3    3    3  ridge [[BR]]
 4    4    4    4  shoulder [[BR]]
 5    5    5    5  spur

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



More information about the grass-dev mailing list