[GRASS-dev] Re: [GRASS GIS] #22: Grass r.out.mat 64bit Matlab reading problem

GRASS GIS trac at osgeo.org
Fri Apr 4 09:34:35 EDT 2008


#22: Grass r.out.mat 64bit Matlab reading problem
----------------------+-----------------------------------------------------
  Reporter:  alexice  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  minor    |   Milestone:  6.3.0                    
 Component:  default  |     Version:  6.2.3                    
Resolution:           |    Keywords:                           
----------------------+-----------------------------------------------------
Comment (by glynn):

 Replying to [comment:6 hamish]:

 > > The correct solution is to explicitly [de]serialise values rather
 > > than reading/writing the in-memory representation directly from/to
 > > files.
 >
 > If anyone wants to write a patch, feel free.

 For now, I've simply replaced "long" with "int", as the latter will be 32
 bits on nearly all systems.

 That should fix the 64-bit problems, but it won't do anything about byte
 order.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/22#comment:8>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list