[GRASS-dev] [GRASS GIS] #2409: last call for options keys consolidation
GRASS GIS
trac at osgeo.org
Thu Dec 25 04:13:41 PST 2014
#2409: last call for options keys consolidation
----------------------------------+-----------------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: task | Status: new
Priority: blocker | Milestone: 7.0.0
Component: Default | Version: unspecified
Keywords: standardized options | Platform: Unspecified
Cpu: Unspecified |
----------------------------------+-----------------------------------------
Comment(by martinl):
Replying to [comment:171 martinl]:
> cool! It open doors to rename options line `n,s,e,w` to
`north,south,east,west` in `g.region`. The shorted options will continue
to work...
sorry, I was wrong, attempt
{{{
north Value for the northern edge
south Value for the southern edge
east Value for the eastern edge
west Value for the western edge
top Value for the top edge
bottom Value for the bottom edge
rows Number of rows in the new region
cols Number of columns in the new region
resolution 2D grid resolution (north-south and east-west)
resolution_3d 3D grid resolution (north-south, east-west and top-
bottom)
ns_resolution North-south 2D grid resolution
ew_resolution East-west 2D grid resolution
tb_resolution Top-bottom 3D grid resolution
}}}
Command
{{{
g.region n=1 s=0 e=1 w=0 t=1 b=0 res=1 res3=1 nsres=1 ewres=1 tbres=1
}}}
fails with
{{{
ERROR: g.region: Sorry, <n=> is ambiguous
ERROR: Option <north=> matches
ERROR: Option <ns_resolution=> matches
ERROR: g.region: Sorry, <s=> is ambiguous
ERROR: Option <south=> matches
ERROR: Option <save=> matches
ERROR: g.region: Sorry, <e=> is ambiguous
ERROR: Option <east=> matches
ERROR: Option <ew_resolution=> matches
ERROR: g.region: Sorry, <t=> is ambiguous
ERROR: Option <top=> matches
ERROR: Option <tb_resolution=> matches
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2409#comment:172>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list