[GRASS-dev] Re: [GRASS GIS] #307: v.in.dxf: output name should be
required
GRASS GIS
trac at osgeo.org
Tue Sep 9 20:59:52 EDT 2008
#307: v.in.dxf: output name should be required
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by glynn):
Replying to [comment:1 martinl]:
> Name of output vector map can be determined from input file name, e.g.
file.dxf become 'file' vector map if output parameter is not given.
>
> It was changed in GRASS7 where output is required. I would suggest leave
v.in.dxf in GRASS6 as it is.
Agree re: GRASS6, just for compatibility's sake.
For 7.x, I have removed this kind of "magic" behaviour whenever I have
encountered it. Apart from anything else, it means that the overwrite
check has to be performed manually, rather than letting G_parser() do it.
It's worse for modules which create new maps (import and analysis). E.g.
it might be desired to add an option to the GUI to automatically add
newly-created maps to the map display. Obviously that can only work if the
GUI knows that a map has been created, and what it's called.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/307#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list