#122: g.region should not duplicate the code of G3d_regionToCellHead ()
---------------------+------------------------------------------------------
 Reporter:  1gray    |       Owner:  [email protected]
     Type:  defect   |      Status:  new                      
 Priority:  trivial  |   Milestone:  6.4.0                    
Component:  default  |     Version:  svn-trunk                
 Keywords:           |  
---------------------+------------------------------------------------------
 Currently, {{{g.region/main.c}}} includes almost the same code that's
 already available as the {{{G3d_regionToCellHead ()}}} function.

 Hence, I suggest the following change:

 {{{
 general/g.region/main.c (main): Use `G3d_regionToCellHead' instead of
 copying the fields directly.
 }}}

 An (untested) patch is attached.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/122>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to