Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-10 Thread Glynn Clements
Hamish wrote: text 77% 30% Slope (Degrees) ( and ) need to be quoted like \( and \). see the documentation for the comments instruction, I guess it applies to text as well. PostScript uses () as the beginning/end delimiter for text strings. PostScript recognises balanced

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-10 Thread Hamish
Hamish: ( and ) need to be quoted like \( and \). see the documentation for the comments instruction, I guess it applies to text as well. PostScript uses () as the beginning/end delimiter for text strings. Glynn: PostScript recognises balanced parentheses within strings (making

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-10 Thread Rich Shepard
On Tue, 9 Mar 2010, Dave Kent wrote: I am having a similar, perhaps related problem. I have a raster image overlain by a series of vectors. ps.map fails erratically. If I remove the raster, it works. Dave, Try re-creating the raster map. That fixed the problem for me. Rich

[GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
This has been wasting my time this morning and I'd sure like to learn why. I have two ps.map input scripts called 'flowlinedensity.psmap' and 'slopes.psmap'. They both compile, but when I view the latter I get a ghostscript error box, no colortable, and no points legend in the v.legend area.

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Rich Shepard wrote: I have two ps.map input scripts called 'flowlinedensity.psmap' and 'slopes.psmap'. They both compile, but when I view the latter I get a ghostscript error box, no colortable, and no points legend in the v.legend area. I should mention that of the 5

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Rich Shepard wrote: I should mention that of the 5 maps in the report, the slopes map is the only one that balks at displaying properly. More testing reveals the problem is with the slope raster map. What in that particular map might cause an issue with vlegend? Rich

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Rich Shepard wrote: This has been wasting my time this morning and I'd sure like to learn why. Fixed it. I re-created the slopes map (r.slope.aspect) and that did the trick. No idea what was wrong with the original, but something definitely was. Rich

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Hamish
Rich wrote:   I have two ps.map input scripts called 'flowlinedensity.psmap' and 'slopes.psmap'. They both compile, but when I view the latter I get a ghostscript error box, no colortable, and no points legend in the v.legend area.   Running diff on the two scripts shows only this:

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Rich Shepard
On Tue, 9 Mar 2010, Hamish wrote: text 77% 30% Slope (Degrees) ( and ) need to be quoted like \( and \). Hamish, Actually, they don't. Originally I had the string in quotes and those printed, too. The above prints quite well. As I wrote to the list, I isolated the problem to the base

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Dave Kent
I am having a similar, perhaps related problem. I have a raster image overlain by a series of vectors. ps.map fails erratically. If I remove the raster, it works. If I remove v.legend, it works. (legend only for vector features) If I make one specific item in the legend as -- lpos 0 -- it

Re: [GRASS-user] ps.map: One Script Works, One Doesn't

2010-03-09 Thread Hamish
Dave wrote: I am having a similar, perhaps related problem. If you can make a simplified test case (minimal location and ps.map instruction file) available to me I can have a look. Off-list is fine. The problem appears to be associated with the legend. i have no idea why there is any link