[GRASS-dev] [GRASS GIS] #167: g.region: reports wrong center longitude and LL bounding box

GRASS GIS trac at osgeo.org
Fri Feb 24 13:55:37 PST 2017


#167: g.region: reports wrong center longitude and LL bounding box
--------------------------+------------------------------
  Reporter:  hamish       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  major        |  Milestone:  6.4.6
 Component:  Default      |    Version:  svn-develbranch6
Resolution:               |   Keywords:  g.region 180
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+------------------------------
Changes (by mmetz):

 * platform:   => Unspecified
 * cpu:   => Unspecified


Comment:

 These calculations can not be performed with longitudes wrapped to [-180,
 180], fixed in trunk r70671.

 `g.region -l` (Print the current region in lat/long using the current
 ellipsoid/datum) prints the corners and now also the center of the current
 region projected to lat/long.

 `g.region -b` (Print the maximum bounding box in lat/long on WGS84) now
 tries to estimate the maximum bounding box based not only on the corners
 but also on the boundaries using the resolution of the current region. The
 result is a more realistic bounding box in lat/long. The reported center
 coordinates are the center coordinates of the lat/long box, not of the
 current window.

 `g.region -n` (Print the convergence angle (degrees CCW). The difference
 between the projection's grid north and true north, measured at the center
 coordinates of the current region.) is now using the center coordinates of
 the current region projected to lat/long.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/167#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list