[GRASS-dev] Re: [GRASS GIS] #676: r.watershed: different output map options do not allow for fully qualified map names

GRASS GIS trac at osgeo.org
Tue Jul 7 12:30:39 EDT 2009


#676: r.watershed: different output map options do not allow for fully qualified
map names
-----------------------+----------------------------------------------------
  Reporter:  mlennert  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  normal    |   Milestone:  6.4.0                    
 Component:  Raster    |     Version:  6.4.0 RCs                
Resolution:            |    Keywords:  r.watershed              
  Platform:  Linux     |         Cpu:  Unspecified              
-----------------------+----------------------------------------------------
Comment (by mmetz):

 Replying to [comment:1 hamish]:
 > you may only write to the current mapset. therefore @othermapset is not
 needed for output maps.
 >
 > if it is given, and the value is the current mapset, then perhaps it
 should be quietly ignored. hopefully it could be done at the library
 level. if it can't be handled at the lib level I'd be inclined to ignore
 it rather than add clutter to all raster modules.

 FWIW, Vect_open_new() does that job for vectors, it removes any @mapset
 from fully qualified names. Should Rast_open_new() behave similarly? Then
 it would be handled on library level, raster modules need not be touched.
 And opening new raster maps and new vector maps would be more consistent.

 Markus M

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


More information about the grass-dev mailing list