#355: ps.map generates invalid postscript when vlegend item does not appear on
map
-------------------------------+--------------------------------------------
Reporter: scottygamm | Owner: [email protected]
Type: defect | Status: new
Priority: minor | Milestone: 6.3.1
Component: default | Version: 6.3.0
Resolution: | Keywords:
Platform: MSWindows CygWin | Cpu: x86-32
-------------------------------+--------------------------------------------
Comment (by neteler):
Replying to [ticket:355 scottygamm]:
On Tue, Nov 4, 2008 at 4:16 PM, Bob Covill <bcovill tekmap ns.ca> wrote:
I encountered the same problem a couple of weeks ago. I was able to get
around it by adding the following to ps_vlegend.c around line 172 ...
{{{
pat_save ( PS.fp, vector.layer[i].pat, pat);
}}}
Insert this line after
{{{
sprintf ( pat, "APATTEPS%d", i);
}}}
to ensure the pattern definition is saved.
Hope this helps.
Bob
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/355#comment:1>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev