<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hey Mark,<br>
<br>
Thanks for the example. This looks promising. I'll play around
with the script and see where it leads me...<br>
<br>
-John<br>
<br>
On 15/08/2014 14:20, Markus Neteler wrote:<br>
</div>
<blockquote
cite="mid:CALFmHhu49nM0ibGXtaM7_wAYVFtHrQ+0_qPN55Q+y8-M-Susqg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hi John,<br>
<br>
On Thu, Aug 14, 2014 at 9:49 PM, Yangos Chalazonitis <<a
moz-do-not-send="true" href="mailto:yhal@dhal.com"
target="_blank">yhal@dhal.com</a>> wrote:<br>
> Hello,<br>
><br>
> I am trying to figure out a way to display more than
one icons/symbols per<br>
> location, representing various local attributes.<br>
><br>
> E.g. I have the coordinates of a village and know that
it has a church, a<br>
> theatre and a factory nearby. Another village might
only have a factory. A<br>
> third might have a theatre and a factory, but no
church.<br>
<br>
I have done something perhaps similar time ago: mapping the
"payload" of ticks (Ixodes ricinus) which could carry none,
one or multiple disease pathogens, be found or not and be
analyzed in the lab or not:<br>
<span style="font-family:courier new,monospace"><br>
box drawing:<br>
- no tick found in sampling site (green)<br>
- tick found but not analyzed in lab: grey (no data)<br>
- no disease found: white (true negative)<br>
- Ba: Babesia (red)<br>
- Bo: Borrelia (blue)<br>
- An: Anaplasma (yellow)<br>
- Ri: Rickettsia (purple)<br>
<br>
Quadrants:<br>
Bo|Ba nw|ne<br>
--+-- --+--<br>
An|Ri sw|se<br>
<br>
Based on disease columns:<br>
n= not investigated or not recorded <-- NA<br>
f= false <- disease absence<br>
t= true <- disease presence<br>
</span><br>
</div>
A bit complex to read perhaps but yet highly compressed.
Attached a map excerpt screenshot which I created with ps.map
and/or d.vect|PNG driver (don't remember, sorry).<br>
<br>
</div>
Then I used something like this (it is years ago but some script
I found back):<br>
<br>
ISIZE=10<br>
d.vect $MAP icon=extra/offbox_ne size=$ISIZE fcol=grey<br>
d.vect $MAP icon=extra/offbox_nw size=$ISIZE fcol=grey<br>
d.vect $MAP icon=extra/offbox_sw size=$ISIZE fcol=grey<br>
d.vect $MAP icon=extra/offbox_se size=$ISIZE fcol=grey<br>
<br>
#DISEASE=babesia<br>
DISEASE=bab_fixed<br>
d.vect $MAP where="$DISEASE = 't'" icon=extra/offbox_ne
size=$ISIZE fcol=red<br>
d.vect $MAP where="$DISEASE = 'f'" icon=extra/offbox_ne
size=$ISIZE fcol=white<br>
d.vect $MAP where="$DISEASE = 'n'" icon=extra/offbox_ne
size=$ISIZE fcol=green<br>
#d.vect $MAP where="$DISEASE = 't'" icon=basic/cross1<br>
<br>
#DISEASE=borrelia<br>
DISEASE=bor_fixed<br>
d.vect $MAP where="$DISEASE = 't'" icon=extra/offbox_nw
size=$ISIZE fcol=blue<br>
d.vect $MAP where="$DISEASE = 'f'" icon=extra/offbox_nw
size=$ISIZE fcol=white<br>
d.vect $MAP where="$DISEASE = 'n'" icon=extra/offbox_nw
size=$ISIZE fcol=green<br>
[...]<br>
<br>
<div>
<div>So, just take it as a hint rather than a copy-paste
example.<br>
<br>
</div>
<div>Markus<br>
</div>
<div>
<span></span><span></span></div>
</div>
</div>
</blockquote>
<br>
</body>
</html>