[GRASS-dev] Re: [GRASS GIS] #1444: g.parser does not filter for
duplicate output map statements
GRASS GIS
trac at osgeo.org
Wed Sep 7 02:54:40 EDT 2011
#1444: g.parser does not filter for duplicate output map statements
---------------------+------------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone: 6.4.2
Component: LibGIS | Version: 6.4.1
Keywords: parser | Platform: All
Cpu: All |
---------------------+------------------------------------------------------
Changes (by hamish):
* keywords: => parser
Comment:
It would seem that by design (at least in 6.5) if you use a command line
parameter more than once the parser concatenates them together with ',' as
the f.sep.:
{{{
r.series in=roads in=fields out=both method=count
...
r.info -h both
...
r.series input="roads,fields" output="both" method="count"
}}}
if the particular option does not allow multiple="YES", you get an error.
perhaps a way to handle this is for the parser to be more upfront about
scanning for illegal map names &/or if multiple=NO?
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1444#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list