Opened 7 years ago

Last modified 4 years 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 7 years ago.

Download all attachments as: .zip

Change History (9)

by harrikoo, 7 years ago

Attachment: psmapstdout.diff added

comment:1 by martinl, 7 years ago

Milestone: 7.0.47.0.5

comment:2 by martinl, 6 years ago

Milestone: 7.0.57.3.0

comment:3 by martinl, 6 years ago

Milestone: 7.3.07.4.0

Milestone renamed

comment:4 by neteler, 5 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:5 by neteler, 4 years ago

Milestone: 7.4.17.4.2

comment:6 by martinl, 4 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:7 by martinl, 4 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:8 by martinl, 4 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.