[GRASS-dev] [GRASS GIS] #2025: r.kappa: output file saving error on Windows

GRASS GIS trac at osgeo.org
Thu Jul 11 04:37:01 PDT 2013


#2025: r.kappa: output file saving error on Windows
--------------------------+-------------------------------------------------
  Reporter:  neteler      |       Owner:  grass-dev@…              
      Type:  defect       |      Status:  closed                   
  Priority:  normal       |   Milestone:  6.4.3                    
 Component:  Raster       |     Version:  svn-releasebranch64      
Resolution:  fixed        |    Keywords:  r.kappa                  
  Platform:  MSWindows 7  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------

Comment(by glynn):

 Replying to [comment:7 mmetz]:

 > G_legal_filename() is meant for GRASS data file names (anything in
 GISDASE/$LOCATION_NAME/$MAPSET/<element>/, not for output files located in
 a user-defined folder.

 It's meant for anything which will be a single component of a pathname:
 either an unqualified map name, or a mapset name, or a location name.

 Any characters which have "meaning" to GRASS or to the OS are not "legal"
 in this sense, so it rejects names which contain e.g. "@" (mapset
 separator) or "/" (directory separator).

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



More information about the grass-dev mailing list