[GRASS-dev] [GRASS GIS] #2948: ps.map output to stdout

GRASS GIS trac at osgeo.org
Tue Mar 1 13:05:16 PST 2016

#2948: ps.map output to stdout
 Reporter:  harrikoo     |      Owner:  grass-dev@…
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  7.0.4
Component:  Ps.map       |    Version:  svn-releasebranch70
 Keywords:  stdout       |        CPU:  Unspecified
 Platform:  Unspecified  |
 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

 2. by moving the bounding box to the trailer of the produced postscript

 3. 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.

 4. 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.


 Harri K.

Ticket URL: <https://trac.osgeo.org/grass/ticket/2948>
GRASS GIS <https://grass.osgeo.org>

More information about the grass-dev mailing list