[GRASS-user] new symbol
Hamish
hamish_b at yahoo.com
Mon Aug 24 09:29:55 EDT 2009
Hi,
I added a new symbol in SVN called extra/ping.
example:
http://grass.osgeo.org/grass-wiki/images/Symb-ping.png
another example showing with new d.vect dynamic rotation and size
from DB columns:
http://bambi.otago.ac.nz/hamish/grass/screenshots/ping_test.png
commands to make that:
#spearfish
g.copy vect=bugsites,local_bugs
v.db.addcol local_bugs col='size int'
echo "UPDATE local_bugs SET size = 45 - cat/2" | db.execute
v.colors local_bugs color=bcyr column=size -n
g.region rast=elevation.10m
r.shaded.relief elevation.10m
g.region n=4921680 s=4914130 w=590120 e=597670 res=10
d.mon x0
d.resize w=500 h=500
d.rast elevation.10m.shade
d.vect local_bugs rot_col=cat icon=extra/ping size=25 -a \
size_col=size color=none
d.out.file -c ping_test
other symbols:
http://grass.osgeo.org/wiki/IconSymbols
enjoy,
Hamish
ps- we discovered that the Chlorophyll-a colormap from NASA's ocean
color website looks really good with slope maps. (They are both
rather similar in value & logarithmic distribution)
A slight tweak to have it asymptote to 0.0 instead of 0.1 would get
rid of the white blotches (to adjust see the generation script in the
palettes's svn history log in grass-addons svn).
example:
http://bambi.otago.ac.nz/hamish/grass/screenshots/slope_chlr.png
g.region -g rast=slope
d.mon x1
d.resize w=634 h=478
r.colors slope rules=./grass-addons/raster/r.colors.tools/palettes/palette_chl_etc.gcolors
d.rast slope
More information about the grass-user
mailing list