[GRASS-dev] Re: [GRASS GIS] #1453: ps.map: various enhancements

GRASS GIS trac at osgeo.org
Mon Sep 26 19:42:40 EDT 2011


#1453: ps.map: various enhancements
-------------------------+--------------------------------------------------
 Reporter:  mmetz        |       Owner:  hamish   
     Type:  enhancement  |      Status:  assigned 
 Priority:  normal       |   Milestone:  7.0.0    
Component:  Ps.map       |     Version:  svn-trunk
 Keywords:               |    Platform:  All      
      Cpu:  All          |  
-------------------------+--------------------------------------------------

Comment(by hamish):

 Replying to [comment:6 cmbarton]:
 > Is there any way to have the order in which the command sections are
 read affect
 > the order in which they are rendered? That is, can it be set so that if
 the
 > vpoints section comes after the grid section, vpoints are on top, but if
 grid
 > comes after vpoints the grid is on top?

 not really. sort-by-order already works for a collection of vector maps,
 and for a collection of line/rectangle/point instructions. but not for the
 main the stack order (raster map on the bottom, grid in the middle,
 annotations on top) which is set here:
  source:grass/trunk/ps/ps.map/ps_map.c

 if we've done everything right, hopefully it will just do the right thing
 and people will simply not have any need or desire to subvert the default
 ordering. or at least then we then see where the real demand is, not just
 demand to work around what is actually a deficiency. (so identify and fix
 the deficiency instead of taking the cop-out route and creating a 747
 cockpit full of controls to allow the user work around all our bad default
 choices)


 > Also, can the grid color be given an alpha value so that it could be
 > semi-transparent when it overlays things?

 PostScript doesn't support that, only newer PDF (ver 1.4+ ?) and then
 that's only for area vector fill color. Suggested approach is to set the
 grid width to 0.25-0.5 or so. (test with your printer, if you make it too
 thin it might not show up at all)


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1453#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list