[GRASS-dev] [GRASS GIS] #3033: Cairo and PS drivers display only one raster or vector for SVG and PS

GRASS GIS trac at osgeo.org
Mon May 9 19:16:00 PDT 2016


#3033: Cairo and PS drivers display only one raster or vector for SVG and PS
-------------------------------------------------+-------------------------
 Reporter:  wenzeslaus                           |      Owner:  grass-dev@…
     Type:  defect                               |     Status:  new
 Priority:  major                                |  Milestone:  7.2.0
Component:  Display                              |    Version:  svn-trunk
 Keywords:  d.mon, cairo, ps, SVG, vector        |        CPU:  Unspecified
  graphics                                       |
 Platform:  Unspecified                          |
-------------------------------------------------+-------------------------
 Running the following creates a image with elevation raster and roadsmajor
 vector on top of it:

 {{{
 g.region raster=elevation
 d.mon cairo o=o.png
 d.rast elevation
 d.vect roadsmajor
 d.mon stop=cairo
 }}}

 However, using Cairo driver with SVG output, you get only the vector which
 is rendered last:

 {{{
 g.region raster=elevation
 d.mon cairo o=o.svg
 d.rast elevation
 d.vect roadsmajor
 d.mon stop=cairo
 }}}

 Same applies for the PS driver:

 {{{
 g.region raster=elevation
 d.mon ps o=o.ps
 d.rast elevation
 d.vect roadsmajor
 d.mon stop=ps
 }}}

 It seems that there is no way in GRASS to get full vector graphics output
 with display monitors.

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



More information about the grass-dev mailing list