landam / grass-gis-git-migration-test

0 stars 0 forks source link

ps.map output to stdout #195

Open landam opened 5 years ago

landam commented 5 years ago

Reported by harrikoo on 1 Mar 2016 21:05 UTC 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;

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

  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 https://trac.osgeo.org/grass/changeset/67951, but I have idea how to submit this.

Best,

Harri K.

GRASS GIS version and provenance

svn-releasebranch70

Migrated-From: https://trac.osgeo.org/grass/ticket/2948

landam commented 5 years ago

Attachment from harrikoo on 1 Mar 2016 21:05 UTC

https://trac.osgeo.org/grass/attachment/ticket/2948/psmapstdout.diff

landam commented 5 years ago

Modified by @landam on 12 May 2016 06:37 UTC

landam commented 5 years ago

Modified by @landam on 25 Aug 2016 15:51 UTC

landam commented 5 years ago

Comment by @landam on 27 Aug 2016 13:42 UTC Milestone renamed

landam commented 5 years ago

Comment by neteler on 26 Jan 2018 11:40 UTC Ticket retargeted after milestone closed

landam commented 5 years ago

Modified by neteler on 12 Jun 2018 20:48 UTC

landam commented 5 years ago

Comment by @landam on 25 Sep 2018 16:52 UTC All enhancement tickets should be assigned to 7.6 milestone.

landam commented 5 years ago

Comment by @landam on 25 Jan 2019 21:07 UTC Ticket retargeted after milestone closed