Opened 4 years ago

Last modified 9 months ago

#2948 new enhancement

ps.map output to stdout

Reported by: harrikoo Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Ps.map Version: svn-releasebranch70
Keywords: stdout Cc:
CPU: Unspecified Platform: Unspecified

Description

It would be nice to have ps.map optionally output to stdout. The attached patch achieves this.

  1. by changing the input and output argument handling to G_open_option_file;
  1. by moving the bounding box to the trailer of the produced postscript file;
  1. and additionally by closing the files using G_close_option_file. This changes moves the closing of output file PS.fp from ps_map() to main() where it is created.
  1. As a result, this removes all seeks from the ps.map.

I'll attach the diff to r67951, but I have idea how to submit this.

Best,

Harri K.

Attachments (1)

psmapstdout.diff (3.0 KB) - added by harrikoo 4 years ago.

Download all attachments as: .zip

Change History (9)

Changed 4 years ago by harrikoo

Attachment: psmapstdout.diff added

comment:1 Changed 4 years ago by martinl

Milestone: 7.0.47.0.5

comment:2 Changed 3 years ago by martinl

Milestone: 7.0.57.3.0

comment:3 Changed 3 years ago by martinl

Milestone: 7.3.07.4.0

Milestone renamed

comment:4 Changed 23 months ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:5 Changed 18 months ago by neteler

Milestone: 7.4.17.4.2

comment:6 Changed 15 months ago by martinl

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:7 Changed 11 months ago by martinl

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:8 Changed 9 months ago by martinl

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.