Re: [GRASS-dev] [GRASS GIS] #3509: g.region grow with negative number limited because of top and bottom

2018-08-22 Thread GRASS GIS
#3509: g.region grow with negative number limited because of top and bottom
-+-
  Reporter:  wenzeslaus  |  Owner:  grass-dev@…
  Type:  defect  | Status:  closed
  Priority:  minor   |  Milestone:  7.6.0
 Component:  Raster  |Version:  svn-trunk
Resolution:  fixed   |   Keywords:  grow, shrink, g.region, expand
   CPU:  |  computational region, extent, 3D
  Unspecified|   Platform:  Unspecified
-+-
Changes (by mmetz):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Fixed by lucadelu with r72397.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3509: g.region grow with negative number limited because of top and bottom

2018-03-14 Thread GRASS GIS
#3509: g.region grow with negative number limited because of top and bottom
-+-
  Reporter:  wenzeslaus  |  Owner:  grass-dev@…
  Type:  defect  | Status:  new
  Priority:  minor   |  Milestone:  7.6.0
 Component:  Raster  |Version:  svn-trunk
Resolution:  |   Keywords:  grow, shrink, g.region, expand
   CPU:  |  computational region, extent, 3D
  Unspecified|   Platform:  Unspecified
-+-

Comment (by mmetz):

 Replying to [comment:3 wenzeslaus]:
 > What about just ignoring the request for decrease when the minimal range
 is reached? Not sure if that makes sense for X and Y, but it seems OK for
 Z.

 +1

 Introducing yet another flag is IMHO not a good idea, and it is against
 the idea that the `grow` option should apply to all dimensions. I would
 rather add a test for each dimension that the change results in a valid
 region: top must be > bottom, east must be > west, north must be > south.
 For latlon, north must be <= 90 degrees + 0.5 * ns_res, south must be >=
 -90 degrees - 0.5 * ns_res. A warning could be printed if growing in a
 specific dimension would result in an invalid region.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3509: g.region grow with negative number limited because of top and bottom

2018-03-13 Thread GRASS GIS
#3509: g.region grow with negative number limited because of top and bottom
-+-
  Reporter:  wenzeslaus  |  Owner:  grass-dev@…
  Type:  defect  | Status:  new
  Priority:  minor   |  Milestone:  7.6.0
 Component:  Raster  |Version:  svn-trunk
Resolution:  |   Keywords:  grow, shrink, g.region, expand
   CPU:  |  computational region, extent, 3D
  Unspecified|   Platform:  Unspecified
-+-

Comment (by wenzeslaus):

 What about just ignoring the request for decrease when the minimal range
 is reached? Not sure if that makes sense for X and Y, but it seems OK for
 Z.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3509: g.region grow with negative number limited because of top and bottom

2018-03-13 Thread GRASS GIS
#3509: g.region grow with negative number limited because of top and bottom
-+-
  Reporter:  wenzeslaus  |  Owner:  grass-dev@…
  Type:  defect  | Status:  new
  Priority:  minor   |  Milestone:  7.6.0
 Component:  Raster  |Version:  svn-trunk
Resolution:  |   Keywords:  grow, shrink, g.region, expand
   CPU:  |  computational region, extent, 3D
  Unspecified|   Platform:  Unspecified
-+-

Comment (by lucadelu):

 I create this "workaround", I don't think a true fix could exist. It is
 something like if a user decide to set the Top smaller then Bottom.

 The same problem could append with extent

 {{{
 g.region -p raster=elevation
 g.region nsres=13480 ewres=14980 rows=1 cols=1 -p
 g.region -p grow=-1
 ERROR: North must be larger than South
 }}}

 Should we also try to fix something like the error above? Or we should
 just improve the output message?
 I think this is not a bug but a user error or misunderstanding.

 What do you think about the attached patch?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3509: g.region grow with negative number limited because of top and bottom

2018-03-13 Thread GRASS GIS
#3509: g.region grow with negative number limited because of top and bottom
-+-
  Reporter:  wenzeslaus  |  Owner:  grass-dev@…
  Type:  defect  | Status:  new
  Priority:  minor   |  Milestone:  7.6.0
 Component:  Raster  |Version:  svn-trunk
Resolution:  |   Keywords:  grow, shrink, g.region, expand
   CPU:  |  computational region, extent, 3D
  Unspecified|   Platform:  Unspecified
-+-
Changes (by lucadelu):

 * Attachment "gregion.diff" added.

 proposed patch

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3509: g.region grow with negative number limited because of top and bottom

2018-03-02 Thread GRASS GIS
#3509: g.region grow with negative number limited because of top and bottom
-+-
  Reporter:  wenzeslaus  |  Owner:  grass-dev@…
  Type:  defect  | Status:  new
  Priority:  minor   |  Milestone:  7.6.0
 Component:  Raster  |Version:  svn-trunk
Resolution:  |   Keywords:  grow, shrink, g.region, expand
   CPU:  |  computational region, extent, 3D
  Unspecified|   Platform:  Unspecified
-+-
Changes (by neteler):

 * milestone:  7.4.1 => 7.6.0


-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev