[GRASS-dev] [GRASS GIS] #3726: special characters in psmap scalebar unit

GRASS GIS trac at osgeo.org
Mon Jan 7 06:32:44 PST 2019


#3726: special characters in psmap scalebar unit
--------------------------+---------------------------------
  Reporter:  1266         |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Default      |    Version:  svn-releasebranch76
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by veroandreo):

 To reproduce:

 1. Go to Settings -> Preferences, under Appearance tab, set Language to
 French or Spanish, for example. Save and Exit GRASS.

 2. Start a new GRASS session in NC location and save the following
 instructions in `test.psmap`
 {{{
 # timestamp: 2019-01-07 15:24
 # location: nc_basic_spm_grass7
 # mapset: PERMANENT
 # page orientation: Portrait
 # g.region raster=elevation at PERMANENT nsres=10.0 ewres=10.0

 maploc 1.014 1.295  6.205 5.585
 border y
     width 1
     color black
     end

 paper a4
     left 0.5
     right 0.5
     bottom 1
     top 1
     end

 raster elevation at PERMANENT
 scalebar f
     where 5.916 7.327
     length 5.0
     units kilometers
     height 0.1
     segment 4
     numbers 1
     fontsize 10
     background y
     end
 end
 }}}

 3. Run `ps.map in=test.psmap out=test.ps` or load the instructions file in
 G7:g.gui.psmap and see the preview.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3726#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list