[GRASS-dev] [GRASS GIS] #2409: last call for options keys consolidation

GRASS GIS trac at osgeo.org
Fri Dec 19 12:34:17 PST 2014


#2409: last call for options keys consolidation
----------------------------------+-----------------------------------------
 Reporter:  martinl               |       Owner:  grass-dev@…              
     Type:  task                  |      Status:  new                      
 Priority:  blocker               |   Milestone:  7.0.0                    
Component:  Default               |     Version:  unspecified              
 Keywords:  standardized options  |    Platform:  Unspecified              
      Cpu:  Unspecified           |  
----------------------------------+-----------------------------------------

Comment(by neteler):

 r63624 completed in r63626; r63625 completed in r63627.

 BTW, there are still in lib/python/pygrass/gis/__init__.py, line 27:

 {{{
          'region3d': libgis.G_ELEMENT_REGION3D,
 ...
          'view3d': libgis.G_ELEMENT_3DVIEW}
 }}}

 and

 {{{
 ./lib/manage/option.c:    else if (strcmp(p->key, "region") == 0 ||
 strcmp(p->key, "region3d") == 0)

 ./gui/wxpython/gui_core/gselect.py:
 'windows3d':'region3d',
 ./gui/wxpython/gui_core/gselect.py:
 'region3d':'region3d',
 ./gui/wxpython/gui_core/gselect.py:                       'region3D
 definition':'region3d',
 ./gui/wxpython/gui_core/gselect.py:                       'region3D
 definition files':'region3d',
 }}}

 I suppose that "view3d" can be removed and "region3d" --> "region_3d"?

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



More information about the grass-dev mailing list