[GRASS-user] ps.map - eps frame affect/hide border and legend

Dear all,

I'm trying to output a ps file with ps.map (GRASS 6.4.2). Results from
the psmap.def are good, with border, colortable, vlegend, etc..
http://osgeo.codepad.org/NtM3oJy0 (pasted def file)
But when I add an eps frame border, colortable and vlegend disappear.
I changed the order, putting eps before or after the vlegend
instruction, but without successful.

Thanks,

--
Domenico Giusti <dncgst@gnewarchaeology.it>
GPG keyID: 2048R/A3AB7054F6E5D778

Domenico wrote:

I'm trying to output a ps file with ps.map (GRASS 6.4.2). Results from
the psmap.def are good, with border, colortable, vlegend, etc..
http://osgeo.codepad.org/NtM3oJy0 (pasted def file)
But when I add an eps frame border, colortable and vlegend disappear.
I changed the order, putting eps before or after the vlegend
instruction, but without successful.

Hi,

could you post a bug in the trac system? an example made using one of the standard grass datasets (Spearfish or North Carolina) would help a lot too.

is the eps file inside or outside the map frame? sometimes it helps to move it.

the used-added eps file is just copied verbatim within the final output file; it might help to keep it simple or clean with eps2eps first?

did you put a final 'end' after all the ps.map instructions?

thanks,
Hamish

Hi,

The frame is inside the map region.
I cleaned the eps frame with eps2eps. But now I think it is a ps reader
problem:
* with gv no problems with the eps frame (clean and no-clean)
* with evince problems only with the no-clean eps frame. No stderr
differences between clean and no-clean ps, launching evince from the
cli.

Thank you very much!

On gio, 2014-03-06 at 22:06 -0800, Hamish wrote:

Domenico wrote:

> I'm trying to output a ps file with ps.map (GRASS 6.4.2). Results from
> the psmap.def are good, with border, colortable, vlegend, etc..
> http://osgeo.codepad.org/NtM3oJy0 (pasted def file)
> But when I add an eps frame border, colortable and vlegend disappear.
> I changed the order, putting eps before or after the vlegend
> instruction, but without successful.

Hi,

could you post a bug in the trac system? an example made using one of the standard grass datasets (Spearfish or North Carolina) would help a lot too.

is the eps file inside or outside the map frame? sometimes it helps to move it.

the used-added eps file is just copied verbatim within the final output file; it might help to keep it simple or clean with eps2eps first?

did you put a final 'end' after all the ps.map instructions?

thanks,
Hamish

--
Domenico Giusti <dncgst@gnewarchaeology.it>
GPG keyID: 2048R/A3AB7054F6E5D778

Domenico wrote:

The frame is inside the map region.
I cleaned the eps frame with eps2eps. But now I think it is a ps reader
problem:
* with gv no problems with the eps frame (clean and no-clean)
* with evince problems only with the no-clean eps frame. No stderr
differences between clean and no-clean ps, launching evince from the
cli.

as another cleaning step/exercise you might try converting to PDF with ps2pdf and see if the conversion or PDF readers get upset. (see wiki for publish-quality options)

it could be the eps is calling showpage or otherwise causing an end-of-file situation when it is embedded in the main output postscript file?

Thank you very much!

hope it helps.

Hamish