[GRASS-dev] [GRASS GIS] #1226: Grass should check and warn if g.region points to a zero area calculating range

#1226: Grass should check and warn if g.region points to a zero area calculating
range
-------------------------+--------------------------------------------------
Reporter: vesnikos | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.1
Component: Default | Version: unspecified
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Grass doesn't worn are logical - eg doing raster calculations with-in a
zero area region, although valid doesn't have any sense.

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

#1226: Grass should check and warn if g.region points to a zero area calculating
range
-------------------------+--------------------------------------------------
Reporter: vesnikos | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.1
Component: Default | Version: unspecified
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

Please provide an example.

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

#1226: Grass should check and warn if g.region points to a zero area calculating
range
-------------------------+--------------------------------------------------
Reporter: vesnikos | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.1
Component: Default | Version: unspecified
Keywords: g.region | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by hamish):

  * keywords: => g.region

Comment:

I'm not able to reproduce the problem, how do you create a 0-area region?
(without manually editing the WIND file)

{{{
g.region w=0 e=0 n=0 s=0
ERROR: Invalid region: North must be north of South
}}}

?,
Hamish

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