<HTML>
<HEAD>
<TITLE>Re: [GRASS5] [bug #3277] (grass) d.vect.thematic fails with DOUBLE</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'>I could add the regex line markers, but have no idea how I can test this in the situation Maciek reports. How do you get a &lt;double precision double precision&gt; column??? Maybe someone else could add these and test it for me???<BR>
<BR>
Michael<BR>
______________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution and Social Change<BR>
Arizona State University<BR>
Tempe, AZ &nbsp;85287-2402<BR>
USA<BR>
<BR>
voice: 480-965-6262; fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a><BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Hamish &lt;hamish_nospam@yahoo.com&gt;<BR>
<B>Date: </B>Mon, 30 May 2005 17:08:06 -0700<BR>
<B>To: </B>Maciek Sieczka via RT &lt;grass-bugs@intevation.de&gt;<BR>
<B>Cc: </B>&lt;grass5@grass.itc.it&gt;, Michael Barton &lt;Michael.Barton@asu.edu&gt;<BR>
<B>Subject: </B>Re: [GRASS5] [bug #3277] (grass) d.vect.thematic fails with DOUBLE<BR>
<BR>
&gt; In Grass CVS 30.05.2005 d.vect.thematic still doesn't accept the <BR>
&gt; DOUBLE data but the error information is different: <BR>
&gt; <BR>
&gt; d.vect.thematic map=gminy_zw_2003_prc_dem@admin type=centroid <BR>
&gt; column=PROD 'themetype=graduated points' themecalc=interval layer=1 <BR>
&gt; icon=basic/circle size=5 maxsize=20 nint=4 colorscheme=blue-red <BR>
&gt; singlecolor=0:250:0 startcolor=250:0:0 endcolor=0:0:250 monitor=x2 -l <BR>
&gt; <BR>
&gt; ERROR: Column &lt;PROD&gt; is of type &lt;double precision <BR>
&gt; double precision&gt; which is not numeric. <BR>
&gt; <BR>
&gt; Double precision is not numeric? (I'm only a simple user.) <BR>
<BR>
<BR>
note the type is: <BR>
<BR>
&lt;double precision <BR>
double precision&gt; <BR>
<BR>
<BR>
I think the problem is thus: <BR>
<BR>
# check column type <BR>
COLTYPE=&quot;`v.info -c $GIS_OPT_map [...] | grep $GIS_OPT_column | [...] <BR>
<BR>
<BR>
If you have a column PROD and another column with &quot;PROD&quot; in it, e.g. <BR>
PROD2, the grep step will pick out both. <BR>
<BR>
Try using the regex start of line and end of line markers to refine the <BR>
search: <BR>
<BR>
... | grep ^&quot;$GIS_OPT_column&quot;$ | ... <BR>
<BR>
<BR>
<BR>
Hamish <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>