[GRASS-user] g.gui.psmap issue

Rich Shepard rshepard at appl-ecosys.com
Fri Nov 9 09:40:49 PST 2018


   Using 7.7.svn (r73654) g.gui.psmap will neither display nor save a .ps
file when a vector map display is constrained to certain attribute table
rows and the select where <column_name> is set to a string.

   This is the script:
# timestamp: 2018-11-09 09:32
# location: willamette_basin
# mapset: mercury
# page orientation: Portrait
# g.region vector=wrb at mercury

maploc 1.280 0.455  5.792 10.057
border y
     width 1
     color black
     end

paper us-letter
     left 0.5
     right 0.5
     bottom 0.5
     top 0.5
     end


vlines fishes at mercury
     type line
     layer 1
     where species = "Bull trout"
     masked n
     color 240:50:10
     width 1.0
     style solid
     linecap butt
     label fishes(mercury)
     lpos 1
     end
vpoints sites at mercury
     type point
     layer 1
     masked n
     color black
     width 1.0
     fcolor 98:86:86
     symbol basic/circle
     size 7
     label sites(mercury)
     lpos 2
     end
vlines wrb_rivers at mercury
     type line
     layer 1
     masked n
     color 51:153:255
     width 1.0
     style solid
     linecap butt
     label wrb_rivers(mercury)
     lpos 3
     end
vareas wrb at mercury
     masked n
     color 0:0:0
     width 1
     fcolor none
     label wrb(mercury)
     lpos 4
     end
scalebar f
     where 2.443 10.241
     length 55.0
     units kilometers
     height 0.1
     segment 4
     numbers 1
     fontsize 10
     background y
     end
eps 2256199 -6736
# north arrow
     epsfile $GISBASE/etc/paint/decorations/n_arrow1_fancy.eps
     scale 0.5
     end
text 2383832 244616 Bull Trout
     font Helvetica
     fontsize 15
     color black
     hcolor none
     border none
     background none
     ref center center
     end
end

   Is there a work-around for this?

TIA,

Rich


More information about the grass-user mailing list