[GRASS-dev] Re: [GRASS GIS] #965: Location wizard: doesn't create MYNAME

GRASS GIS trac at osgeo.org
Wed Dec 29 07:21:16 EST 2010


#965: Location wizard: doesn't create MYNAME
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  martinl            
      Type:  defect  |      Status:  reopened           
  Priority:  normal  |   Milestone:  6.4.1              
 Component:  wxGUI   |     Version:  svn-releasebranch64
Resolution:          |    Keywords:  location wizard    
  Platform:  All     |         Cpu:  All                
---------------------+------------------------------------------------------

Comment(by martinl):

 Replying to [comment:4 hamish]:
 > perhaps wrongly applied, but G_myname() is using GNAME_MAX for the max
 length (256 chars in gis.h) of the description. So besides having the
 newlines removed it should be cut at char 255-1 for the null
 terminator(?). (or better: can python access the #defined values in the C
 include files directly as swig could?)

 question: why need to be description of the location only one-line text
 and moreover limited to the given number of chars. I guess that this
 limitation broken in GRASS7.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/965#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list