[GRASS-dev] [GRASS GIS] #1442: GRASS 7: d.grid layout suboptimal

#1442: GRASS 7: d.grid layout suboptimal
---------------------+------------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------
d.grid latitudes are poorly drawn, seen screenshot.

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

#1442: GRASS 7: d.grid layout suboptimal
---------------------+------------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------
Description changed by neteler:

Old description:

d.grid latitudes are poorly drawn, seen screenshot.

New description:

d.grid latitudes are poorly drawn, seen screenshot.
{{{
# in latlong
g.region n=90 s=-90 w=-180 e=180
d.mon wx0
d.grid 10
}}}

--

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

#1442: GRASS 7: d.grid layout suboptimal
---------------------+------------------------------------------------------
Reporter: neteler | Owner: hamish
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: d.grid | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------
Changes (by hamish):

* cc: grass-dev@… (added)
  * keywords: => d.grid
  * status: new => assigned
  * owner: grass-dev@… => hamish

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

#1442: GRASS 7: d.grid layout suboptimal
---------------------+------------------------------------------------------
Reporter: neteler | Owner: hamish
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: d.grid | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------

Comment(by hamish):

Hi,

is this still the case since the last round of d.grid text placement bug
fixes?

Hamish

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

#1442: GRASS 7: d.grid layout suboptimal
---------------------+------------------------------------------------------
Reporter: neteler | Owner: hamish
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: d.grid | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------

Comment(by neteler):

Replying to [comment:3 hamish]:
> is this still the case since the last round of d.grid text placement bug
fixes?

Yes, looks as before.

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

#1442: GRASS 7: d.grid layout suboptimal
---------------------+------------------------------------------------------
Reporter: neteler | Owner: hamish
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: d.grid | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------

Comment(by hamish):

ok, as per ticket subject this is only an issue in trunk, in 6.x all is
ok.

Hamish

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

#1442: GRASS 7: d.grid layout suboptimal
---------------------+------------------------------------------------------
Reporter: neteler | Owner: hamish
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: d.grid | Platform: Linux
      Cpu: x86-64 |
---------------------+------------------------------------------------------

Comment(by hamish):

mostly fixed in trunk with r57714.

remaining issues:

  * there's some code in plot.c and plotborder.c to pull back the east and
southern borders by 1 display pixel, but it's not working right, sometimes
(~50%) they are off the edge of the window. I presume it's another +0.5
pixel thing and had a try at fixing it, but no luck. (grid lines too, but
if present the border hides those sins)

  * geogrid (-g) lines are not clipped to frame (at least with the lines of
longitude crossing the western and northern region border). How to make
D_line_abs() clipped by the region box? (plot.c line 288)

also it would be nice if latitude and northing text which would cross or
exceed the region frame would be clipped to it, or not rendered at all.

Hamish

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

On Tue, Sep 17, 2013 at 4:17 AM, GRASS GIS <trac@osgeo.org> wrote:

mostly fixed in trunk with r57714.

Much better, thanks!

ciao
Markus