[GRASS-dev] [GRASS GIS] #1561: g.region zoom doesn't support several raster

#1561: g.region zoom doesn't support several raster
----------------------+-----------------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: LibGIS | Version: svn-releasebranch64
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
I try to do "g.region zoom" with two layers but it doesn't work

{{{
g.region
zoom=A2010177_lower.250m_16_days_NDVI,A2010177_upper.250m_16_days_NDVI -ap

Illegal filename. Character <,> not allowed.
ERROR: Raster map
        <A2010177_lower.250m_16_days_NDVI,A2010177_upper.250m_16_days_NDVI>
        not found
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1561&gt;
GRASS GIS <http://grass.osgeo.org>

#1561: g.region zoom doesn't support several raster
----------------------+-----------------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: LibGIS | Version: svn-releasebranch64
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------

Comment(by hamish):

that's because zoom= does not accept multiple maps.

{{{
Usage:
  g.region [-dsplectwmn3bgau] [region=name] [rast=name[,name,...]]
    [rast3d=name] [vect=name[,name,...]] [3dview=name] [n=value] [s=value]
    [e=value] [w=value] [t=value] [b=value] [rows=value] [cols=value]
    [res=value] [res3=value] [nsres=value] [ewres=value] [tbres=value]
    [zoom=name] [align=name] [save=name] [--overwrite] [--verbose]
    [--quiet]
}}}

at least for TYPE_STRING (maybe ok for others) we can't simply have the
parser automatically detect commas and print a warning, as it might be
part of the option's value (e.g. g.message).

change to a wish or close as invalid?

Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1561#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1561: g.region zoom doesn't support several raster
----------------------------------+-----------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.2
Component: LibGIS | Version: svn-releasebranch64
Keywords: g.region zoom raster | Platform: All
      Cpu: All |
----------------------------------+-----------------------------------------
Changes (by lucadelu):

  * keywords: => g.region zoom raster
  * type: defect => enhancement

Comment:

Replying to [comment:1 hamish]:
>
> change to a wish or close as invalid?
>

changed to a wish

>
> Hamish

Luca

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1561#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>