making icons active
Bill Jackson
jackson at cactus.cecer.army.mil
Fri Oct 15 09:39:54 EDT 1993
Hello,
The few lines below were clipped from a larger script but they should help you
with your inquiry concerning clicking on icons and getting a description.
You will need the original dig files plus the converted sites file. I've used
the same name for both for simplicity.
# ARMY
s.out.ascii -d sites=mil.site | awk '{if($3=="#1"||$3=="#2"||$3=="#3"||$3=="#5"||$3=="#9"||$3=="#38"||$3=="#39"||$3=="#40"||$3=="#41"||$3=="#43"||$3=="#44"||$3=="#48"||$3=="#62"||$3=="#67"||$3=="#75"||$3=="#76"||$3=="#78"||$3=="#80"||$3=="#89"||$3=="#91"||$3=="#92"||$3=="#95"||$3=="#102"||$3=="#103"||$3=="#107"||$3=="#108"||$3=="#110"||$3=="#105"||$3=="#111"||$3=="#119"||$3=="#121"||$3=="#127"||$3=="#116"||$3=="#130") print $0}' | d.icons icon=army color=green size=1
echo "WOULD YOU LIKE A DESCRIPTION OF THE INSTALLATIONS (y/n)?"
read answer
if [ ${answer} = "y" ]
then
d.what.vect map=mil.site
fi
Bill Jackson Email: jackson at cactus.cecer.army.mil
EN Division
USA-CERL
More information about the grass-user
mailing list