Opened 12 years ago

Last modified 8 years ago

#1561 new enhancement

g.region zoom doesn't support several raster

Reported by: lucadelu Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: LibGIS Version: svn-releasebranch64
Keywords: g.region zoom raster Cc:
CPU: All Platform: All

Description

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

Change History (3)

comment:1 by hamish, 12 years ago

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

in reply to:  1 comment:2 by lucadelu, 12 years ago

Keywords: g.region zoom raster added
Type: defectenhancement

Replying to hamish:

change to a wish or close as invalid?

changed to a wish

Hamish

Luca

comment:3 by neteler, 8 years ago

Milestone: 6.4.26.4.6
Note: See TracTickets for help on using tickets.