ps.map generates invalid postscript when vlegend item does not appear on map
|Reported by:||scottygamm||Owned by:||hamish|
|Keywords:||Cc:||grass-dev@…, casey.vandenberg@…, bcovill@…|
I have a map control file that generates several (21) vareas with pattern fill and defines label and lpos entries for the legend. As it happens, one of those vareas does not appear on the map area. As a result, the postscript output omits the dictionary entry for that pattern. When vlegend generates the legend output, it attempts to reference the missing pattern definition (of the form APATTEPSnn) and applications that try to render the postscript fail in various ways. Workaround is to omit the vareas causing the problem. I have not included files but can provide them if needed.