[GRASS-dev] [GRASS GIS] #635: v.kernel and r.surf.fractal overwriting

GRASS GIS trac at osgeo.org
Wed Oct 17 06:02:19 PDT 2012


#635: v.kernel and r.surf.fractal overwriting
----------------------+-----------------------------------------------------
 Reporter:  pcav      |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  6.4.0                    
Component:  Vector    |     Version:  svn-develbranch6         
 Keywords:  v.kernel  |    Platform:  All                      
      Cpu:  All       |  
----------------------+-----------------------------------------------------

Comment(by mlennert):

 Replying to [comment:1 hamish]:
 > the problem with v.kernel is that the output option is used somehow for
 both raster and vector maps. And since the gisprompt definition can only
 be set to one or the other it is not set at all. In this case the module
 should include its own 'already exists' check and check for --overwrite to
 decide if that will be a fatal error or just a warning.

 Just was confronted to this problem (no check on overwrite) in v.kernel
 (all versions) and found this very old bug report.

 I think the solution is rather that output raster or vector maps should
 become optional with a check that at least one of them is given. Then you
 can use the gisprompt for each type and thus trigger the check.

 Or is there something that counter-indicates such a solution ?

 Moritz

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



More information about the grass-dev mailing list