[GRASS-dev] Re: [GRASS GIS] #355: ps.map generates invalid
postscript when vlegend item does not appear on map
GRASS GIS
trac at osgeo.org
Wed Nov 5 03:38:55 EST 2008
#355: ps.map generates invalid postscript when vlegend item does not appear on
map
-------------------------------+--------------------------------------------
Reporter: scottygamm | Owner: grass-dev at lists.osgeo.org
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>
More information about the grass-dev
mailing list