[GRASS-dev] [GRASS GIS] #3334: d.legend.vect - symbols missing

#3334: d.legend.vect - symbols missing
-------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
When trying to save a map with legend as png file, the legend symbols are
missing. E.g., I have a vector map with a column RGBcolor with the RGB
colors, and a legend file 'legendfile' (see attached):

{{{
d.mon start=png width=600 height=450 output=mymap.png
d.frame -c frame=map1 at="0,100,30,100"
d.vect map=WakeMunicp rgb_column=RGBcolor
d.frame -c frame=map2 at="0,100,0,29"
d.legend.vect -b at="2,95" title=Municipals input=legendfile
d.mon stop=png
}}}

The legend symbols are showing, on the other hand, when sending the map to
wx monitor.

{{{
d.mon start=wx0
d.frame -c frame=map1 at="0,100,30,100"
d.vect map=WakeMunicp rgb_column=RGBcolor
d.frame -c frame=map2 at="0,100,0,29"
d.legend.vect -b at="2,95" title=Municipals input=tmplegendfile
d.mon stop=png
}}}

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

#3334: d.legend.vect - symbols missing
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by pvanbosgeo):

* Attachment "Wake_Municp.pack" added.

example vector layer with RGB column

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

#3334: d.legend.vect - symbols missing
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by pvanbosgeo):

* Attachment "legendfile" added.

legend file for Wake_municp

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

#3334: d.legend.vect - symbols missing
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by annakrat):

It didn't work with PNG driver, r70897 seems to fix this, please test.

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

#3334: d.legend.vect - symbols missing
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by pvanbosgeo):

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

Comment:

It works, thanks! Closing this ticket as fixed.

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

#3334: d.legend.vect - symbols missing
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

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

Comment:

Ticket should be closed when backport is done.

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

#3334: d.legend.vect - symbols missing
--------------------------+-------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by annakrat):

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

Comment:

Done in r70899.

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