Opened 7 years ago

Closed 7 years ago

#3334 closed defect (fixed)

d.legend.vect - symbols missing

Reported by: pvanbosgeo Owned by: grass-dev@…
Priority: normal Milestone: 7.2.1
Component: Default Version: unspecified
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

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

Attachments (2)

Wake_Municp.pack (184.1 KB ) - added by pvanbosgeo 7 years ago.
example vector layer with RGB column
legendfile (705 bytes ) - added by pvanbosgeo 7 years ago.
legend file for Wake_municp

Download all attachments as: .zip

Change History (6)

by pvanbosgeo, 7 years ago

Attachment: Wake_Municp.pack added

example vector layer with RGB column

by pvanbosgeo, 7 years ago

Attachment: legendfile added

legend file for Wake_municp

comment:1 by annakrat, 7 years ago

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

comment:2 by pvanbosgeo, 7 years ago

Resolution: fixed
Status: newclosed

It works, thanks! Closing this ticket as fixed.

comment:3 by martinl, 7 years ago

Resolution: fixed
Status: closedreopened

Ticket should be closed when backport is done.

comment:4 by annakrat, 7 years ago

Resolution: fixed
Status: reopenedclosed

Done in r70899.

Note: See TracTickets for help on using tickets.