[GRASS-dev] Re: [GRASS GIS] #155: ps.map: the "M" highlight problem

GRASS GIS trac at osgeo.org
Sun May 4 03:51:33 EDT 2008


#155: ps.map: the "M" highlight problem
----------------------+-----------------------------------------------------
  Reporter:  perk     |       Owner:  hamish                      
      Type:  defect   |      Status:  assigned                    
  Priority:  minor    |   Milestone:  6.4.0                       
 Component:  default  |     Version:  svn-trunk                   
Resolution:           |    Keywords:  ps.map highlight text labels
----------------------+-----------------------------------------------------
Changes (by hamish):

  * status:  new => assigned
  * owner:  grass-dev at lists.osgeo.org => hamish
 * cc: grass-dev at lists.osgeo.org (added)

Comment:

 nice to finally see a solution for this, thanks.


 before applying the patch I would like to ask about possible side effects
 -- does the "currentlinejoin 1 setlinejoin stroke setlinejoin" part need
 to be swiched off after drawing the labels, or will it be self contained?

 could a similar technique be used to connect .eps pattern tiles?
 eg broken lines:  http://grass.osgeo.org/wiki/Psmap_flooding_example


 you might also see that d.labels does not do very well with larger values
 for the highlight width. In that case I guess the solution is to also
 smear the color using the "knight's move" or similar, not just the 8
 cardinal+ordinal directions.


 > I've attached a patch for ps/ps.map/prolog.ps. It is marked as a binary
 file
 > for some reason, so I was not able to do "svn diff".

 {{{
 $ svn proplist prolog.ps
 Properties on 'prolog.ps':
   svn:mime-type
 $ svn propget svn:mime-type prolog.ps
 application/postscript
 $ svn diff prolog.ps
 Index: prolog.ps
 ===================================================================
 Cannot display: file marked as a binary type.
 svn:mime-type = application/postscript
 }}}

 svn bug? (PostScript is ASCII)


 fwiw, trac does nice markup when you click on the .diff file.


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/155#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list