#246: can't overwrite vector map if it's name is fully qualified (i.e. contains
@mapset)
----------------------+-----------------------------------------------------
 Reporter:  msieczka  |       Owner:  [email protected]
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  6.4.0                    
Component:  wxGUI     |     Version:  svn-develbranch6         
 Keywords:            |    Platform:  All                      
      Cpu:  All       |  
----------------------+-----------------------------------------------------
 GRASS can't overwrite a vector map output if the output name is given with
 @mapset. This is not strictly a wxGUI issue, but as wxGUI uses a fully
 qulified name for output, it manifests itself there. Examples:

 C module:

 {{{
 v.random [EMAIL PROTECTED] n=1 --o

 Illegal filename. Character <@> not allowed.
 ERROR: <[EMAIL PROTECTED]> is an illegal file name
 }}}

 Shell script:

 {{{
 v.in.geonames in=PL.txt [EMAIL PROTECTED] --o

 WARNING: Vector map <[EMAIL PROTECTED]> already exists and will be
          overwritten
 WARNING: Unable to open directory
          '/home/grassdata/wgs84/PERMANENT/vector/[EMAIL PROTECTED]'
 ERROR: Unable to delete vector map <[EMAIL PROTECTED]>
 }}}

 Note that for raster it works:

 {{{
 v.to.rast in=tmp [EMAIL PROTECTED] use=cat --o

 Converted areas: 0 of 0
 Converted points/lines: 1 of 1
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/246>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to