[GRASS-dev] [GRASS GIS] #1939: Add line style option to vareas ps.map

GRASS GIS trac at osgeo.org
Fri Apr 19 09:49:56 PDT 2013


#1939: Add line style option to vareas ps.map
-------------------------+--------------------------------------------------
 Reporter:  voncasec     |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Ps.map       |     Version:  svn-releasebranch64      
 Keywords:  vareas       |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 Goal: Displaying a vector area on a map with a solid (or pattern) fill but
 with a dashed outline (i.e. to give the impression that it is an
 indefinite boundary).

 Example of ps.map statement used to create this look:

 vlines lake[[BR]]
 type boundary[[BR]]
 color blue[[BR]]
 style 1111110000[[BR]]
 label Lakes[[BR]]
 lpos 1[[BR]]
 end

 vareas lake[[BR]]
 color white[[BR]]
 fcolor blue[[BR]]
 label Lakes[[BR]]
 lpos 1[[BR]]
 end

 Problem with this technique:
 The map looks great, you get a solid fill colour with a dashed boundary
 representing the indefinite edges of the water body, but the legend is not
 suitable. The legend representation for the area is a rectangle but a line
 for the boundary, so when the two are combined you have a dashed line
 bisecting an area.

 Possible Solutions: Give the users an option to represent the boundary as
 a rectangle in the legend or give the user an option to display a line
 style for the area feature.

 Ideally, the later option would be chosen as this would allow for the
 desired look with only one ps.map statement as opposed to two (although, I
 think having the choice to display a boundary as a line or a rectangle
 would be nice regardless).

 Example of proposed ps.map statement:[[BR]][[BR]]
 vareas lake[[BR]]
 color blue[[BR]]
 fcolor blue[[BR]]
 style 1111110000[[BR]]
 label Lakes[[BR]]
 end

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1939>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list